Tabular data workflows
Search Tables answers questions from tabular data. Use it to select rows or calculate results from the columns in a table.
Before you start
Prepare a CSV (.csv) file. If your source is an Excel or Google Sheets workbook, export the table or sheet you need as CSV first. Use a header row with clear, distinct column names and check that values in a column use a consistent format. Start with a small table whose totals you can verify in your spreadsheet. Have a workflow ready, or complete First input to output workflow.
Connect the table and question
Connect the question input to Search Tables and then to Output.

The user's question determines which information is requested from the table.
Open Search Tables → CSV File and select Upload CSV. Choose your .csv file and wait for the upload to finish. Confirm the filename appears. If the node already has a file, use Replace when you intend to change its source. In a configuration that says the table is uploaded per user, supply the table through that user input instead.
Check the attached table against your source spreadsheet before asking questions.

Review its columns and values so you know what questions the data can answer.
Ask a question about the data
Ask for an aggregate such as a sum and inspect the result. Use this question pattern, replacing the bracketed terms with actual column names and a value from your table:
Calculate the same total in your spreadsheet and compare it with the returned answer. If the upload fails, check that the file is a CSV; renaming an .xlsx file to .csv does not convert its contents.

Compare the calculation with the relevant rows in the source table.
Use the returned result
Map Search Tables → query_result into Output.

Use the result field for returned data rather than a separate field containing a downloadable file URL.
Ask a question that selects specific rows and run again.

Check that the returned rows satisfy the requested condition in the same source table.
Important behavior
Use query_result for returned rows or calculated answers. Use csv_url for the separate downloadable CSV result.
If the answer is unexpected, check the source table, column names, and question.
Last updated
Was this helpful?

