Prepare CSV files with GPT-4
Triggered manually or by an app event. Connects Item Lists, Loop, Move Binary Data, OpenAI, Spreadsheet File, Stop And Error, Write Binary File. This is a helper workflow to create 3 CSV files Feel free to adapt as needed Some mock data from GPT is pinned for convenience These 2 nodes fix an issue with BOM bytes in the beginning of the file. Without them reading the CSV file back becomes tricky
Front matter
name: Prepare CSV files with GPT-4
description: Triggered manually or by an app event. Connects Item Lists, Loop, Move Binary Data, OpenAI, Spreadsheet File, Stop And Error, Write Binary File. ## This is a helper workflow to create 3 CSV files ### Feel free to adapt as needed ### Some mock data from GPT is pinned for convenience ### These 2 nodes fix an issue with BOM bytes in the beginning of the file. Without them reading the CSV file back becomes tricky
category: Automation
kind: Workflow
software: Item Lists|Loop|Move Binary Data|OpenAI|Spreadsheet File|Stop And Error|Write Binary FilePrepare CSV files with GPT-4
Triggered manually or by an app event. Connects Item Lists, Loop, Move Binary Data, OpenAI, Spreadsheet File, Stop And Error, Write Binary File. ## This is a helper workflow to create 3 CSV files
Feel free to adapt as needed
Some mock data from GPT is pinned for convenience ### These 2 nodes fix an issue with BOM bytes in the beginning of the file.
Without them reading the CSV file back becomes tricky
Steps
- When clicking "Execute Workflow" (manualTrigger)
- OpenAI (openAi)
- Split In Batches (splitInBatches)
- Sticky Note (stickyNote)
- Parse JSON (set)
- Make JSON Table (itemLists)
- Convert to CSV (spreadsheetFile)
- Save to Disk (writeBinaryFile)
- Strip UTF BOM bytes (moveBinaryData)
- Create valid binary (moveBinaryData)
- Sticky Note1 (stickyNote)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source: https://github.com/Zie619/n8n-workflows/blob/main/Manual/1102_Manual_Openai_Automation_Triggered.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.