Templates / Generate qualified Instagram leads from hashtags with Apify and Google Sheets

Generate qualified Instagram leads from hashtags with Apify and Google Sheets

Ready for 3.0

by Matthew ✓ · 2,157 views · created 2025-08-14 · Lead Generation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.apify.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get list of Hashtags (Google Sheets): uses Google Sheets
  2. Aggregate: combines items into one
  3. make hashtag links (Code): runs custom JavaScript code
  4. Scrape instagram hashtag posts (HTTP Request): calls api.apify.com (POST)
  5. Format captions, usernames and data (Code): runs custom JavaScript code
  6. If: checks a condition and branches into true / false
  7. Remove Duplicate Usernames (Remove Duplicates): removes duplicate items
  8. If: checks a condition and branches into true / false
  9. Combine all usernames (Aggregate): combines items into one
  10. Scrape instagram Profiles (HTTP Request): calls api.apify.com (POST)

…plus 1 more step. See the full node list below.

Services it uses

Google Sheets

HTTP calls to: api.apify.com

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 (7)

From the author

Instagram Hashtag Lead Generation Automate the process of finding and qualifying Instagram leads based on hashtags. This workflow reads hashtags from Google Sheets, scrapes Instagram for posts using Apify, analyzes caption content and language, compiles…

Excerpt from Matthew'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.