Repurpose top X posts from Twitter using Apify, OpenAI, Google Sheets and Slack
Needs changesWhat this workflow does
This workflow has 14 nodes and runs when someone submits an n8n form (“Scrape a Profile for Parasite Content”). Along the way it connects Slack, Google Sheets and Apify (community).
How it runs
Trigger: When someone submits an n8n form (“Scrape a Profile for Parasite Content”).
- Scrape Posts With Apify (Apify): run (actor)
- Fetch Scraped Posts From Apify (Apify): get items (dataset)
- Alert On Scrape Failure (Slack): uses Slack
- Loop Over Scraped Posts (Loop Over Items (Split in Batches)): loops over the items in batches
- Notify Batch Complete (Slack): uses Slack
- Check Post Relevance (OpenAI): message (text)
- Filter: keeps only the items that match a condition
- Check For Duplicate Post (Google Sheets): get (sheet)
- If: checks a condition and branches into true / false
- Draft Repurposed Post (OpenAI): message (text)
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Check Post Relevance, Draft Repurposed Post: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Check Post Relevance, Draft Repurposed Post | OpenAI node (AI section) |
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Apify
n8n-nodes-apify.apify - Slack
n8n-nodes-base.slack - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
n8n-nodes-base.openAi - Filter
n8n-nodes-base.filter - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow collects top posts from an X (Twitter) profile via Apify, uses OpenAI to filter and rewrite relevant posts into original drafts, stores them in Google Sheets for review, and sends Slack notifications for failures, new drafts, and…