Write personalised direct messages for Instagram with Apify, OpenAI, GSheets
UnknownWhat this workflow does
This AI workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI, Google Sheets and Apify (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Instagram accounts (Google Sheets): uses Google Sheets
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch Instagram Account Data (Apify): run task (actor tasks)
- Get Instagram Account Data (Apify): get items (datasets)
- Fetch Image of latest post (HTTP Request): calls an HTTP API
- Analyze image (OpenAI): analyze (image)
- Generate Personalized DM (OpenAI): uses OpenAI
- Add message to Account (Google Sheets): append or update
Services it uses
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 @apify/n8n-nodes-apify is verified or supports 3.0 (used in Fetch Instagram Account Data, Get Instagram Account Data).
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Sheets
n8n-nodes-base.googleSheets - Apify
@apify/n8n-nodes-apify.apify - HTTP Request
n8n-nodes-base.httpRequest
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Fetch Instagram profile information with Apify and generate personalized DMs in Google Sheets. This is great for creator outreach, customer interviews,…