Generate LinkedIn posts with GPT-4o-mini, Gemini images, human approval, and auto-publish
UnknownWhat this workflow does
This AI workflow has 15 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model, Google Sheets, Gmail and LinkedIn and 2 more.
How it runs
Trigger: On a schedule (every day).
- Get Data from Sheets (Google Sheets): uses Google Sheets
- Generate Post Content (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Switch: routes items into 2 branches
- Generate Post Image (Google Gemini): work with image
- Send Content Confirmation (Gmail): send and wait for a reply
- Upload a File (Upload To Url): uses Upload To Url
- Content Confirmation Logic (Switch): routes items into 2 branches
- Is Image Required? (If): checks a condition and branches into true / false
- Update Status to Canceled (Google Sheets): update
- Download a File (Upload To Url): download
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-uploadtourl is verified or supports 3.0 (used in Upload a File, Download a File).
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - LinkedIn
n8n-nodes-base.linkedIn - If
n8n-nodes-base.if - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Upload To Url
n8n-nodes-uploadtourl.uploadToUrl
From the author
An advanced AI-powered LinkedIn automation workflow built with n8n that generates high-engagement LinkedIn posts using GPT-4o-mini, optionally creates AI-generated visuals with Google Gemini, sends everything for human approval via Gmail, and finally…