Agentic Content Creation Pipeline
- Design an agentic content pipeline that researches topics using live web search
- Configure an AI Agent with a Tavily search tool for current-information research
- Use the Information Extractor to pull structured SEO metadata from a generated article draft
- Build a human editorial review step before content is published
What an Agentic Pipeline Adds
A traditional automation generates content by filling in template variables: insert the title, insert the keywords, output the result. An agentic pipeline goes further — the AI Agent actively researches the topic, adapts the structure to what it finds, and produces content that reflects current information rather than static instructions. This lesson builds a pipeline that takes a topic brief and produces a research-backed article draft.
The Pipeline Architecture
- Schedule Trigger (or Webhook for on-demand) — starts the pipeline run.
- Airtable or Notion node — reads the next unprocessed row from a content brief database: topic, target keywords, tone, and target word count.
- AI Agent node — researches the topic and writes the article draft.
- Information Extractor node — pulls structured metadata from the draft: title, meta description, suggested slug, primary keyword.
- Google Docs or Notion node — creates a new document with the complete draft and metadata.
- Airtable or Notion update — marks the brief row as processed and stores the document link for the editor's review.
Configuring the Research Agent
The AI Agent is the core of this pipeline. Configure it with:
- Chat Model — use a capable frontier model here. GPT-4o or Claude Sonnet are appropriate choices. Research and synthesis is a complex task that benefits from the best reasoning available.
- Tavily Search tool — enables the agent to find current, relevant sources on the topic.
- Calculator tool — occasionally useful for fact-checking numerical claims found during research.
Write a detailed system prompt that includes the output format requirements:
"You are a content researcher and writer. Given a topic and target keywords, research the subject thoroughly using web search, then write a complete article draft. Structure it with an introduction, 4 to 6 sections with subheadings, and a conclusion. Target {{ $json.word_count }} words. Tone: {{ $json.tone }}."
Extracting SEO Metadata
After the agent produces its draft, run an Information Extractor node to pull structured metadata:
- article_title — the recommended headline
- meta_description — 150-character summary for search engine result pages
- suggested_slug — URL-friendly version of the title
- primary_keyword — the main target keyword identified from research
This makes the draft immediately usable in a CMS without manual metadata editing.
Human Review Before Publishing
An agentic pipeline should write and organise — a human editor should review and approve before anything goes live. Route the Google Docs link to a Slack message requesting editorial review. Include a link back to the n8n workflow so the reviewer can trigger the publish step once they have approved the draft. Never skip the review gate for AI-generated content that represents your brand.
Scaling the Pipeline
Once the single-item pipeline works reliably, it scales naturally: a Loop Over Items node processes multiple briefs per run, each producing its own draft in parallel. The pipeline handles the research and writing; your editorial team handles the judgment and approval.
- An agentic pipeline researches and adapts based on what it finds — it produces current content, not template fills
- Use a capable frontier model for the writing agent — research and synthesis genuinely needs strong reasoning
- The Information Extractor converts a prose draft into structured CMS-ready metadata fields automatically
- Always include a human review gate before publishing AI-generated content that represents your brand