This n8n workflow automates the process of generating mock user data with GPT-4 and converting it into CSV files for further use. Starting with a manual trigger, the workflow prompts GPT-4 to create a JSON array of 10 fictional users, including details like name, email, subscription status, and subscription date. The JSON data is then parsed, formatted into a table, and converted into CSV format. To ensure proper readability, special handling fixes any BOM (Byte Order Mark) issues that might corrupt the files. The resulting CSV files are saved locally, making this workflow ideal for generating sample datasets, testing data import processes, or creating mock data for demos. It’s particularly useful for developers and data analysts who need quick, automated mock data generation and file preparation.
Automated CSV File Creation from GPT-4 Data
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | itemLists, manualTrigger, moveBinaryData, openAi, set, splitInBatches, spreadsheetFile, stickyNote, writeBinaryFile |
Reviews
There are no reviews yet.