Problem/Error
I’m building a memoir writing automation workflow and the OpenAI node isn’t receiving text data. The “User Uploads Source Material” node shows “No data” during testing because no files are being uploaded in test mode.
Current Workflow Setup
Copy
Webhook → Debugger1 → Switch → User Uploads Source Material → Edit Fields1 → OpenAI
OpenAI Node Configuration
- System prompt: “Extract characters from transcript, including relationships”
- User message:
$json.textcontent
- Model: GPT-4
- “Include Other Input Fields” is enabled on Edit Fields1
What I Need Help With
- What’s the best way to simulate file uploads during testing?
- How can I add mock data or replace “User Uploads Source Material” with a “Set” node for testing?
- How do I ensure data flows correctly to the OpenAI node?
I’m new to n8n and building a memoir writing automation system. Any guidance would be greatly appreciated!
Retrystrong text