Generate rich character bibles for writers with GPT-4.1 and Google Sheets
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model. It also calls sheets.googleapis.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Normalize Input Parameters (Edit Fields (Set)): sets 8 fields: name, age, archetype…
- Python - Validate & Enrich Input (Code): runs custom Python code
- Filter: keeps only the items that match a condition
- JS - Split to Parallel Branches (Code): runs custom JavaScript code
- AI - Generate Psychology Profile (AI Agent): runs an AI agent, with model: OpenAI Model - Psychology
- AI - Generate Backstory (AI Agent): runs an AI agent, with model: OpenAI Model - Backstory
- AI - Generate Emotional Arc (AI Agent): runs an AI agent, with model: OpenAI Model - Emotional Arc
- JS - Prepare Merge Context (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- Wait: pauses before continuing
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: sheets.googleapis.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI - Generate Psychology Profile (v1.6), AI - Generate Backstory (v1.6), AI - Generate Emotional Arc (v1.6)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI - Generate Psychology Profile (v1.6), AI - Generate Backstory (v1.6), AI - Generate Emotional Arc (v1.6), AI - Synthesize Character Bible (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - AI Agent
@n8n/n8n-nodes-langchain.agent - Merge
n8n-nodes-base.merge - Wait
n8n-nodes-base.wait - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Quick overview This workflow accepts character details via webhook or manual trigger, uses OpenAI to generate psychology, backstory, and emotional arc drafts in parallel, then synthesizes them into a structured “Character Bible” JSON response and optionally…