Rewrite top Instagram posts for LinkedIn, Facebook and Bluesky with Apify and OpenAI
UnknownWhat this workflow does
This AI workflow has 19 nodes and runs on a schedule (every day at 07:00). Along the way it connects Gmail, OpenAI, Google Sheets and Postwire (community). It also calls api.apify.com over HTTP.
How it runs
Trigger: On a schedule (every day at 07:00).
- Niche settings (Edit Fields (Set)): sets 9 fields: brand, hashtags, posts_per_hashtag…
- Scrape Instagram with Apify (HTTP Request): calls api.apify.com (POST)
- Keep popular recent posts (Filter): keeps only the items that match a condition
- Email me that Apify failed (Gmail): uses Gmail
- Skip posts already used (Remove Duplicates): removes duplicate items
- Most liked first (Sort): sorts the items
- Keep the top (Limit): keeps the first few items
- Bundle the posts (Aggregate): combines items into one
- Rewrite the best idea with OpenAI (OpenAI): response (text)
- Read the rewrite (Edit Fields (Set)): sets 3 fields: plan, date, publish_at
…plus 8 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: api.apify.com
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-postwire is verified or supports 3.0 (used in Schedule the post).
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Remove Duplicates
n8n-nodes-base.removeDuplicates - Sort
n8n-nodes-base.sort - Limit
n8n-nodes-base.limit - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Post Wire
n8n-nodes-postwire.postWire - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick Overview This workflow runs every morning, uses Apify to pull top Instagram hashtag posts, rewrites one suitable idea with OpenAI for LinkedIn, Facebook, Bluesky, and Instagram, generates a new image with OpenAI, schedules the content via PostWire, and…