This playbook outlines a comprehensive workflow for generating in-depth, SEO-optimized content, complete with internal and external links, jump links, FAQ schema, and featured images—all managed through an automated system. The process begins with a simple record creation in Airtable and culminates in a published WordPress post, with built-in opportunities for human oversight and editing.
Here are the steps to automate your long-form SEO article creation:
Step 1: Initiate Content Generation in Airtable
Create a new record in your Airtable setup. Provide a rough title, set the URL slug, and specify a keyword. Assign a category to inform your URL structure and set the article’s status to “production.”
Step 2: N8N Workflow Triggers and Gathers Information
The N8N content writing workflow triggers when Airtable detects the status change to “production.” The system finds any records with this status and starts a loop to process multiple articles if needed. It retrieves client information from a Google Doc, including brand details, company overview, country, dialect, or language, and pulls all necessary prompts from a separate prompt library for easy management.
Step 3: Perform Query Research
Using the specified keyword, the system conducts Google searches and reads top-ranking web pages for that term. The goal is to output a list of questions the content will answer, forming a content brief based on what competitors are addressing.
Step 4: Generate Content Outline
The collected questions are transformed into a structured JSON content outline. This format allows individual fields to be reused later and enables each section to be generated separately, producing more in-depth content.
Step 5: Iterate Sections and Apply Answer Formats
Each section is broken into a separate prompt for writing. The workflow retrieves answer format instructions from the prompt library, based on Google’s classification of queries (e.g., short fact, instruction, definition). The outline process automatically determines the appropriate format for each section.
Step 6: Write Individual Sections with Linking
For each section, content is written following the assigned answer format. The system performs additional Google searches to find and naturally incorporate internal and external links to authoritative sources, while also drawing from context in related web pages.
Step 7: Stitch and Edit Content (Automated)
All separately generated sections are stitched together using a code node. An “edit content” node then runs to fix common issues such as duplicate subtopics or formatting errors, and removes unnecessary labels like “question” or “answer.”
Step 8: Create Google Doc and Update Status
The system assigns a unique title to the Google Doc (adding a number if duplicates exist), creates and formats the document, and moves it to the correct folder. Finally, it updates the article status in Airtable, for example to “load.”
Step 9: Human Review and Editing
The generated Google Doc is ready for manual editing before publishing. A human editor should review for errors, add natural links if needed, and refine the article. Ideally, an expert familiar with your company, products, or services should handle this stage.
Step 10: Publish to WordPress
Once approved, set the Airtable status to “load.” The publishing automation will then trigger, finding the article and publishing it to WordPress. A cleanup code node adjusts formatting for smooth publishing, and section IDs are added to enable jump links.
Step 11: Generate and Upload Featured Image
Set the Airtable status to “update featured image.” The workflow retrieves brand and styling guidelines, generates a prompt for a chat model to create the featured image, and passes it to a “generate featured image” node. The system writes EXIF data and alt tags, assigns an optimized file name, uploads the image to WordPress, and attaches it to the post. AI-generated images may require reruns or prompt adjustments for accuracy.
Step 12: Post-Publication Best Practices
Test AI-generated content in small batches before scaling, as producing too much at once can hurt performance. Always manually edit content to ensure quality and accuracy. Recognize that success depends on your site’s authority, and consistently add internal links to improve indexing and ranking.
Final Thoughts
This automated workflow streamlines long-form SEO article production, reducing manual work while maintaining opportunities for quality control. By combining AI, Airtable, and N8N, you can publish optimized, scalable content at speed.
