How to Automate Content Creation: A Follow-Along Guide Using n8n and ChatGPT

To automate content creation with n8n and ChatGPT, you connect a content plan (such as a Google Sheet) to n8n's OpenAI node, which drafts each article through the OpenAI API, and then send the draft to WordPress for human review. A Schedule Trigger runs the whole workflow automatically, so a new draft appears in your d…
To automate content creation with n8n and ChatGPT, you connect a content plan (such as a Google Sheet) to n8n's OpenAI node, which drafts each article through the OpenAI API, and then send the draft to WordPress for human review. A Schedule Trigger runs the whole workflow automatically, so a new draft appears in your dashboard every day without copying and pasting.
This guide walks you through that exact build, one node at a time. It is based on n8n's official documentation and a published Hostinger tutorial that uses the same approach. By the end, you will have a working workflow that turns a row in a spreadsheet into a WordPress draft, plus the prompts and safeguards to keep quality high.
What You Will Build
The finished workflow has six nodes. Here is how data moves through it:
Step | n8n node | What it does |
|---|---|---|
1 | Schedule Trigger | Starts the workflow at a set time, for example 9 AM daily |
2 | Google Sheets: Get Row(s) | Pulls topics marked "Ready" from your content plan |
3 | Limit | Keeps one topic per run so you control volume |
4 | OpenAI: Generate a Chat Completion | Writes the title, meta description, and article body |
5 | WordPress: Create a post | Saves the article as a draft on your site |
6 | Google Sheets: Update Row | Marks the topic as "Drafted" so it never repeats |
Before You Start: What You Need
Requirement | Details |
|---|---|
n8n | n8n Cloud account or a self-hosted install |
OpenAI API key | Created at platform.openai.com, with billing enabled |
Google account | For the content-plan spreadsheet |
WordPress site | Admin access and the REST API enabled |
One point confuses many beginners. A ChatGPT Plus subscription does not include API access. OpenAI states that API usage is separate and billed independently. So, even if you pay for ChatGPT, you still need an API account to connect n8n. Alternatively, n8n Cloud users can select "Use Gateway credits" in the OpenAI node instead of adding their own key.
Choosing n8n Cloud or Self-Hosting
n8n Cloud is the quickest option. As of 2026, paid plans start at around EUR 20 a month for 2,500 executions on annual billing, according to pricing trackers. Since prices change, confirm them on n8n.io before you sign up.
On the other hand, the self-hosted Community Edition is free under n8n's Sustainable Use License and has no execution cap. If you have Docker installed, two commands get you running:
docker volume create n8n_data
docker run -d --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
Then open http://localhost:5678 in your browser. For a quick test without Docker, you can run npx n8n instead, which needs Node.js 22.16 or later.
How to Automate Content Creation With n8n and ChatGPT
Step 1: Build Your Content Plan in Google Sheets
First, create a spreadsheet called "Content Plan" with these column headers in row 1:
Topic | Keyword | Audience | Status | Post URL
Add three or four rows to test with, and set Status to "Ready" on each. This sheet becomes your control panel. Whenever you want a new article, you simply add a row. Because the topics come from you, every draft starts from a real idea rather than whatever the AI invents.
If terms such as search intent, SERP, or E-E-A-T are unfamiliar, use our SEO vocabulary guide when preparing your content brief.
Step 2: Add a Schedule Trigger
In n8n, create a new workflow and add the Schedule Trigger node. Set the interval to Days, choose 1, and pick the hour you want. While building, you can ignore the schedule and click Execute Workflow to test at any time.
Step 3: Fetch the Next Topic
Next, add a Google Sheets node and choose the Get Row(s) operation. Connect your Google account when prompted, then select the Content Plan file and sheet. Under Filters, set the column to Status and the value to Ready.
After that, add a Limit node and set Max Items to 1. Without it, the workflow would draft every ready topic in one run, which can burn through API credit quickly.
Step 4: Write the Article With the OpenAI Node
Now add the OpenAI node, choose the Text resource, and select Generate a Chat Completion. In older n8n versions, this operation was called Message a Model. Add your OpenAI credential, then pick a model from the dropdown. n8n's own docs use gpt-4o-mini as the example of a faster, lower-cost option.
Turn on Simplify Output and Output Content as JSON. Then add two messages. First, a System message sets the rules:
You are an experienced blog writer. Write in plain, friendly English with short paragraphs. Use H2 and H3 headings in HTML. Do not invent statistics, quotes, or sources. If a fact needs checking, write [VERIFY] next to it. Return JSON with three keys: title, meta_description, content.
Second, a User message passes in the data from your sheet using n8n expressions:
Write a 1,200-word blog post.
Topic: {{ $json.Topic }}
Primary keyword: {{ $json.Keyword }}
Audience: {{ $json.Audience }}
Use the keyword in the title, the first paragraph and one H2.
Notice the [VERIFY] instruction. It flags claims for your editor instead of hiding them, which matters because language models can state wrong facts confidently. Finally, click Execute Step and inspect the output panel to confirm you see a title, meta description, and content.
Before approving the result, review its structure, evidence, and audience fit. Our guide on how to write a blog post editors approve gives your editor a useful reference for improving the first draft.
Step 5: Send the Draft to WordPress
Before adding the node, create a WordPress Application Password. In your WordPress dashboard, go to Users, open your profile, and find the Application Passwords section. Give it a name such as "n8n", then copy the password immediately, because WordPress shows it only once. Also check that yoursite.com/wp-json loads, since a 403 error means the REST API is blocked.
Back in n8n, add the WordPress node and choose Create a post. Create a credential with your username, the application password, and your site URL starting with https://. Then map the fields with expressions. In the published Hostinger tutorial, the paths look like this:
Title: {{ $json.message.content.title }}
Content: {{ $json.message.content.content }}
Your exact path can differ by node version, so drag the fields from the input panel if these do not resolve. Most importantly, set the post status to Draft. That single setting keeps a human in charge of what goes live.
Step 6: Update Your Sheet
Lastly, add a second Google Sheets node with the Update Row operation. Match on the Topic column, set Status to "Drafted", and write the post link into Post URL. As a result, the same topic will never be picked again, and your sheet doubles as a publishing log.
Once every step runs cleanly, switch the workflow to Active. From then on, n8n will draft one article on schedule.
After an editor approves and publishes an article, you can plan its distribution separately. Explore content sharing and curation sites for places to share a useful summary and a link to the live post.
Real Example: Hostinger's Published Workflow
If you want a second reference, Hostinger's tutorial on the n8n WordPress node builds a similar flow. It uses a Schedule Trigger at 8 AM, one OpenAI node to suggest a topic, Google Sheets plus an If node to block duplicate topics, and a second OpenAI node to write the post before WordPress creates a draft. That design suits sites that want the AI to propose topics. In contrast, the build above keeps topic selection with you, which is usually safer for quality.
You can also browse ready-made workflows in n8n's template library at n8n.io/workflows and import one as a starting point.
Keep Quality High and Stay Google-Safe
Automation speeds up drafting, but it should not replace editing. Google's guidance says it rewards helpful, people-first content however it is produced. However, its spam policies treat mass-producing pages mainly to manipulate rankings as scaled content abuse. In practice, follow these habits:
Habit | Why it matters |
|---|---|
Keep posts as drafts | A person checks every article before it goes live |
Verify every [VERIFY] flag | Removes errors the model may have introduced |
Add real experience | Examples, screenshots, and opinions show E-E-A-T |
Publish at a sensible pace | Avoids looking like scaled, low-value output |
Watch API spend | Set usage limits in your OpenAI account |
Common Errors and Quick Fixes
If the OpenAI node fails, first check that your API key is valid and your account has credit. A 401 or 403 error from WordPress usually means a wrong application password or a blocked REST API. Meanwhile, if WordPress receives empty fields, your expression path is wrong, so remap it from the input panel. When debugging, start at the node nearest the trigger and work forward.
Disclaimer: This guide is for general information and is not affiliated with n8n, OpenAI, Google, WordPress, or Hostinger. Interfaces, node names, models, and prices change over time, so check each provider's official documentation before you build. AI-generated text can contain errors; always review and fact-check drafts before publishing, and follow Google's Search spam policies.
Final Thoughts
Learning how to automate content creation with n8n and ChatGPT is less about replacing writers and more about removing busywork. A spreadsheet feeds topics, the OpenAI node writes a first draft, and WordPress holds it for your review. Start with one article a day, edit every draft carefully, and expand the workflow only once the quality is consistently where you want it.
If you later adapt an approved article for another audience, our guide to free article submission sites can help you compare publishing options. Check each platform’s editorial rules and AI-content policy before submitting.
Frequently Asked Questions
Can I use my ChatGPT Plus subscription with n8n?
No. ChatGPT Plus does not include API access. You need a separate OpenAI API account, or Gateway credits on n8n Cloud.
Is n8n free?
The self-hosted Community Edition is free under the Sustainable Use License. n8n Cloud is a paid service with monthly execution limits.
Which OpenAI operation should I use in n8n?
Use Generate a Chat Completion, previously called Message a Model, or Generate a Model Response in the newer V2 node.
Can n8n publish directly to WordPress?
Yes. The WordPress node can create posts using an application password. Saving them as drafts first is strongly recommended.
Will Google penalise automated content?
Google judges content on quality and helpfulness, not on how it was made. Mass-produced pages created mainly to game rankings can break its spam policies.
Ready to place content on verified websites?
Browse verified editorial opportunities →Transparent publisher metrics and pricing on guestpostsoftware.com.
Share
About the author
Riya Singh
Editorial and SEO insights from the Guestpost Software team—guest posting strategy, publisher relationships, and measurable content outcomes.
About Guestpost Software · Our editorial process · Help Center
Related posts
Continue reading

How to Write a Blog Post Editors Approve Instantly
How to Write a Blog Post Editors Approve Instantly

How to Verify Website Traffic for Guest Posting Before You Buy
Practical guest posting and SEO guidance from Guestpost Software.
17 Best Free Profile Creation Sites for Brands and Professionals in 2026
Profile creation sites let you build a public profile with a bio, photo, and website link. Here are 17 free platforms, plus how to connect them for search.
15 Social Bookmarking Sites That Still Work in 2026 (Plus Modern Alternatives)
Most classic bookmarking sites are gone. Here are the social bookmarking sites that still work in 2026, plus where their audience moved.
Off-Page SEO Sites List 2026: 17 Free Submission Categories
Your complete off-page SEO roadmap: 17 free submission categories with 300+ verified platforms, suggested priorities, and a full guide for each.
13 Best Question and Answer Sites for Brands and Experts in 2026
Q&A sites let experts answer real questions and build trust. Here are 13 active question and answer platforms for 2026.