Automatic DNS Cleanup After Successful Migrations
Migration is done. Issue is closed. Old DNS records are already deleted from Cloudflare. No stale entries, no manual cleanup.
Trigger
Issue Updated Trigger
Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.
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
After migrations, old DNS records linger in Cloudflare and create confusion. Cleanup gets forgotten because it's not tracked anywhere.
- DNS state stays clean and current
- No stale records causing confusion or security issues
- Cleanup happens automatically, no follow-up needed
- Clear mapping between Linear work and DNS state
Setup
Build it in a few focused steps.
- 1Connect Linear and Cloudflare to Notis.
- 2Tell Notis: 'When an issue is closed and labeled migration, delete its associated DNS record from Cloudflare.' Use Issue Updated as the trigger.
- 3Add details to migration issues about which DNS record to delete (e.g., 'old-api.example.com' in the issue description).
- 4Test by closing a migration issue and verifying Notis deletes the DNS record.
Questions about this workflow
How does Notis know which DNS record to delete?
You tell it during setup. Options: 'Extract the domain from the issue title,' 'Look for DNS: in the description,' or 'Delete all DNS records matching this pattern.'
What if I close the issue by mistake?
Reopen the issue in Linear and Notis won't re-delete the record. Or manually recreate the DNS record in Cloudflare.
Can I delete multiple records from one issue?
Yes. Tell Notis: 'Delete all DNS records listed in the issue description.'
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Linear to Cloudflare. A trigger fires from one place; an action lands in another.
Linear 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")
Comment Received Trigger
Triggered when a comment is received.
Create Zone
Tool to create a new zone. use after confirming account id when adding a domain to cloudflare.
Issue Created Trigger
Triggered when a new issue is created.
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..."
Issue Updated Trigger
Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.
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>")
Private Team Comment Created
Fires when a new comment is posted on an issue in a private Linear team (polled with the connected user's token).
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")
Private Team Issue Created
Fires when a new issue appears in a private Linear team (polled with the connected user's token).
List WAF Lists
Tool to fetch all waf lists (no items) for an account. use after confirming account id.
Private Team Issue Properties Updated
Fires when properties on an issue change in a private Linear team (polled with the connected user's token).
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.
Linear 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.