Question about creating a script for YouTube

Hey everyone!

I’m building an automation in N8N to generate video scripts by topic using AI (Dify).

Goal:

  • Create video scripts where the AI generates content for each topic individually, not all at once.
  • The video type (Review, Comparison, or List) defines the topics covered.
  • AI should process and return the script one topic at a time.

Current Setup:

  • Webhook to receive data.
  • Set node to define the list of topics based on the video type.
  • Switch to route the flow by video type.

Challenge:
I’m having trouble getting the AI to generate the script by topic (step by step) instead of producing the full script at once.

If anyone has experience with this type of automation or ideas on how to make the AI handle topics one by one, I’d love some guidance! :grin:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hi @afonsopereiralopes

Welcome to the community ! This is a good use case indeed. I’m not sure how you could be doing this for this particular case, but may I suggest taking a look at our recent Studio series on youtube where Max started touches on some AI workflows and will release a “how to prompt” guideline. That may help you get some ideas running!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.