Create daily Google Trends image posts for Instagram, TikTok, and Facebook with OpenAI and PostWire
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI, Google Sheets and Gmail. It also calls postwire.io over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00).
- Set your brand and niche (Edit Fields (Set)): sets 4 fields: brand, niche, country…
- Read Google Trends (RSS Read): reads an RSS feed
- Skip trends already used (Remove Duplicates): removes duplicate items
- Keep the top 10 trends (Limit): keeps the first few items
- Collect the trends (Aggregate): combines items into one
- Pick a trend with OpenAI (OpenAI): response (text)
- Read the plan (Edit Fields (Set)): sets 3 fields: plan, networks, date
- On brand? (If): checks a condition and branches into true / false
- Get an upload slot (HTTP Request): calls postwire.io (POST)
- Generate the image with GPT Image (OpenAI): generate (image)
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
HTTP calls to: postwire.io
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - RSS Read
n8n-nodes-base.rssFeedRead - Remove Duplicates
n8n-nodes-base.removeDuplicates - Limit
n8n-nodes-base.limit - Aggregate
n8n-nodes-base.aggregate - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow runs every morning, reads Google Trends RSS for a chosen country, uses OpenAI to select an on-brand trend and generate captions and an image prompt, creates an image with GPT Image, publishes to Instagram, TikTok, and Facebook via…