Request DNS cleanup from a Telegram button
Make cleanup requests deliberate by tying them to a button attached to a specific record prompt.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
Delete DNS Record
Tool to delete a dns record within a specific zone. use after confirming zone and record ids. example: "delete dns record 372e6795... from zone 023e105f4ecef..."
Why this helps
Old records linger when cleanup requests are easy to postpone or forget.
- Make cleanup easy to initiate from a focused prompt.
- Reduce missed removal requests.
- Keep the request tied to a specific record and zone.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Cloudflare to Notis once in the portal.
- 2Create an automation in the portal, or ask Notis to delete the DNS record identified by an explicit Telegram button response.
- 3Write one plain-language instruction requiring the zone and record to be unambiguous before deletion.
- 4Select Telegram Callback Query Received as the trigger and choose a channel for run reports.
- 5Test with a real button attached to a message that identifies the intended record.
Questions about this workflow
Does tapping any bot button delete a record?
The prompt should restrict action to a button explicitly intended to request deletion and a message that identifies the record.
What if several records could match?
Tell Notis to skip the deletion and report the ambiguity.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Cloudflare. A trigger fires from one place; an action lands in another.
Telegram triggers
Cloudflare actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create DNS record
Tool to create a new dns record within a specific zone. use after obtaining the zone id to programmatically add dns entries.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create WAF List
Tool to create a new empty waf list for the account. use after confirming the account id. example: create list(account id="<id>", kind="ip", name="blocklist")
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Create Zone
Tool to create a new zone. use after confirming account id when adding a domain to cloudflare.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Delete DNS Record
Tool to delete a dns record within a specific zone. use after confirming zone and record ids. example: "delete dns record 372e6795... from zone 023e105f4ecef..."
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Delete WAF List
Tool to delete a waf list. use when you need to remove a list after verifying no filters reference it. example: delete list(account id="<account id>", list id="<list id>")
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Delete Zone
Tool to delete a zone. use after confirming the zone identifier to permanently remove a dns zone from your cloudflare account. example: delete zone(zone identifier="023e105f4ecef8ad9ca31a8372d0c353")
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
List WAF Lists
Tool to fetch all waf lists (no items) for an account. use after confirming account id.
List Account Members
Tool to list members of a given cloudflare account. use after confirming the account id.
Connect any two apps with Notis in the middle.
Telegram and Cloudflare, 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 Cloudflare.