WordPress Blog Automation with human-in-the-loop and deeper research in Airtable v2
Take full control of your AI-powered content creation with this advanced human-in-the-loop workflow. Designed for power users who demand both automation and editorial oversight, this template transforms Airtable into a command center for producing deeply researched, long-form articles and publishing them directly to WordPress.
This system elevates content creation by introducing a hierarchical structure of chapters and subchapters, allowing you to build comprehensive articles, guides, or even e-books with unparalleled detail. From initial research to final publication, you guide the AI at every critical step – from content structure to the final visuals – ensuring the final output is high-quality, brand-aligned, and perfectly structured.
This version v2 is a major upgrade from the HUMAN-IN-THE-LOOP Content Automation Pro with Deep Research & Airtable for Power Users – Collaborative AI for WordPress Blog Automation.
What’s New in V2: Deeper Research & More Control
This version introduces significant upgrades for creating more authoritative and well-structured content:
- Conditional Deeper Research: The workflow now generates both chapters and subchapters, allowing you to create more detailed, long-form articles with a clear, logical flow.
 
- Granular Research and Writing: The AI performs research and writes content at the subchapter level, resulting in more in-depth and comprehensive articles before automatically compiling them into full chapters.
 
- Manual Image Override: Gain full control over your article’s visuals. You can now manually upload your own images for both the featured image and individual chapters, overriding the AI-generated suggestions.
 
- Multi-Language Support: You can now define a target language in the Airtable settings, enabling the AI to generate content for different global audiences.
 
- Dynamic WordPress Categorization & Tagging: The AI intelligently assigns your post to the most relevant existing WordPress categories and generates a list of relevant tags, improving on-site organization and SEO.
 
- Simplified Architecture with Native Perplexity Node: Thanks to updates in n8n’s Perplexity node, the separate “Research Tool” sub-workflow has been eliminated. All research calls are now made directly within the Main Flow. This simplifies the template’s structure from three workflows down to two, making it easier to set up, manage, and debug.
 
What it does
Fully automated content generation tools often lack the nuance, accuracy, and strategic control necessary for truly impactful content. This workflow solves that critical gap by integrating powerful AI capabilities into a structured, human-supervised content creation process. It automates the most repetitive tasks – like research gathering and chapter ideation – while embedding essential human review points at critical junctures.
Instead of simply providing a topic and receiving a finished article of uncertain quality, you actively guide the process step-by-step. This approach makes it perfect for creating high-quality, deeply researched, and brand-aligned blog posts for WordPress more efficiently, without ever sacrificing editorial control.
Who is this for?
This workflow template is meticulously designed for individuals and teams who seek a powerful blend of AI-driven efficiency and human-controlled quality assurance:
- Content Creators & Bloggers: Who want to leverage AI for drafting and research but maintain full editorial control.
 
- Marketing Teams: Looking to scale content production while ensuring brand voice and quality consistency.
 
- SEO Specialists: Needing to produce well-researched, structured, and SEO-optimized content regularly.
 
- Agencies: Managing content creation for multiple clients with a structured, repeatable process.
 
- Anyone who prefers a “human-in-the-loop” approach over fully automated “black box” content generators.
 
How it works
This template automates the WordPress content creation process using Airtable as the central hub and leveraging AI for research and copywriting. The system is composed of four interconnected processes within a single workflow, each triggered by specific changes in Airtable.
Content Creation Process in Airtable
The entire journey from idea to published post is managed within your Airtable base. This provides complete transparency and control over the AI-driven process.
- Configure Settings (
Settings Table): Define global parameters like your website details, target audience, writing style, content language, max word count, and the desired number of chapters and subchapters. 
- Create Topics (
Create Topics Table): Add a new blog post idea to this table. To start the process, set its ‘Status’ to “Todo” and tick the ‘Execute Flow’ checkbox. 
- Generate Chapters ideas (
Chapters Table): The workflow performs initial online research and generates potential chapters and subchapters based on your topic, saving them to the Chapters table for your review. 
- Select Chapters to Write (
Select Chapters Table): Review the generated chapters, select which ones you want to include in the final article, and then trigger the content generation phase by setting the ‘Status’ to “Todo” and ticking the ‘Execute Flow’ checkbox. 
- Generate Chapter Content (
Generate Content Table): The workflow performs deep research for each individual subchapter and writes the draft content. The content for all subchapters is then automatically compiled into full chapters and saved in the Generate Content table for your review. 
- Select Chapter Content (
Select Content Table): After reviewing the content, trigger the next step by setting the status to “Todo” and ticking the ‘Execute Flow’ checkbox. 
- Select Chapter Images (
Select Chapter Images Table): After approving the content, the workflow generates an AI image for each chapter and places it here for your review. You can approve the AI-generated image or manually upload your own before triggering the final assembly. 
- Finalize Post & Generate Featured Image (
Finalize Post Table): The workflow aggregates the approved text and your selected chapter images. It then generates the article’s title, SEO metadata, tags, and a featured image. You can also manually override the AI-generated featured image in this step by uploading your own. 
- Publish & Backup Post (
Backup Post Table): Once you’re ready to publish, tick the Post To Website checkbox in the Finalize Post table. The final process publishes the post to your WordPress site as a draft and creates a backup record here with the live URL. 
n8n Workflow Functions
The automation is handled by five interconnected flows within a single workflow file, each triggered by specific changes you make in Airtable:
- Flow 1 (Topic Initiation & Chapter/Subchapter Generation):
- Trigger: Monitors the 
Create Topics table. 
- Action: Fetches your settings, performs initial online research, and uses AI to generate structured outlines with both chapters and subchapters, saving them to the 
Chapters table. 
 
- Flow 2 (Content Generation & Internal Linking):
- Trigger: Monitors the 
Select Chapters table. 
- Action: Gathers internal links from your sitemap, performs deep research for each subchapter, and uses AI to write the draft content. It then compiles the subchapter texts into full chapters and saves them to the 
Generate Content table. 
 
- Flow 3 (Post Assembly & Initial Image Generation):
- Trigger: Monitors the 
Select Content table. 
- Action: Aggregates the approved text and uses AI to generate the title, SEO metadata, and tags. It creates AI-generated images for the featured image and each chapter, populating the 
Finalize Post table with the text-based content and the Select Chapter Images table with images for your review. 
 
- Flow 4 (Chapter Image Finalization & Content Re-assembly):
- Trigger: Monitors the 
Select Chapter Images table. 
- Action: This new flow waits for you to approve or manually upload all chapter images. It then uploads your chosen images to WordPress, retrieves their final URLs, and re-assembles the article’s HTML content, embedding the correct images. It updates the master record in the 
Finalize Post table, making it ready for publication. 
 
- Flow 5 (WordPress Publishing & Backup):
- Trigger: Monitors the 
Finalize Post table. 
- Action: Fetches the fully finalized content (re-assembled in Flow 4). It uploads the featured image, creates the post in WordPress as a draft, dynamically assigns categories and tags, and finally saves a backup record with the live URL.
 
 
Unique Features
- Human-in-the-Loop Design: Guarantees quality through mandatory user review and approval stages within Airtable.
 
- Airtable as Control Center: Utilizes Airtable as an intuitive interface to manage the entire content lifecycle.
 
- Manual Image Override: Maintain complete visual control by manually uploading your own featured and chapter images, overriding the AI-generated options at any stage.
 
- Conditional Deeper Research: Choose on a per-topic basis whether to generate simple chapters or a more detailed structure with chapters and subchapters for maximum depth.
 
- Multi-Language Content Generation: Define your desired output language in the Airtable settings to create content for different global audiences.
 
- Multiple-Image Generation: Generates and adds unique AI images for each chapter, as well as a featured image for the article.
 
- Automatic Categorization: The AI intelligently assigns your post to the most relevant existing categories on your WordPress site.
 
- AI-Powered Tag Generation: The workflow automatically generates a list of relevant SEO tags for your article to improve discoverability.
 
- Advanced Internal & External Linking: Automatically inserts relevant internal links by analyzing your sitemap and includes external source links from its research.
 
- Direct WordPress Integration: Streamlines publication by automatically sending finalized content, metadata, tags, images, and categories to your WordPress site.
 
- Rate-Limit Aware: Includes configurable Wait nodes to prevent API errors during intensive processing.
 
- Native Perplexity Integration: Simplifies online research with n8n’s built-in Perplexity node.
 
Requirements
- Airtable Account: A free Airtable account is sufficient to start.
 
- WordPress Website: Requires an Application Password with permissions to create posts and upload media. Must have the REST API enabled.
 
- OpenAI API Key: For text and image generation.
 
- Perplexity API Key: Or an API key for your chosen online research tool.
 
- Google Drive: for the backup feature.
 
Setup Step-by-Step
- Import n8n Workflow: Import the workflow JSON file into your n8n instance.
 
- Get Airtable Base: Duplicate the companion Airtable Base template. Find the link to the Airtable Base template in the automated email you received after order confirmation. Do not request access to the Airtable base linked in the n8n template itself, as this is a live production base.
 
- Configure Credentials: Add credentials in n8n for Airtable, WordPress, OpenAI, Perplexity, and Google Drive.
 
- Connect Workflow Nodes: Assign the correct credentials to every relevant node in the workflow.
 
- Configure Airtable Nodes: This step is critical. Warning: When you connect your own Airtable base to a node, n8n will automatically erase all pre-configured field mappings. To prevent losing these settings, you must copy them before connecting your base. Here are two recommended methods. Method 1 – Side-by-Side Comparison: Import the template twice into n8n. Keep one workflow open as a reference, and customize the other. This allows you to easily copy and paste the field mappings from the original to your version after connecting your base. Method 2 – Text Editor Method: Before connecting your base, open each Airtable node individually, copy its field settings into a text editor for safekeeping, connect your base, and then paste the settings back into the correct fields.
 
- Populate Airtable Settings: Fill in your details in the “Settings” table of your Airtable base.
 
- Activate Workflow: Toggle the “Active” switch ON for the workflow in n8n.
 
- Start Creating: Go to the “Create Topics” table in Airtable to begin. Go through all the tables in Airtable from left to right to complete all the steps of the content creation process and get the final blog post at the end.
 
- Finalize SEO in WordPress: The workflow saves the generated SEO meta title and meta description to the Backup Post table in your cloned Airtable base. After the post is created in WordPress (as a draft), you must manually copy these values from the table and paste them into your SEO plugin’s fields (e.g., Yoast, Rank Math) on the WordPress post editor.
 
Tips for Pros
- AI Models: The workflow is optimized for OpenAI’s GPT-4o. You can swap in alternatives, but performance may vary. Perplexity’s “sonar” model is used for research due to its speed and cost-effectiveness.
 
- AI Prompts: Modify prompts in the AI nodes to refine tone, style, or formatting.
 
- Integrations: Replace research tools, image generators, or modify the final step to publish to a different CMS.
 
- Error Handling: For production reliability, connect an “Error Handling” workflow in n8n to catch failures and send notifications.
 
Important Considerations
- API Rate Limits: The included Wait nodes help mitigate API rate limits, but may need adjustment based on your usage and API plans.
 
- Testing Costs: API calls to AI models are not free. Monitor your usage and costs on your provider’s billing dashboard.
 
- Sequential Processing: The workflow processes one topic at a time to ensure stability.