🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Dumpling AI + Google Docs: blog drafts on autopilot

Lisa Granqvist Partner Workflow Automation Expert

Turning a single keyword into a publishable post still takes forever. You bounce between Google, open ten tabs, skim articles, copy scraps into a doc, then realize half your “sources” are old or thin.

Content marketers feel it when the calendar is full and the brief is empty. SEO pros run into it when they need speed without trashing quality. And VAs supporting founders get stuck doing research-heavy drafts all day. This blog draft automation takes one keyword and gets you to a ready-to-edit Google Doc fast.

This workflow uses Dumpling AI for fresh source discovery, OpenAI for drafting, and Google Docs for delivery. You’ll see what it does, what you need, and how it saves hours without turning your content into generic fluff.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Dumpling AI + Google Docs: blog drafts on autopilot

The Problem: Keyword Research Turns Into a Time Sink

Writing “from scratch” usually means you’re doing three jobs at once: researcher, editor, and formatter. You start with a keyword, then waste time trying to find sources that are recent enough to matter. Next comes the messy part: scraping quotes, summarizing pages, and stitching it together into something that resembles a coherent outline. And if you hand it off, you still end up rewriting because the draft lacks structure, uses stale references, or reads like it was stitched together from random snippets.

It adds up fast. The friction compounds when you need to do it every week, not once.

  • Finding genuinely fresh sources can take about an hour per post, especially in fast-moving niches.
  • Manual summarizing is mentally exhausting, so the writing quality usually drops by the last third of the draft.
  • Copy-paste research workflows invite errors, like misquoting a stat or saving the wrong link.
  • Formatting and structure become an afterthought, which means you are editing twice.

The Solution: Turn One Keyword Into a Google Doc Draft

This n8n workflow starts with a single keyword you submit through a form, then expands it into multiple trending variations using Dumpling AI Autocomplete. For each suggestion, it pulls recent Google News results via Dumpling AI, filters them so you’re only working with articles from roughly the last day or two, and caps the list so it doesn’t spiral into dozens of sources. It then scrapes the full article text, cleans out the junk (navigation, link lists, unrelated blocks), and aggregates the remaining content into one clean input. OpenAI uses that curated source bundle to generate a structured blog draft and a clear title. Finally, n8n creates a new Google Doc and inserts the draft so you can edit and publish without wrestling with exports or formatting.

The workflow begins with your keyword submission. Dumpling AI finds related, trending searches and fresh articles, then n8n cleans and combines the text. OpenAI writes the first draft, and Google Docs receives it as a ready-to-edit document.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you publish 3 blog posts a week. Manually, you might spend about 45 minutes finding sources, another hour pulling notes and summaries, then 60–90 minutes writing a rough draft, so call it about 3 hours per post. With this workflow, you submit the keyword in a minute, then let it fetch and clean sources and generate the draft while you do something else (often around 10–20 minutes of processing and waiting). You’re mostly left with editing, which for many teams is about 30–45 minutes per post. That’s a lot of reclaimed time by Friday.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Dumpling AI for autocomplete, news, and scraping.
  • OpenAI to generate the blog draft and title.
  • Dumpling AI API key (get it from your Dumpling AI dashboard).

Skill level: Beginner. You will connect accounts, paste API keys, and tweak a couple of text prompts.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

Keyword intake through a simple form. You submit one target keyword (or a rough topic), and the workflow kicks off immediately in n8n.

Fresh topic expansion and source discovery. Dumpling AI Autocomplete generates related suggestions, then the workflow loops through them with a short pause to avoid hammering external APIs. For each suggestion, Dumpling AI Google News fetches recent articles so you’re not building a draft on last month’s takes.

Cleaning and consolidating the source text. The workflow filters articles to a tight recency window (about 1–2 days old), limits the number of articles per suggestion, scrapes full pages, and strips out clutter so the model gets readable content instead of site chrome.

Draft creation and delivery to Google Docs. OpenAI generates a complete draft (with a title), then n8n creates a Google Doc and inserts the content so it’s ready for edits and collaboration.

You can easily modify the recency filter to pull weekly sources instead of daily news, or adjust the article cap to make drafts shorter or deeper. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Configure the Form Trigger

Start the workflow by collecting keywords from a form submission.

  1. Add the Keyword Intake Form node as your trigger.
  2. Set Form Title to Blog form.
  3. Under Form Fields, add a field labeled Keywords so the workflow receives $json.Keywords.

⚠️ Common Pitfall: If the form field label doesn’t exactly match Keywords, the expression {{ $json.Keywords }} used later will be empty.

Connect the Autocomplete and News APIs

Use DumplingAI endpoints to generate suggestions and fetch recent news for each topic.

  1. Configure Autocomplete API Lookup with URL https://app.dumplingai.com/api/v1/get-autocomplete, Method POST, and Send Body enabled.
  2. In Autocomplete API Lookup set body parameter query to {{ $json.Keywords }} and country to US.
  3. Credential Required: Connect your httpHeaderAuth credentials in Autocomplete API Lookup.
  4. Configure News Search API with URL https://app.dumplingai.com/api/v1/search-news, Method POST, and Send Body enabled.
  5. In News Search API set body parameter query to {{ $json.value }} and country to US.
  6. Credential Required: Connect your httpHeaderAuth credentials in News Search API.

Tip: The execution order is Keyword Intake FormAutocomplete API LookupBreakout Suggestion List so make sure the autocomplete response contains a suggestions array.

Process Suggestions and Fetch Articles

Split suggestions into batches, fetch recent articles, and scrape content.

  1. Set Breakout Suggestion List to split the field Field to Split Out as suggestions.
  2. Use Iterate Suggestions Batch to control batch processing of each suggestion.
  3. Configure Pause Between Calls as needed to respect rate limits before hitting the news endpoint.
  4. Set Separate News Items to split Field to Split Out as news.
  5. Keep the custom filtering logic in Filter Recent Articles to restrict results to articles 1–2 days old.
  6. Set Cap Article Count to Max Items 2 to limit scrape volume.
  7. Configure Article Scrape Request with URL https://app.dumplingai.com/api/v1/scrape and body parameter url set to {{ $json.URL }}.
  8. Credential Required: Connect your httpHeaderAuth credentials in Article Scrape Request.

Execution Note: Iterate Suggestions Batch outputs to both Combine Article Content and Pause Between Calls in parallel, so article aggregation happens while the workflow queues up the next news call.

Sanitize and Aggregate Article Content

Clean scraped article text and combine it into a single payload for AI drafting.

  1. Keep the text cleanup logic in Sanitize Article Text to remove markdown images, URLs, and non-article sections.
  2. Set Combine Article Content to include Fields to Include article and store in Destination Field Name article.
  3. Verify the data flow: Article Scrape RequestSanitize Article TextIterate Suggestions BatchCombine Article Content.

⚠️ Common Pitfall: If scraped articles don’t contain a content field, the sanitizer will return empty articles and the AI draft will be weak.

Set Up AI Draft Generation

Generate a structured blog post draft based on aggregated article content.

  1. In AI Draft Generation, keep JSON Output enabled.
  2. Confirm the system and user messages include the expression {{ JSON.stringify($json.article) }} so the model receives the combined content.
  3. Credential Required: Connect your openAiApi credentials in AI Draft Generation.

Configure Google Docs Output

Create a Google Docs file and insert the AI-generated draft content.

  1. In Create Docs File, set Title to {{ $json.message.content.title }} and Folder ID to [YOUR_ID].
  2. Credential Required: Connect your googleDocsOAuth2Api credentials in Create Docs File.
  3. In Insert Draft Content, set Operation to update and Document URL to {{ $json.id }}.
  4. Add an Insert action with Text set to {{ $('AI Draft Generation').item.json.message.content.Blog_post }}.
  5. Credential Required: Connect your googleDocsOAuth2Api credentials in Insert Draft Content.

Replace [YOUR_ID] with a valid Google Drive folder ID or the document will be created in the default location.

Test and Activate Your Workflow

Validate the end-to-end pipeline before turning it on.

  1. Click Execute Workflow and submit the Keyword Intake Form with a sample keyword.
  2. Confirm that Autocomplete API Lookup returns a suggestions array and that News Search API returns news items.
  3. Verify AI Draft Generation outputs JSON with Blog_post and title.
  4. Check that Create Docs File creates a document and Insert Draft Content inserts the blog draft.
  5. When satisfied, toggle the workflow to Active for production use.

Common Gotchas

  • Google Docs credentials can expire or need specific permissions. If things break, check your Google connection inside n8n’s Credentials page first and confirm it has write access.
  • If you’re using Wait nodes or external scraping, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this blog draft automation?

About 30 minutes if your API keys are ready.

Do I need coding skills to automate blog draft creation?

No. You’ll mostly connect accounts, paste keys, and adjust a couple of prompts and filters.

Is n8n free to use for this blog draft automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in OpenAI API costs (often a few cents per draft) plus Dumpling AI usage based on your plan.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this blog draft automation workflow for weekly sources instead of daily news?

Yes, and it’s one of the best tweaks. Update the “Filter Recent Articles” code node so it accepts a wider date window (like the last 7 days) and consider increasing the “Cap Article Count” limit if you want richer drafts. You can also adjust the prompt in the OpenAI draft node to match your format (listicle, opinion piece, product-led, or strict SEO outline). If you publish in a regulated niche, add a requirement for citations and a “verify claims” section so edits are faster.

Why is my Dumpling AI connection failing in this workflow?

Usually it’s a missing or expired API key in the HTTP Request nodes used for Autocomplete, Google News, or the Scraper. Confirm your Dumpling AI key is active, then check the request headers in n8n and make sure you didn’t paste extra spaces. If it fails only sometimes, it can be rate limiting, so the “Pause Between Calls” wait node may need a longer delay. Also check that the article URLs returned by News are reachable, because some sites block scraping.

How many drafts can this blog draft automation handle?

On n8n Cloud, it depends on your monthly execution limit, and this workflow can run multiple executions per draft because it loops through suggestions and articles. If you self-host, there’s no execution cap from n8n, so the practical limit becomes your server size and your Dumpling AI/OpenAI usage. In real terms, most small teams run a few drafts a day comfortably, then scale up once prompts and limits are dialed in.

Is this blog draft automation better than using Zapier or Make?

Often, yes, because this is not a simple two-step zap. You’re looping over suggestions, filtering by publish date, scraping, cleaning text, aggregating, then generating a doc, which is exactly where n8n’s control is handy. Self-hosting is also a big deal if you’re running lots of drafts and don’t want to pay per task. Zapier or Make can still work if you simplify the workflow and accept fewer sources. Talk to an automation expert if you want help choosing the simplest setup that still produces good drafts.

You set the keyword once, and the workflow does the tedious part on repeat. Honestly, it’s the difference between “we should publish more” and “we did.”

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal