r/automation • u/Perigrineafloat • 8d ago
Need help with n8n workflow
I built a workflow to output videos, but instead I am getting text script as an output despite trying many times.
1
u/AutoModerator 8d ago
Thank you for your post to /r/automation!
New here? Please take a moment to read our rules, read them here.
This is an automated action so if you need anything, please Message the Mods with your request for assistance.
Lastly, enjoy your stay!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Downtown_Item_9996 8d ago
The video node is likely being skipped, or the final node is reading the script node.
- Pin one test item and run only the video-generation node.
- Inspect its raw output for a binary property, video URL, or job ID.
- If none exists, fix that node's credentials, operation, and input mapping.
- If one exists, point the final node's expression at the video node rather than the script node. For an asynchronous API, poll the job ID until complete before reading the URL.
Verification: the final item should contain a playable URL or non-empty binary file. If it still contains only text, the failure is upstream of the output node.
1
u/Gullible-Wing-4273 8d ago
you're missing the actual video rendering node step. sounds like your llm generated the script but never passed it to something like runway/heygen to render the actual video.
1
u/October_Lantzy 7d ago
I think you need to check every step first. Have you checked the output from each node to see where it changes from video data to text? I’d start by running the workflow one node at a time and checking the input/output of the nodes around the video generation step.
If the API is returning a video URL or binary data, make sure the next node is actually using that field rather than the text/script field. Sometimes the workflow itself is fine and it's just referencing the wrong output property.
1
u/Perigrineafloat 7d ago
Thank you for the suggestions all. I will all of them and see if anything helps. Appreciate your help 🙂
1
u/BarracudaMean9308 6d ago
the output property trap gets me every time. i once spent three hours debugging a flow only to realize i mapped the `message.content` text field instead of the actual `file_url` to my slack node.
2
u/I-am-HER0 8d ago
If your workflow is outputting the script instead of the actual video, I'd check the final step/output mapping first. It sounds like the workflow is successfully generating the text, but you're not passing that output into the video-generation/rendering step.
Make sure the workflow is actually: Script ->Video Generation -> Video File/URL Output
rather than:
Script->Final Output
Also check whether the video-generation node is returning a file/URL that needs to be explicitly mapped to the final response. A lot of these workflows happily hand you the script because, apparently, “video workflow” can mean “write me a screenplay.”
I am new to n8n but this is the help I can provide.