Delete a Cloudflare DNS record after confirmation
Make DNS cleanup deliberate: a user taps the confirmation button on the relevant Telegram message before the specified record is deleted.
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. Use when you need to remove a specific DNS record from a zone after confirming both zone and record IDs.
Why this helps
Cleanup requests can be ambiguous in chat, making destructive changes hard to track and easy to misinterpret.
- Require a deliberate button tap for a destructive action.
- Keep deletion tied to a specific chat request.
- Reduce ambiguity around DNS cleanup.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Cloudflare api key to Notis once through the portal.
- 2Create an automation in the portal or ask Notis conversationally.
- 3Write one instruction to delete only the exact DNS record whose zone and record IDs are confirmed in the callback context.
- 4Choose Callback Query Received as the trigger and select a channel for run reports.
- 5Test the confirmation flow against a disposable record before using a live one.
Questions about this workflow
What makes the callback a confirmation?
The inline button should clearly state that it confirms deletion of the specifically identified record.
What identifiers are required?
The workflow needs both the zone and record IDs to target the intended DNS record.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Cloudflare api key. A trigger fires from one place; an action lands in another.
Telegram triggers
Cloudflare api key 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 in a Cloudflare zone. Use when you need to add a record (A, CNAME, TXT, MX, etc.) to a specified zone.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Zone Lockdown Rule
Tool to create a Zone Lockdown rule. Use when you need to restrict access to specific URL patterns to defined IPs/CIDR ranges. Use after confirming zone_id.
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 Rule in Ruleset
Tool to add a rule to an existing ruleset. Use when you need to append or insert a new rule in a Cloudflare ruleset.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Create Ruleset
Tool to create an account- or zone-scoped ruleset. Use after defining your ruleset details and selecting the correct scope.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Delete DNS Record
Tool to delete a DNS record. Use when you need to remove a specific DNS record from a zone after confirming both zone and record IDs.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Delete DNSSEC
Tool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Delete Rule from Ruleset
Tool to delete a specific rule from a ruleset. Use when you need to remove an outdated or incorrect rule from an account or zone ruleset after confirming IDs.
Delete Ruleset
Tool to delete all versions of a ruleset. Use when you need to remove a ruleset from an account or zone after confirming no references exist.
Connect any two apps with Notis in the middle.
Telegram and Cloudflare api key, 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 api key.