Post Google News headlines to Instagram images with GPT-4o-mini, PDF API Hub and Google Sheets
UnknownWhat this workflow does
This AI workflow has 12 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets, OpenAI Chat Model, Pdf Api Hub (community) and Instagram (community).
How it runs
Trigger: On a schedule (every hour).
- Set Topic (Edit Fields (Set)): sets or maps fields
- Fetch Sheet Rows (Google Sheets): uses Google Sheets
- Google News RSS (RSS Read): reads an RSS feed
- Deduplicate Articles (Code): runs custom JavaScript code
- Save to Sheet (Google Sheets): append
- Rewrite Headline (AI) (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-4o-mini
- Generate News Image (Pdf Split Merge): html to image (image generation)
- Post to Instagram (Instagram): uses Instagram
- Save Image URL to Sheet (Google Sheets): update
- Mark as Posted (Google Sheets): update
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-pdf-api-hub is verified or supports 3.0 (used in Generate News Image).
- Check that @mookielianhd/n8n-nodes-instagram is verified or supports 3.0 (used in Post to Instagram).
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - RSS Read
n8n-nodes-base.rssFeedRead - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Pdf Split Merge
n8n-nodes-pdf-api-hub.pdfSplitMerge - Instagram
@mookielianhd/n8n-nodes-instagram.instagram
From the author
Name Auto-post Google News to Instagram with OpenAI, PDF API Hub & Google Sheets Description Automatically fetch trending news from Google News RSS, rewrite headlines into viral captions with OpenAI, generate branded breaking-news images using PDF API Hub's…