Description
Automated generation of structured user data in CSV format β powered by AI
π Tired of manually creating mock data for testing? This workflow creates randomized, formatted CSVs using GPT-4 β great for prototyping, analytics, and automation setups.
π§ What Problem Does It Solve?
Generating sample user data manually is repetitive, slow, and often inconsistent. This workflow leverages GPT-4 to automate the creation of mock user profiles and outputs them as clean CSV files for further use in apps, dashboards, or tests.
βοΈ Saves time when creating fake user data
βοΈ Ensures consistency across test datasets
βοΈ Produces multiple downloadable CSV files with custom formats
βοΈ How It Works
π§ Uses GPT-4 to generate lists of fake users in JSON format
π Loops through the output in batches
π§Ό Parses and cleans each user record
π Converts the data into a structured table
π Transforms the table into CSV format
πΎ Saves each batch as a downloadable CSV file
π Repeats until all data is processed
β¨ Key Features
π§ Uses one-shot GPT-4 prompting for realistic user mock data
π₯ Converts AI responses into downloadable CSVs
π Processes and saves each record in batches
π Names and surnames start with the same letter (for extra flair!)
π Includes realistic subscription logic and dates
π§Ό Built-in BOM byte stripping for clean file output
π§° What You Need
β
OpenAI API key with GPT-4 access
β
Local or cloud n8n setup with file system write access
π Setup Instructions
π Start the workflow manually or embed it into a larger flow
π₯ Trigger generates 3 lists of random users from GPT-4
π§© Configure the prompt as needed for different attributes
π Files saved to the .n8n directory with dynamic filenames
β
Test with default setup and customize for your own needs
π Integrations
OpenAI GPT-4
File System
n8n Core Nodes