🔓 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

OpenAI + Gmail: LinkedIn drafts ready to review

Lisa Granqvist Partner Workflow Automation Expert

Keeping up with AI news is hard enough. Turning it into a solid LinkedIn post every morning is where the whole thing usually falls apart, and you end up staring at a blank draft again (or posting nothing).

This OpenAI Gmail automation hits marketing managers first, honestly. But founders and solo consultants feel it too, because consistency is half the game. The outcome is simple: a ready-to-review LinkedIn draft lands in your inbox every morning, built from real articles in your tone.

Below you’ll see exactly what this workflow automates, what results you can expect, and what you’ll need to get it running in n8n.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: OpenAI + Gmail: LinkedIn drafts ready to review

The Problem: Daily LinkedIn posting becomes a time sink

“Post consistently” sounds easy until you do the math. You skim a few sources, open five tabs, copy links into a doc, pull out the key points, then rewrite it all so it doesn’t sound like a robot. And because it’s AI news, it moves fast. Miss a day and you feel behind. Do it manually and you spend your best thinking time on busywork, not point of view.

It’s not one big task. It’s dozens of tiny ones that keep interrupting your day.

  • Finding “the best” articles can easily eat about 30 minutes before you’ve written a single line.
  • Summaries are inconsistent when you’re rushed, which means your posts feel scattered week to week.
  • Switching between feeds, notes, and drafts adds mental load that makes you procrastinate the writing.
  • When you finally publish, you can’t tell if the time spent was even worth it.

The Solution: Morning AI news → LinkedIn draft in Gmail

This workflow runs on a daily schedule and pulls fresh AI articles from multiple RSS feeds (VentureBeat, TechCrunch, and the OpenAI blog by default). It checks what’s new in the last 24 hours, then assembles the key information into an input format OpenAI can reliably summarize. From there, OpenAI generates two things: a clean summary of the headlines and a LinkedIn-ready draft written in your style prompt. Finally, n8n emails that draft to your Gmail so you can review, tweak a line or two, and post when you’re ready. If there aren’t enough new items, it emails you a simple “no articles” notice instead of sending fluff.

The workflow starts with a morning trigger. It merges several RSS sources into one stream, filters out old items, and uses OpenAI to summarize and write. Gmail delivers the finished draft to your inbox, ready for a quick human pass.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you want to post one AI update every weekday. Manually, you might check 3 feeds at about 10 minutes each, then spend another 30 minutes summarizing and writing, so roughly an hour a day. With this workflow, you spend about 5 minutes skimming the emailed draft and adjusting the hook, then you post. Even if OpenAI takes a few minutes to process in the background, you’re not doing the work. That’s roughly 4 hours back each week.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • OpenAI for summarizing articles and drafting posts
  • Gmail to receive the daily review email
  • OpenAI API key (get it from the OpenAI API dashboard)

Skill level: Beginner. You’ll connect accounts, paste an API key, and edit a writing-style prompt.

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

How It Works

A daily scheduled trigger fires. n8n starts the workflow every morning so you don’t have to remember to run anything.

RSS feeds are pulled and combined. VentureBeat, TechCrunch, and the OpenAI blog are fetched, then merged into a single list of candidate articles.

Recent items are filtered and prepared for AI. A small code step filters to the last 24 hours and assembles a clean input, which helps OpenAI summarize without missing key context.

OpenAI writes the summary and the LinkedIn draft. First it produces a structured summary of what matters, then it composes a post in your tone (based on the prompt you customize).

Gmail delivers the output. If there are enough fresh articles, you get a draft ready for review. If not, you get a quick notification so you’re not tempted to post filler.

You can easily modify the RSS sources to match your niche or swap the Gmail delivery to another inbox based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Schedule Trigger

Set the workflow to scan AI news on a daily schedule and fan out to multiple RSS sources in parallel.

  1. Add or open Scheduled News Scan and set the interval to hours with hoursInterval of 24.
  2. Ensure Scheduled News Scan outputs to three nodes in parallel: Fetch VentureBeat Feed, Retrieve TechCrunch Feed, and Pull OpenAI Blog Feed.

Scheduled News Scan outputs to both Fetch VentureBeat Feed and Retrieve TechCrunch Feed and Pull OpenAI Blog Feed in parallel.

If you want a different cadence, change the schedule interval in Scheduled News Scan but keep the parallel fan-out to avoid missing sources.

Step 2: Connect RSS Sources

Pull AI news from three RSS feeds and consolidate them into one stream.

  1. In Fetch VentureBeat Feed, set URL to https://feeds.feedburner.com/venturebeat/SZYF.
  2. In Retrieve TechCrunch Feed, set URL to https://techcrunch.com/category/artificial-intelligence/feed/.
  3. In Pull OpenAI Blog Feed, set URL to https://openai.com/blog/rss.xml.
  4. In Combine Source Streams, set Mode to combine and Combination Mode to multiplex.
⚠️ Common Pitfall: Ensure each RSS node connects to the correct input of Combine Source Streams to avoid missing feed items.

Step 3: Set Up Processing and Filtering

Filter the combined feed to recent AI-related items and build a summary input payload.

  1. Open Filter Recent AI Items and keep the JavaScript Code that filters to the last 48 hours and AI keywords, removes duplicates, sorts by date, and limits to 10 items.
  2. Open Assemble Summary Input and keep the JavaScript Code that builds the articles string and sets articleCount and processedAt.
If you need more sources or a different time window, update the keyword list or time logic inside Filter Recent AI Items.

Step 4: Configure AI Summarization and Drafting

Use OpenAI to summarize the articles and then generate a LinkedIn-ready draft.

  1. In Validate Article Count, set the condition to check Left Value as {{ $json.articleCount }} with a Number greater than 0.
  2. In Summarize AI Headlines, select model gpt-4.1-mini and keep the prompt that ends with {{ $json.articles }}.
  3. Credential Required: Connect your openAiApi credentials in Summarize AI Headlines.
  4. In Compose LinkedIn Draft, select model gpt-4.1-mini and keep the prompt that references {{ $json.message.content }}.
  5. Credential Required: Connect your openAiApi credentials in Compose LinkedIn Draft.
⚠️ Common Pitfall: If the summary is empty, verify that Validate Article Count is receiving articleCount from Assemble Summary Input.

Step 5: Configure Output Emails

Send the LinkedIn draft for review and notify when no articles are found.

  1. In Email Review Draft, set Message to {{ $json.message.content }}, Subject to LinkedIn AI Post Ready for Review, and Email Type to text.
  2. Credential Required: Connect your gmailOAuth2 credentials in Email Review Draft.
  3. In Notify No Articles, set Message to No AI News Found Today, Subject to No AI News Found Today, and Email Type to text.
  4. Credential Required: Connect your gmailOAuth2 credentials in Notify No Articles.

Step 6: Test and Activate Your Workflow

Run a manual test to confirm the parallel feeds, filtering logic, AI summary, and email delivery work as expected, then activate for daily use.

  1. Click Execute Workflow and verify that Scheduled News Scan triggers all three RSS nodes in parallel.
  2. Confirm that Filter Recent AI Items outputs a maximum of 10 AI-related items and Assemble Summary Input sets articleCount.
  3. When Validate Article Count is true, verify that Summarize AI Headlines and Compose LinkedIn Draft run and that Email Review Draft sends the draft email.
  4. When the condition is false, verify that Notify No Articles sends the fallback email.
  5. Toggle the workflow to Active to run automatically every 24 hours.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Gmail credentials can expire or need specific permissions. If things break, check the n8n Credentials page and the Gmail connection status first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • OpenAI 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 OpenAI Gmail automation?

About 15–30 minutes if your accounts are ready.

Do I need coding skills to automate LinkedIn draft creation?

No. You will mainly connect Gmail and paste your OpenAI API key.

Is n8n free to use for this OpenAI Gmail 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, which are usually just a few cents per day for one daily draft.

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 OpenAI Gmail automation workflow for my niche instead of AI news?

Yes, and it’s one of the best tweaks. Replace the RSS feed URLs in the RSS Read nodes (VentureBeat, TechCrunch, OpenAI Blog) with sources for your niche, then adjust the “Compose LinkedIn Draft” OpenAI prompt to match your audience. Common customizations include adding a “take” section, changing the post length, or forcing a specific structure (hook, bullets, CTA).

Why is my Gmail connection failing in this workflow?

Usually it’s expired or revoked OAuth access, so the Gmail credential in n8n needs to be reconnected. It can also happen if the Gmail account has extra security restrictions or if you changed the password and Google invalidated the session. If the workflow runs but emails never arrive, double-check the “to” address inside the Gmail node and look at the execution log for a send error.

How many articles can this OpenAI Gmail automation handle?

Plenty for a daily run, but keep it reasonable; most people cap it to a handful of stories so the draft stays readable.

Is this OpenAI Gmail automation better than using Zapier or Make?

Often, yes, because the logic here is a little more than “send this to that.” n8n makes it easier to merge multiple RSS sources, filter by time, and then run two separate AI steps (summary, then draft) without weird workarounds. Self-hosting is also a real advantage if you want lots of executions without paying per task. Zapier or Make can be quicker for very simple automations, but you may hit limits once you start looping through multiple feed items. If you want a second opinion, Talk to an automation expert.

You don’t need more willpower to post consistently. You need a system that shows up every morning with a draft worth editing.

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