Skip to main content

Score Instagram hashtag engagement with Apify, Telegram, and Airtable

Workflow preview

Workflow preview
100%
Score Instagram hashtag engagement with Apify, Telegram, and Airtable preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow runs daily to fetch Instagram hashtag posts via the Apify API, computes a weighted engagement score, then sends a top 10 HTML report to Telegram and upserts the scored ...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.telegram, n8n-nodes-base.airtable, n8n-nodes-base.filter, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Emel.

Original n8n.io source

1.1 Workflow description

Title
Score Instagram hashtag engagement with Apify, Telegram, and Airtable
Workflow name
Score Instagram hashtag engagement with Apify, Telegram, and Airtable

Quick Overview

This workflow runs daily to fetch Instagram hashtag posts via the Apify API, computes a weighted engagement score, then sends a top-10 HTML report to Telegram and upserts the scored posts into Airtable.

How it works

  1. Runs on a 24-hour schedule.
  2. Loads a predefined list of hashtags to monitor and sets how many posts to fetch per hashtag.
  3. Calls the Apify Instagram Hashtag Scraper API to retrieve recent posts for each hashtag.
  4. Normalizes the returned post data (URL, author, caption, and metrics) and filters out empty API responses.
  5. Deduplicates posts across hashtags, calculates a weighted engagement score, and ranks the results to keep the top 10.
  6. Formats the ranked posts into an HTML message and sends the engagement report to a Telegram chat.
  7. Upserts the scored post records into Airtable using the post ID as the unique key.

Setup

  1. Set an Apify API token as the APIFY_TOKEN environment variable (or update the HTTP request to use your token).
  2. Add a Telegram bot credential, set TELEGRAM_CHAT_ID, and ensure the bot can post to the target chat.
  3. Add an Airtable credential, set AIRTABLE_BASE_ID and AIRTABLE_TABLE_ID, and ensure the table contains fields matching the post properties (including id for upserts).
  4. Update the hashtag list (and optionally the per-hashtag post limit) in the code step that defines the monitored hashtags.
  5. Adjust the schedule interval if you want the workflow to run more or less frequently.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Daily check for trending posts

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Load monitoring hashtags

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Scrape Instagram posts via Apify API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Extract and normalize post data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Calculate engagement score and rank

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Format HTML report for Telegram

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Send engagement report to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 8 - Save results to Airtable database

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 9 - Remove empty API responses

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Score Instagram hashtag engagement with Apify, Telegram, and Airtable
Complexity intermediate
Nodes 14
Categories Market Research
Author Emel
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16287/16287.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Score Instagram hashtag engagement with Apify, Telegram, and Airtable do?

Quick Overview This workflow runs daily to fetch Instagram hashtag posts via the Apify API, computes a weighted engagement score, then sends a top 10 HTML report to Telegram and upserts the scored ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.