Automate WordPress Content Creation with DeepSeek and n8n

Tired of spending hours crafting SEO-friendly WordPress articles? This workflow automates content generation using DeepSeek and OpenAI’s DALL-E 3 for images, saving time and streamlining publishing directly via n8n integration.
manualTrigger
googleSheets
openAi
+4
Workflow Identifier: 1313
NODES in Use: Manual Trigger, Google Sheets, Set, OpenAI (LangChain), WordPress, HTTP Request, Sticky Note
Automate WordPress content with n8n and DeepSeek

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

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow reads article ideas from Google Sheets and uses AI models to create full blog posts in WordPress with images. It saves time by making SEO-friendly drafts and posting cover photos automatically.

The main problem solved is creating blog content faster and without missing steps like images or formatting. The result is a draft post on WordPress with a title, article, and featured image ready for review.


Inputs, Processing Steps, and Outputs

Inputs

  • Google Sheets rows: contains article prompts that need content.
  • API credentials: for Google Sheets, WordPress, and OpenAI (DeepSeek and DALL-E).

Processing Steps

  1. Fetch prompts from Google Sheets where no article or post exists.
  2. Prepare prompt text for AI.
  3. Generate SEO-optimized, HTML-formatted article using DeepSeek Reasoner.
  4. Create a short, catchy title for the article with DeepSeek.
  5. Post the article to WordPress as a draft.
  6. Generate a cover photo using DALL-E 3 based on the new title.
  7. Upload the image to WordPress media and attach it as the featured image.
  8. Update the original Google Sheet row with the article title, post ID, and date.

Outputs

  • WordPress draft post: SEO-ready article with title and content.
  • Featured image: realistic photo attached to the post.
  • Google Sheet update: tracking details filled in.

Who Should Use This Workflow

This is for blog managers or content creators who want to save time writing and posting on WordPress.

No coding needed, but some familiarity with n8n or workflow software is helpful.

The workflow works well if there are many article ideas to process regularly.


Tools and Services Used

  • Google Sheets: Stores article prompts and tracks output data.
  • OpenAI DeepSeek Reasoner: Creates detailed, structured articles.
  • OpenAI DeepSeek (LangChain): Generates SEO-friendly article titles.
  • OpenAI DALL-E 3: Produces high-resolution cover images.
  • WordPress REST API: Manages blog post creation and media upload.
  • n8n automation platform: Orchestrates the entire workflow.

Beginner Step-by-Step: How to Use This Workflow in n8n

1. Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open your n8n editor.
  3. Use the Import from File option and select the downloaded file.

2. Configure API Credentials

  1. Open the credentials section in n8n.
  2. Add your Google Sheets OAuth2 credentials.
  3. Add the WordPress API credentials with permission to create posts and upload media.
  4. Add OpenAI API keys with access to the DeepSeek models and DALL-E 3.

3. Update IDs and Parameters

  1. Update Google Sheet Document ID in the Get Ideas node.
  2. Update sheet name or tab if different from default.
  3. Check and update any email, channel, or table identifiers if present.
  4. Verify model IDs in OpenAI nodes match configured plans.

4. Test the Workflow

  1. Run the workflow manually to check it pulls prompts and produces drafts.
  2. Inspect output for the WordPress post, title, and image upload success.

5. Activate for Production

  1. Switch the workflow from inactive to active in n8n.
  2. You can use a manual trigger or schedule it with a trigger node.

Note: For those hosting or running this on a server, consider self-host n8n for better control.


Customization Ideas

  • Change article length, tone, or HTML style by editing the prompt instructions in the Generate article with DeepSeek node.
  • Replace DeepSeek models in OpenAI nodes to use other OpenAI-supported models.
  • Change the DALL-E image prompt in the Generate Image with DALL-E node to fit different blog themes.
  • Add an extra node to publish the draft instead of leaving it as draft when ready.
  • Set a schedule trigger node to run automatically instead of manual triggers.

Common Problems and Fixes

  • Empty Google Sheets Data: Make sure the sheet ID and name are correct and there are prompts without article titles or post IDs.
  • Unauthorized WordPress API: Check WordPress API credentials and renew if expired.
  • OpenAI Token Limit Errors: Reduce prompt complexity or increase max tokens.
  • Image Upload Errors: Verify upload headers and that image is linked to the correct post ID.

Pre-Production Checklist

  • Confirm Google Sheet setup with correct columns and sample prompts.
  • Validate all API keys and credentials are active.
  • Test nodes individually to catch errors early.
  • Backup Google Sheet data before mass updates.
  • Ensure WordPress REST API permissions include post creation and media upload.

Summary of Benefits and Outcomes

✓ Saves hours of manual blog writing and posting.
✓ Produces SEO-ready, formatted articles with images automatically.
✓ Reduces errors from missing images or formatting.
✓ Tracks published content clearly in Google Sheets.
✓ Can be run manually or scheduled for automatic content creation.


Automate WordPress content with n8n and DeepSeek

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, users can change the model ID in the OpenAI nodes to use other supported models instead of DeepSeek Reasoner.
Google Sheets returns empty data if the document ID or sheet name is wrong or if no new rows have empty Title or Post ID fields.
Image upload can fail if HTTP headers are incorrect or if the post ID references are wrong during the upload or featured media assignment.
Yes, users should test the workflow manually in n8n after import to verify the nodes work before activating for production.
Author
Written By
Ritu Sanjali

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.