Templates / Write personalised direct messages for Instagram with Apify, OpenAI, GSheets

Write personalised direct messages for Instagram with Apify, OpenAI, GSheets

Unknown

by Michael Muenzer ✓ · 1,731 views · created 2025-08-20 · Lead Nurturing, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What 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”.

  1. Get Instagram accounts (Google Sheets): uses Google Sheets
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Fetch Instagram Account Data (Apify): run task (actor tasks)
  4. Get Instagram Account Data (Apify): get items (datasets)
  5. Fetch Image of latest post (HTTP Request): calls an HTTP API
  6. Analyze image (OpenAI): analyze (image)
  7. Generate Personalized DM (OpenAI): uses OpenAI
  8. Add message to Account (Google Sheets): append or update

Services it uses

OpenAIGoogle SheetsApify (community)

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)

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,…

Excerpt from Michael Muenzer's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.