Templates / Publish AI-written newsletters and LinkedIn posts from WordPress with Gemini, Google Sheets and Gmail

Publish AI-written newsletters and LinkedIn posts from WordPress with Gemini, Google Sheets and Gmail

Ready for 3.0

by Avkash Kakdiya ✓ · 69 views · created 2026-03-31 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on a schedule (every day). Along the way it connects Google Gemini Chat Model, LinkedIn, Google Sheets and Gmail. It also calls vaguefoundation.com over HTTP.

How it runs

Trigger: On a schedule (every day).

  1. HTTP Request: calls vaguefoundation.com
  2. Last ID (Google Sheets): uses Google Sheets
  3. If: checks a condition and branches into true / false
  4. Update Last ID (Google Sheets): update
  5. data cleanse (Code): runs custom JavaScript code
  6. AI Agent: runs an AI agent, with model: Google Gemini Chat Model
  7. Format Response (Code): runs custom JavaScript code
  8. Email List (Google Sheets): uses Google Sheets
  9. Create a post (LinkedIn): uses LinkedIn
  10. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 1 more step. See the full node list below.

Services it uses

Google Gemini Chat ModelLinkedInGoogle SheetsGmail

HTTP calls to: vaguefoundation.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

How it works This workflow fetches the latest blog post from a WordPress API and checks against a Google Sheets tracker to prevent duplicate processing. If a new post is found, the workflow updates the tracker and cleans the blog data. The cleaned content is…

Excerpt from Avkash Kakdiya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.