n8n

How to Automate WordPress Content Publishing?

Turn blog ideas into ready to edit WordPress drafts without manual work. Great for marketing teams and blog managers who plan topics in a spreadsheet and want a steady posting rhythm with a cover image and consistent format.

The flow starts from a Google Sheet where you store ideas. It maps each idea into a clean prompt, writes a full article with DeepSeek, and then creates a strong title. A WordPress draft is created with the long form content, and a cover image is generated by OpenAI DALL E. The image is uploaded to WordPress and set as the featured image. Finally, the sheet is updated with the date, title, and WordPress post ID so you always know what was created. This reduces copy paste steps and keeps your sheet and site in sync.

You need a Google Sheet with columns for date, prompt, title, and post ID, plus API access for WordPress, OpenAI, and DeepSeek. Expect faster output and a cleaner process from idea to draft, often cutting hours down to minutes. Use it for editorial calendars, topic clusters, and niche blogs where you want volume and a consistent style.

What are the key features?

  • Idea intake from Google Sheets with row selection for only unfinished items
  • Prompt mapping that turns the sheet field into a clean model input
  • Article generation using DeepSeek for long form content
  • Title generation using a second DeepSeek step for strong headlines
  • WordPress draft creation with content from the generated article
  • Cover image creation with OpenAI DALL E
  • Media upload to WordPress and automatic featured image assignment
  • Sheet update with date, final title, and WordPress post ID for tracking

What are the benefits?

  • Reduce manual work from hours of drafting to minutes of review
  • Automate up to 90 percent of the steps from idea to WordPress draft
  • Improve content tracking with post IDs and dates written back to your sheet
  • Unify text and image creation so every draft has a matching cover
  • Connect Google Sheets, DeepSeek, OpenAI, and WordPress in one flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Sheets, WordPress, OpenAI and DeepSeek. See the Tools Required section above for links to create accounts with these services.
  3. Prepare your Google Sheet with columns for Date, Prompt, Title, and Post ID. Share it with the Google account you will use in n8n and note the spreadsheet ID and sheet name.
  4. Open the Google Sheets node named Get Ideas. Connect your Google account by clicking Create new credential and follow the on screen steps. Point to your spreadsheet and sheet tab.
  5. In Get Ideas, set the read range or use a filter so only rows where Post ID is empty are returned. This prevents re processing completed posts.
  6. Open the Set your prompt node and make sure the field maps to your sheet column name for the idea. Update the expression if your column name is different.
  7. Open both DeepSeek nodes. Click Create new credential for the OpenAI compatible connector, enter your DeepSeek API key and any required base URL, then select the desired DeepSeek model.
  8. Open the WordPress node for creating posts. Click Create new credential and connect using your site URL and an application password or token. Set status to draft.
  9. Open the DALL E image node and create a new OpenAI credential. Paste your OpenAI API key from the OpenAI dashboard and select the DALL E 3 model.
  10. Open the Upload image HTTP Request node. Keep method as POST, send binary data from the image node, and confirm the Content Disposition header includes a file name. Use your WordPress credential for auth.
  11. Open the Set Image HTTP Request node. Keep the URL that targets the new post ID and include the featured media query parameter that points to the uploaded media ID.
  12. Open the Update Sheet node. Map Date to the now value, Title to the generated title, and Post ID to the WordPress post ID. Run once with a single row to validate. Check your WordPress drafts and the sheet updates.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

DeepSeek

Sign up

$0.035/1M input tokens (cache hit), $0.135/1M input tokens (cache miss), $0.550/1M output tokens

Google Sheets

Sign up

Free: $0 (Google Sheets API usage has no additional cost; quota limits apply)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

WordPress

Sign up

Free plan: $0 / mo (WordPress.com REST API supports creating posts)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.