Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Send date-range Threads insights reports with Threads API and Telegram
When you run it, it automates developer work using Telegram.
What it does
## 🧵 Threads Insights — Date-Range Report This workflow generates a professional Threads Insights report for a chosen date range and delivers it as a styled HTML file via Telegram. ### Flow at a glance 1. Run Threads Insights (Manual Trigger) — starts the workflow. 2. Edit Fields — Inputs — set your date range, access token, Threads user ID, and Telegram chat ID. 3. Build Insights Requests — builds the Threads Graph API request URLs. 4. Fetch Threads Insights — calls the Threads API for each request. 5. Return Structured Insights Report — combines all API responses into one structured object. 6. Generate Threads Insights HTML Report — turns the data into a styled HTML report (metric cards, charts, demographics). 7. Send Threads Insights HTML Report — sends the HTML file to Telegram as a document. ### Before you run it, configure: - Date range (fromDate / toDate) - Threads long-lived access token - Threads numeric user ID - Telegram chat ID - Telegram credential on the last node 👉 See the sticky notes placed above each node below for exact, step-by-step configuration instructions.
The steps
- Run Threads Insights
- Edit Fields — Inputs
- Build Insights Requests
- Fetch Threads Insights
- Return Structured Insights Report
- Generate Threads Insights HTML Report
- Send Threads Insights HTML Report
Similar automations
Building Blocks & UtilitiesParse and Format Dates with the Date and Time Node2 stepsMonitoring, Ops & IncidentsExport Instagram follower change history to CSV using the Instoryview API10 stepsFinance, Invoices & AccountingExport QuickBooks Online ledger, transactions, invoices and attachments to ZIP30 stepsAI Agents & AssistantsCreate Google Calendar events with an OpenAI agent from chat requests8 steps