Quick Overview
This workflow collects a niche theme via an n8n Form, scrapes Instagram hashtag pages through ScrapingBee to discover creator usernames, deduplicates them against a Google Sheets log, then sends new creator alerts to Telegram and appends the results back to Google Sheets.
How it works
- Receives form submissions in n8n with a selected core theme and target audience location.
- Calls the ScrapingBee API to fetch the Instagram hashtag page for the selected theme with JavaScript rendering enabled.
- Extracts creator usernames and profile URLs from the returned HTML content.
- Loads previously processed creator entries from a Google Sheets worksheet and matches by username to avoid duplicates.
- Sends a Telegram message for each newly discovered creator with their username and profile URL.
- Appends the new creator usernames and profile URLs to Google Sheets to track what has been processed.
Setup
- Add a ScrapingBee API key and replace
REPLACE_WITH_SCRAPINGBEE_KEY in the HTTP request parameters.
- Connect Google Sheets credentials and replace
REPLACE_WITH_SHEET_ID, ensuring the sheet has username and profileUrl columns.
- Connect Telegram credentials, set
YOUR_CHAT_ID, and confirm the bot can message that chat.
- Publish the n8n Form Trigger and share the form URL with users who will submit discovery requests.