Skip to main content
Known Participant
Nov 23, 2026 6:20 AM UTC
Question

Extraction of data from Excel

Hi

I am working on version 26.9. I have a structured Excel. My requirement is to extract data from the columns of the excel, PFA sample excel. I am using AI Extraction Skill. The extraction is happening such that (as per the attached excel) the data from Column 1 i.e. Client Name is coming as  Client Abc Client Def Client Ghi; however I want a delimiter between these names so that i can store these values in multiple type CDT field. Can someone please suggest how can i achieve my requirement. FYI, I will always have excel with 1 sheet and fixed columns. Thanks in advance!!

12 replies

shubhama926776
Brainy
Nov 23, 2026 10:27 AM UTC

Use a Spreadsheet Extraction AI skill and prompt it to extract a list of clients. It returns one entry per row, so you don’t need a delimiter. Map each entry’s .value into your CDT with a!forEach(). Alternatively, use readexcelsheet() from the Excel Tools plug-in, which needs no AI.

शुभम्
komalc3Author
Known Participant
Nov 24, 2026 5:06 AM UTC

Hi ​@shubhama926776 

The license of Appian that i am working on is the basic one not advanced or premium capabilities. Thus I have the option of using AI skill without the prompt facility. As you are aware, the basic Extraction gets trained based on the samples uploaded. During training, I cited the rows in each column to the model; however now it is considering all the rows in a column as one text. Can you suggets ways to improve my traning in order to achieve my target.

shubhama926776
Brainy
Nov 25, 2026 4:58 AM UTC

In the basic Document Extraction skill, a Text field returns all labelled rows as one string. Use a Table field instead (e.g. clients with nested clientName, addressLine1, addressLine2, city), label each Excel row as a separate table row, and retrain. You’ll get a list of rows that casts directly to your CDT.

शुभम्
mathieud0001
Genius
Nov 23, 2026 12:07 PM UTC

If the excel is structured, I would recommend using a static method (readexcelsheet) for doing the extraction. Using an AI Skill for this type of work will be more costly in the long run.

komalc3Author
Known Participant
Nov 24, 2026 5:01 AM UTC

Hi ​@mathieud0001 

Appreciate your thought!! I am currently using readexcelsheet(). However since it is a function of plugin thus thought of replacing the function with AI skill.

mathieud0001
Genius
Nov 23, 2026 12:10 PM UTC

My answer never made it so here it is again.

I would recommend using the Excel tools plugin in lieu of an AI Skill for a structured document. An AI Skill will end up being more costly in the end. You should only use for unstructured documents (where you want to extract information from documents that change from time to time).

komalc3Author
Known Participant
Nov 25, 2026 4:31 AM UTC

Thanks ​@mathieud0001 

mikes0011
Brainy
Nov 23, 2026 6:54 PM UTC

Your AI skill can easily be prompted to pass you back a JSON data set (for example, there are probably other ways that work just as easily), i’ve done such a thing for data returned from image file extraction which is definitely harder.

That said, you should follow Mathieu’s advice if at all possible - unless the Excel sheets are going to be formatted inconsistently on a regular basis, you should just use the “Read Excel sheet Paging” function such as is found in the Excel Tools plug-in, and parse the incoming data yourself.

The Expression Guru