Send a curated daily X tech digest to Telegram with Claude and DeepSeek
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on a schedule (cron 0 25 7 * * 1-5). Along the way it connects Anthropic Chat Model, Telegram and OpenAI Chat Model. It also calls api.twitterapi.io over HTTP.
How it runs
Trigger: On a schedule (cron 0 25 7 * * 1-5).
- Settings (Edit Fields (Set)): sets 3 fields: x_accounts, telegram_chat_id, timezone
- Compute 24h window (Code): runs custom JavaScript code
- Expand accounts to items (Code): runs custom JavaScript code
- Fetch tweets per account (HTTP Request): calls api.twitterapi.io
- Normalize tweets (Code): runs custom JavaScript code
- Log account skip (Code): runs custom JavaScript code
- Build digest input (Code): runs custom JavaScript code
- Has tweets? (If): checks a condition and branches into true / false
- Curate daily digest (AI Agent): runs an AI agent, with model: Claude Haiku 4.5 (primary), DeepSeek via Fireworks (fallback)
- Format empty message (Code): runs custom JavaScript code
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.twitterapi.io
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 (10)
- Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Merge
n8n-nodes-base.merge - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Telegram
n8n-nodes-base.telegram - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow runs every weekday morning, pulls the last 24 hours of original posts from a list of X (Twitter) accounts via TwitterAPI.io, uses Anthropic Claude (with a Fireworks DeepSeek fallback) to curate a tech digest, and sends the…