Create LinkedIn news posts with Google Gemini, OpenAI images and Slack
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every day). Along the way it connects Google Gemini, Gmail, OpenAI and Slack. It also calls newsapi.org and api.linkedin.com over HTTP.
How it runs
Trigger: On a schedule (every day).
- Fetch Latest News Articles (HTTP Request): calls newsapi.org
- Validate News Availability (If): checks a condition and branches into true / false
- AI News Quality Filter (Google Gemini): uses Google Gemini
- Notify for not availability of news (Gmail): uses Gmail
- Prepare Filter News data (Code): runs custom JavaScript code
- Check Content Relevance (If): checks a condition and branches into true / false
- Generate LinkedIn Post Content (Google Gemini): uses Google Gemini
- Notify not relevent data for publishing (Gmail): uses Gmail
- Clean AI Response Data (Code): runs custom JavaScript code
- Generate AI Post Image (OpenAI): work with image
…plus 7 more steps. See the full node list below.
Services it uses
HTTP calls to: newsapi.org, api.linkedin.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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Extract from File
n8n-nodes-base.extractFromFile - Convert to File
n8n-nodes-base.convertToFile - Slack
n8n-nodes-base.slack
From the author
Quick Overview This scheduled workflow pulls the latest AI-related articles from NewsAPI, uses Google Gemini to filter and draft a LinkedIn post plus image prompt, generates an image with OpenAI, uploads the image and post to LinkedIn via its API, and sends…