Social · n8n

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.

difficulty Beginnersetup 30 minresult Every new tweet mentioning your brand triggers an instant Telegram alert with the author, tweet text, and a direct link to the tweet.
  1. 1

    Trigger: Poll Twitter for Brand Mentions

    Add a Schedule Trigger node set to run every 15 minutes. This kicks off the workflow on a regular interval so fresh mentions are caught quickly. In the Interval field choose 15 and set the unit to minutes.

  2. 2

    Fetch Mentions from Twitter Search API

    Add an HTTP Request node. Set Method to GET and URL to https://api.twitter.com/2/tweets/search/recent. In Query Parameters add query with your brand mention (e.g. @YourBrand) and max_results set to 10. Under Authentication choose Header Auth and pass your Twitter Bearer Token as Authorization: Bearer YOUR_TOKEN. Enable Return Full Response to capture all tweet fields.

  3. 3

    Filter: Only Continue When New Tweets Exist

    Add an IF node connected to the HTTP Request output. Set the condition to check {{$json["meta"]["result_count"]}} is greater than 0. Only the true branch continues to the Telegram step, preventing empty alerts from firing.

  4. 4

    Format the Alert Message

    Add a Set node on the true branch. Create a field called message with 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. 5

    Send Alert to Telegram

    Add a Telegram node. Set Operation to Send Message. Enter your Chat ID (your team group or personal chat ID). Set the Text field to {{$json["message"]}}. Under Credentials create 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.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.