Trying to build an AI agent that automatically creates and posts on social media platforms like Instagram. Asked ChatGPT to generate the workflow in JSON format, and it provided the code. However, when uploading the JSON file to n8n, an error occurs. Attached is a screenshot of the issue. Any help would be appreciated to figure out what’s going wrong and get the AI agent working.
The error usually happens because the JSON file that ChatGPT generated isn’t in the correct n8n workflow format. A valid n8n workflow export always needs the full structure (with name, nodes, connections, etc.), not just the raw node data.
before that make sure your file in .json format
If then validate the json a tool like “jsonlint .com”
Thanks so much, you are a lifesaver.
2 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
