Create Automated AI Blog Posts with n8n & Tavily API [2026 Workflow]

Use n8n and the Tavily search API to automatically research and write blog posts. Includes content planning, writing, and WordPress publishing — full JSON included.
toolHttpRequest
lmChatAnthropic
agent
+2
Workflow Identifier: 1178
NODES in Use: toolHttpRequest, lmChatAnthropic, agent, set, executeWorkflowTrigger
Automate blog posts with n8n and Tavily API

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does 📁:

This workflow is the “Content Creator Agent”. It solves the slow, hard task of writing blog posts by hand.
You give it a blog topic.
It finds up to 3 good internet sources.
Then AI uses those to write a full blog post for you, with headings and links.
The blog is SEO-friendly and ready to publish in HTML.
If something breaks, it shows a simple error message.
This saves lots of time and helps avoid mistakes.


Step-by-Step Guide to Build the Content Creator Agent ✏️:

Beginner steps to use this workflow in n8n

    1. Download the workflow file here on this page.
    2. Go to your n8n editor and choose “Import from File”. Upload the downloaded workflow.
    3. Inside n8n, add your Tavily API Key and Anthropic API Credentials in the respective node settings.
    4. Check if the Content Creator Agent node prompt or any inputs need custom values like blog style or query fields.
    5. Run the workflow once with a sample blog topic to test it.
    6. If the test works, activate the workflow by clicking the active toggle.

Now it is ready to use in real production.

 

For hosting consistency, learn more about self-host n8n if needed.


Workflow Inputs, Processing, and Output

Inputs

    • User provides a blog topic search term.

 

Processing

    • Tavily node sends the blog topic to internet search API and pulls 3 sources.
    • Content Creator Agent node uses those sources plus the Anthropic Chat AI to create a blog.
    • The blog content is generated with headings, paragraphs, and citation links.

 

Output

    • Rich HTML blog post ready to publish.
    • Error message if AI or search fails.

 


Customizations ✏️:

    • Change how many search results you get by editing Tavily max_results from 3 to any number.
    • Change blog style or tone by editing the systemMessage in the Content Creator Agent prompt.

 


Troubleshooting 🔧:

Problem: “API key invalid or authentication error from Tavily node.”
Cause: API key is wrong or expired.
Solution: Check and update the API key inside the Tavily node settings.

 

Problem: “No output from Content Creator Agent.”
Cause: Connections missing or wrong keys.
Solution: Verify the Content Creator Agent connects properly to Tavily and Anthropic Chat Model nodes.

 

Problem: “Workflow does not start when called by another workflow.”
Cause: When Executed by Another Workflow not set up.
Solution: Confirm this trigger node is configured and the calling workflow uses Execute Workflow correctly.

 


Pre-Production Checklist ✅:

    • Make sure the Tavily API Key and Anthropic credentials work.
    • Test blogging with many topic examples to check quality.
    • Check JSON format in the Tavily node body is correct.
    • Look at n8n logs if errors happen.
    • Backup your workflow before big changes.

 


Deployment Guide:

When testing passes, click the active toggle in n8n to turn on the workflow.
Use it in your content pipeline by calling the trigger or linking it inside other workflows.
For big content work, log outputs to watch post quality and update prompts over time.


3. Prerequisites ⚙️:

    • Anthropic API credentials for the AI language model node.

3. Prerequisites ⚙️:

    • Anthropic API credentials for the AI language model node.

Conclusion:

  • By running this workflow, writing blogs becomes faster and easier.
  • You get SEO-ready posts that use real source info automatically.
  • It saves 6 to 8 hours per article and helps do more topics or clients.
  • Next steps include connecting it to publishing tools or adding richer AI models.
  • Start using this with n8n, Tavily, and Anthropic today.
 

 


Automate blog posts with n8n and Tavily API

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, but the HTTP request node must be adjusted and the AI prompts in the Content Creator Agent need updating.
API usage depends on the number of searches. Lowering max_results and search_depth reduces usage.
Data flows within the n8n environment and external APIs securely. API keys should be kept private.
Yes, but scaling depends on the n8n hosting and API rate limits.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.