Prepare CSV files with GPT-4
Needs changesNeeds changes. This template uses 4 thing(s) that n8n 3.0 removes: OpenAI (legacy), Item Lists (legacy), Write Binary File, Convert to/from binary data. 4 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 9 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- OpenAI: work with chat
- Split In Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Parse JSON (Edit Fields (Set)): sets or maps fields
- Make JSON Table (Item Lists): reshapes item lists (legacy Item Lists node)
- Convert to CSV (Spreadsheet File): reads or writes a spreadsheet file (legacy node)
- Strip UTF BOM bytes (Convert to/from binary data): uses Convert to/from binary data
- Create valid binary (Convert to/from binary data): uses Convert to/from binary data
- Save to Disk (Write Binary File): uses Write Binary File
Before you upgrade to n8n 3.0
4 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- OpenAI (legacy) in OpenAI: replace with OpenAI node (AI section).
- Item Lists (legacy) in Make JSON Table: replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used).
- Write Binary File in Save to Disk: replace with Read/Write Files from Disk.
- Convert to/from binary data in Strip UTF BOM bytes, Create valid binary: replace with Convert to File or Extract from File.
- Also check Spreadsheet File: Convert to File / Extract from File.
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) OpenAI | OpenAI node (AI section) |
| Item Lists (legacy) Make JSON Table | Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used) |
| Write Binary File Save to Disk | Read/Write Files from Disk |
| Convert to/from binary data Strip UTF BOM bytes, Create valid binary | Convert to File or Extract from File |
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - OpenAI
n8n-nodes-base.openAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Item Lists
n8n-nodes-base.itemLists - Spreadsheet File
n8n-nodes-base.spreadsheetFile - Write Binary File
n8n-nodes-base.writeBinaryFile - Convert to/from binary data
n8n-nodes-base.moveBinaryData
From the author
This workflow generates CSV files containing a list of 10 random users with specific characteristics using OpenAI's GPT-4 model. It then splits this data into batches, converts it to CSV format, and saves it to disk for further use. 1. The execution of the…