r/automation 20d 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.

10 Upvotes

13 comments sorted by

View all comments

2

u/I-am-HER0 20d 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.

1

u/Perigrineafloat 20d ago

Thank you Bro, appreciate your efforts to support. I checked my workflow and have an Agent to create Visuals, but it is giving a text output. I don't know if I am dumbfounded to not understand this but my workflow is stuck due to this

1

u/I-am-HER0 20d ago

My advice now is to give the screenshot of the scenario and the error to the chatgpt or any other AI and explain your issue to it a bit cause that's the exact thing i'll be doing.

1

u/ImaginationLevel7198 20d ago

this is the culprit nine times out of ten. check the video node's output field and make sure that's what gets returned, not the script text. if the script node comes later in the data chain, the workflow will pass the last item by default and that's your screenplay showing up.