Templates / Book ghostwriting & research AI agent

Book ghostwriting & research AI agent

Needs changes

by Agniva Mahata · 2,454 views · created 2025-02-11 · AI, Content Creation

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), HTTP Request Tool (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 24 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Airtable, Google Gemini Chat Model, HTTP Request and OpenAI Chat Model. It also calls api.perplexity.ai over HTTP.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Switch: routes items into 4 branches
  2. Airtable: uses Airtable
  3. Airtable: uses Airtable
  4. Airtable: uses Airtable
  5. Airtable: uses Airtable
  6. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Perplexity)
  7. Basic LLM Chain: sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  8. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Perplexity)
  9. Basic LLM Chain: sends a prompt to an LLM, with model: Google Gemini Chat Model
  10. Airtable: update

…plus 6 more steps. See the full node list below.

Services it uses

AirtableGoogle Gemini Chat ModelHTTP RequestOpenAI Chat Model

HTTP calls to: api.perplexity.ai

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.7), AI Agent1 (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • HTTP Request Tool (legacy) in Perplexity, Perplexity1: replace with HTTP Request node connected to the AI Agent's Tool input.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7), AI Agent1 (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
HTTP Request Tool (legacy)
Perplexity, Perplexity1
HTTP Request node connected to the AI Agent's Tool input

Nodes used (11)

From the author

How it Works: 1. Trigger: The workflow is triggered by a webhook, initiated by an Airtable automation. This automation sends the Book or Chapter record ID and the desired action (e.g., "Generate Book Details," "Generate Chapters," "Generate Chapter Research,"…

Excerpt from Agniva Mahata's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.