Automatic Cleanup for Staging DNS Records
Staging testing is done. Close the issue in Linear. Notis deletes the staging DNS record. Clean infrastructure, no manual step.
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
Staging DNS records pile up and create confusion about what's actually active. Cleanup gets forgotten because there's no automation reminder.
- Staging DNS doesn't pile up and clutter your Cloudflare zone
- Infrastructure state clearly matches active work
- No manual follow-up needed after testing completes
- Reduced attack surface from stale records
Setup
Build it in a few focused steps.
- 1Connect Linear and Cloudflare to Notis.
- 2Tell Notis: 'When an issue labeled staging-test is closed, delete its associated DNS record from Cloudflare.' Use Issue Updated as the trigger.
- 3Label staging test issues with 'staging-test' and include the staging domain in the description.
- 4Test by closing a staging test issue and verifying Notis deletes the DNS record.
Questions about this workflow
What if I want to keep the staging record for a few days?
Notis can delay the deletion. Tell it: 'Delete the DNS record 3 days after the issue is closed.'
Can I soft-delete instead of hard-delete?
You could create a second automation that updates the DNS record to point to a staging closed page instead of deleting it entirely.
How does Notis know which DNS record to delete?
You specify during setup: 'Extract the domain from the issue title' or 'Look for Staging Domain: in the 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.