Remove outdated campaign messages from Telegram
When a campaign update makes an old bot-sent message misleading, remove the specified message from the chat.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Delete Message
Delete a message, including service messages, with certain limitations.
Why this helps
An outdated campaign message left visible can compete with corrected information and cause confusion.
- Remove a specified outdated message from the chat.
- Reduce confusion after a campaign update.
- Make cleanup part of the correction process.
Setup
Build it in a few focused steps.
- 1Connect ActiveTrail and Telegram once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it for campaign message cleanup.
- 3Describe the outcome in one instruction: delete the supplied Telegram message only when the request identifies it for removal.
- 4Pick the webhook trigger and choose where run reports should go.
- 5Test with one real message identifier that should be removed.
Questions about this workflow
Can this delete any message?
Telegram's delete method has limitations. Provide the exact chat and message identifiers, and only request deletion when appropriate.
Will the workflow choose messages to delete?
No. The webhook request must identify the message for removal; the automation should not guess.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link ActiveTrail to Telegram. A trigger fires from one place; an action lands in another.
ActiveTrail triggers
Telegram actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Answer Callback Query
Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete Message
Delete a message, including service messages, with certain limitations.
Edit Message
Edit text messages sent by the bot.
Export Chat Invite Link
Generate a new primary invite link for a chat; any previously generated primary link is revoked. the bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
Forward Message
Forward messages of any kind. service messages can't be forwarded.
Get Chat Info
Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
Get Chat Administrators
Get a list of administrators in a chat. on success, returns an array of chatmember objects that contains information about all chat administrators except other bots.
Get Chat History
Get chat history messages. note: this uses the getupdates method with specific parameters to retrieve historical messages.
Connect any two apps with Notis in the middle.
ActiveTrail and Telegram, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Telegram.