OpenAI + Gmail: LinkedIn drafts ready to review
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
flowchart LR
subgraph sg0["Scheduled News Scan Flow"]
direction LR
n0@{ icon: "mdi:play-circle", form: "rounded", label: "Scheduled News Scan", pos: "b", h: 48 }
n1@{ icon: "mdi:cog", form: "rounded", label: "Fetch VentureBeat Feed", pos: "b", h: 48 }
n2@{ icon: "mdi:cog", form: "rounded", label: "Retrieve TechCrunch Feed", pos: "b", h: 48 }
n3@{ icon: "mdi:cog", form: "rounded", label: "Pull OpenAI Blog Feed", pos: "b", h: 48 }
n4["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/merge.svg' width='40' height='40' /></div><br/>Combine Source Streams"]
n5["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/code.svg' width='40' height='40' /></div><br/>Filter Recent AI Items"]
n6["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/code.svg' width='40' height='40' /></div><br/>Assemble Summary Input"]
n7@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Validate Article Count", pos: "b", h: 48 }
n8@{ icon: "mdi:robot", form: "rounded", label: "Summarize AI Headlines", pos: "b", h: 48 }
n9@{ icon: "mdi:robot", form: "rounded", label: "Compose LinkedIn Draft", pos: "b", h: 48 }
n10@{ icon: "mdi:message-outline", form: "rounded", label: "Email Review Draft", pos: "b", h: 48 }
n11@{ icon: "mdi:message-outline", form: "rounded", label: "Notify No Articles", pos: "b", h: 48 }
n3 --> n4
n4 --> n5
n2 --> n4
n8 --> n9
n1 --> n4
n0 --> n1
n0 --> n2
n0 --> n3
n7 --> n8
n7 --> n11
n9 --> n10
n5 --> n6
n6 --> n7
end
%% Styling
classDef trigger fill:#e8f5e9,stroke:#388e3c,stroke-width:2px
classDef ai fill:#e3f2fd,stroke:#1976d2,stroke-width:2px
classDef aiModel fill:#e8eaf6,stroke:#3f51b5,stroke-width:2px
classDef decision fill:#fff8e1,stroke:#f9a825,stroke-width:2px
classDef database fill:#fce4ec,stroke:#c2185b,stroke-width:2px
classDef api fill:#fff3e0,stroke:#e65100,stroke-width:2px
classDef code fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
classDef disabled stroke-dasharray: 5 5,opacity: 0.5
class n0 trigger
class n8,n9 ai
class n7 decision
class n5,n6 code
classDef customIcon fill:none,stroke:none
class n4,n5,n6 customIcon
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
| What This Workflow Automates | Results You’ll Get |
|---|---|
|
|
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.
- Add or open Scheduled News Scan and set the interval to
hourswithhoursIntervalof24. - 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.
Step 2: Connect RSS Sources
Pull AI news from three RSS feeds and consolidate them into one stream.
- In Fetch VentureBeat Feed, set URL to
https://feeds.feedburner.com/venturebeat/SZYF. - In Retrieve TechCrunch Feed, set URL to
https://techcrunch.com/category/artificial-intelligence/feed/. - In Pull OpenAI Blog Feed, set URL to
https://openai.com/blog/rss.xml. - In Combine Source Streams, set Mode to
combineand Combination Mode tomultiplex.
Step 3: Set Up Processing and Filtering
Filter the combined feed to recent AI-related items and build a summary input payload.
- 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.
- Open Assemble Summary Input and keep the JavaScript Code that builds the
articlesstring and setsarticleCountandprocessedAt.
Step 4: Configure AI Summarization and Drafting
Use OpenAI to summarize the articles and then generate a LinkedIn-ready draft.
- In Validate Article Count, set the condition to check Left Value as
{{ $json.articleCount }}with a Number greater than0. - In Summarize AI Headlines, select model
gpt-4.1-miniand keep the prompt that ends with{{ $json.articles }}. - Credential Required: Connect your openAiApi credentials in Summarize AI Headlines.
- In Compose LinkedIn Draft, select model
gpt-4.1-miniand keep the prompt that references{{ $json.message.content }}. - Credential Required: Connect your openAiApi credentials in Compose LinkedIn Draft.
articleCount from Assemble Summary Input.Step 5: Configure Output Emails
Send the LinkedIn draft for review and notify when no articles are found.
- In Email Review Draft, set Message to
{{ $json.message.content }}, Subject toLinkedIn AI Post Ready for Review, and Email Type totext. - Credential Required: Connect your gmailOAuth2 credentials in Email Review Draft.
- In Notify No Articles, set Message to
No AI News Found Today, Subject toNo AI News Found Today, and Email Type totext. - 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.
- Click Execute Workflow and verify that Scheduled News Scan triggers all three RSS nodes in parallel.
- Confirm that Filter Recent AI Items outputs a maximum of 10 AI-related items and Assemble Summary Input sets
articleCount. - 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.
- When the condition is false, verify that Notify No Articles sends the fallback email.
- Toggle the workflow to Active to run automatically every 24 hours.
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
About 15–30 minutes if your accounts are ready.
No. You will mainly connect Gmail and paste your OpenAI API key.
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.
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.
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).
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.
Plenty for a daily run, but keep it reasonable; most people cap it to a handful of stories so the draft stays readable.
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.