Automation library · AI assistants

Generate complete stories with OpenAI

Started by an event in a connected app, and works across Google Drive. It hands the judgement calls to Azure OpenAI. 37 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Azure OpenAI

37 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 22Logic 13Service 1

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

  1. 1Structured Output ParserOutput Parser StructuredModel
  2. 2When clicking ‘Test workflow’Manual triggerStarts it
  3. 3json schemaOutput Parser StructuredModel
  4. 4character jsonOutput Parser StructuredModel
  5. 5rules jsonOutput Parser StructuredModel
  6. 6gpt-4o1Lm Chat Azure Open AiModel
  7. 7Structured Output Parser1Output Parser StructuredModel
  8. 8Structured Output Parser2Output Parser StructuredModel
  9. 9Structured Output Parser3Output Parser StructuredModel
  10. 10story enhancements jsonOutput Parser StructuredModel
  11. 11edit notes jsonOutput Parser StructuredModel
  12. 12timeline jsonOutput Parser StructuredModel
  13. 13pick cardsAgentModel
  14. 14$INPUTS$SetLogic
  15. 15story baselineAgentModel
  16. 16charactersAgentModel
  17. 17story rulesAgentModel
  18. 18story plotAgentModel
  19. 19story enhancementAgentModel
  20. 20story timelineAgentModel
  21. 21edit notesAgentModel
  22. 22Sentiment AnalysisSentiment AnalysisModel
  23. 23story draftAgentModel
  24. 24story_finalAgentModel
  25. 25Split OutSplit OutLogic
  26. 26Loop Over ItemsSplit In BatchesLogic
  27. 27ConnectSetLogic
  28. 28ConvinceSetLogic
  29. 29ExplainSetLogic
  30. 30ImpressSetLogic
  31. 31LeadSetLogic
  32. 32MotivateSetLogic
  33. 33SellSetLogic
  34. 34create_story_fileGoogle DriveService
  35. 35AggregateAggregateLogic
  36. 36promptSetLogic
  37. 37Edit FieldsSetLogic

How it's built

Starts on
An event in a connected app
Steps
37, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive
Model
Azure OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

Does it use AI?

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

How long does it take to set up?

Take your time. At 37 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 37 steps before you point it at anything that matters.