Run bulk RAG queries from CSV with Lookio
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when someone submits an n8n form (“Bulk Lookio queries”). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“Bulk Lookio queries”).
- Extract all rows (Extract from File): extracts data from a file
- Aggregate: combines items into one
- Valid Query column? (If): checks a condition and branches into true / false
- Split Out: splits a list into separate items
- Error message (n8n Form): shows the next form page
- Isolate the Query column (Edit Fields (Set)): sets 1 field: Query
- Loop Over Queries (Loop Over Items (Split in Batches)): loops over the items in batches
- Generate enriched CSV (Convert to File): converts data to a file
- Lookio API call (HTTP Request): calls an HTTP API (POST)
- Form ending and file download (n8n Form): shows the next form page
…plus 1 more step. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Convert to File
n8n-nodes-base.convertToFile - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - Extract from File
n8n-nodes-base.extractFromFile
From the author
This template processes a CSV of questions and returns an enriched CSV with RAG-based answers produced by your Lookio assistant. Upload a CSV that contains a column named Query, and the workflow will loop through every row, call the Lookio API, and append a…