Automation library · Content

Analyze YouTube videos with OpenAI

Started by someone submitting a form, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI. 21 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

21 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 12Service 5

The steps in the order they run, from what starts it.

  1. 11. Form, YouTube Video IntelligenceForm triggerStarts it
  2. 214. OpenAI, GPT-4o-mini ModelLm Chat Open AiModel
  3. 315. Parser, Structured Video AnalysisOutput Parser StructuredModel
  4. 42. Set, Config ValuesSetLogic
  5. 513. AI Agent, Analyze VideoAgentModel
  6. 63. Code, Extract Video IDsCodeLogic
  7. 716. Code, Prepare ResultsCodeLogic
  8. 84. HTTP, Fetch YouTube MetadataHttp RequestService
  9. 917. Google Sheets, Log Video AnalysisGoogle SheetsService
  10. 1018. IF, Last Video?IfLogic
  11. 115. Code, Process Video MetadataCodeLogic
  12. 1219. Code, Build Gmail ReportCodeLogic
  13. 1321. Set, More VideosSetLogic
  14. 146. HTTP, Submit Transcription TaskHttp RequestService
  15. 1520. Gmail, Send Intelligence ReportGmailService
  16. 167. Code, Save Transcript Task IDCodeLogic
  17. 178. Wait, 45 SecondsWaitLogic
  18. 189. HTTP, Poll Transcript ResultsHttp RequestService
  19. 1910. Code, Check Transcript StatusCodeLogic
  20. 2011. IF, Transcript Ready?IfLogic
  21. 2112. Set, Still Processing Loop BackSetLogic

How it's built

Starts on
Someone submitting a form
Steps
21, with 2 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.