Get Instant Telegram Alerts Every Time Your Brand Is Mentioned on Twitter
Automatically monitors Twitter for mentions of your brand and sends a formatted Telegram message with the tweet details the moment it happens. Never miss a customer shoutout, complaint, or press mention again.
- 1
Trigger: Poll Twitter for Brand Mentions
Add a
Schedule Triggernode set to run every 15 minutes. This kicks off the workflow on a regular interval so fresh mentions are caught quickly. In theIntervalfield choose 15 and set the unit tominutes. - 2
Fetch Mentions from Twitter Search API
Add an
HTTP Requestnode. SetMethodtoGETandURLtohttps://api.twitter.com/2/tweets/search/recent. InQuery Parametersaddquerywith your brand mention (e.g.@YourBrand) andmax_resultsset to10. UnderAuthenticationchooseHeader Authand pass your Twitter Bearer Token asAuthorization: Bearer YOUR_TOKEN. EnableReturn Full Responseto capture all tweet fields. - 3
Filter: Only Continue When New Tweets Exist
Add an
IFnode connected to the HTTP Request output. Set the condition to check{{$json["meta"]["result_count"]}}is greater than0. Only thetruebranch continues to the Telegram step, preventing empty alerts from firing. - 4
Format the Alert Message
Add a
Setnode on thetruebranch. Create a field calledmessagewith a value like:New mention! Author ID: {{$json["data"][0]["author_id"]}} | Tweet: {{$json["data"][0]["text"]}}. This builds a clean, readable string for Telegram. Adjust the template to include any other tweet fields you need. - 5
Send Alert to Telegram
Add a
Telegramnode. SetOperationtoSend Message. Enter yourChat ID(your team group or personal chat ID). Set theTextfield to{{$json["message"]}}. UnderCredentialscreate a new Telegram Bot credential using the token you received from @BotFather on Telegram. Save and activate the workflow.
Frequently asked questions
How do I get a Twitter Bearer Token?
Go to developer.twitter.com, create a project and app, then copy the Bearer Token from the Keys and Tokens section. Paste it into the HTTP Request node's Authorization header as `Bearer YOUR_TOKEN`.
How do I find my Telegram Chat ID?
Add your bot to the target Telegram group or start a chat with it, then message @userinfobot to get your personal chat ID, or use the Telegram Bot API endpoint `getUpdates` to find a group chat ID after sending a message there.
Can I monitor multiple keywords or competitors at once?
Yes. In the Twitter search query parameter you can use Twitter's OR operator, for example `@YourBrand OR YourBrandName OR #YourHashtag`, to catch multiple terms in a single API call without adding extra nodes.