Automation library · AI assistants

Generate rich character bibles for writers with OpenAI

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 21 steps, 2 loops 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
0Branches: places the flow splits
2Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 3Model 8Logic 9Service 1

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

  1. 1Webhook - Character InputWebhookStarts it
  2. 2Manual TriggerManual triggerStarts it
  3. 3OpenAI Model - PsychologyLm Chat Open AiModel
  4. 4OpenAI Model - BackstoryLm Chat Open AiModel
  5. 5OpenAI Model - Emotional ArcLm Chat Open AiModel
  6. 6OpenAI Model - SynthesisLm Chat Open AiModel
  7. 7Normalize Input ParametersSetLogic
  8. 8AI - Generate Psychology ProfileAgentModel
  9. 9AI - Generate BackstoryAgentModel
  10. 10AI - Generate Emotional ArcAgentModel
  11. 11AI - Synthesize Character BibleAgentModel
  12. 12Python - Validate & Enrich InputCodeLogic
  13. 13JS - Prepare Merge ContextCodeLogic
  14. 14JS - Structure Character ProfileCodeLogic
  15. 15Filter Valid RequestsFilterLogic
  16. 16Merge AI Branch OutputsMergeLogic
  17. 17Wait - Processing BufferWaitLogic
  18. 18JS - Split to Parallel BranchesCodeLogic
  19. 19Wait For DataWaitLogic
  20. 20Respond - Return Character ProfileRespond To WebhookStarts it
  21. 21Log to Google Sheets (Optional)Http RequestService

How it's built

Starts on
Another system calling it
Steps
21, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

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.