Clean up authorized DNS records after cancellation
Close the loop on a canceled subscription with a DNS cleanup request tied to a confirmed record.
Trigger
Subscription Deleted Trigger
Triggered when a subscription is deleted in Stripe
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
Subscription cancellations can leave temporary or customer-specific DNS records behind, and finding each one manually adds follow-up work.
- Create a consistent DNS cleanup handoff from a subscription deletion.
- Require confirmed zone and record IDs before removal.
- Report when the cancellation does not identify an authorized record.
Setup
Build it in a few focused steps.
- 1Connect Stripe and Cloudflare api key once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it for cancellation DNS cleanup.
- 3Tell Notis to delete only the explicitly authorized DNS record with confirmed zone and record IDs, and report any missing identifiers.
- 4Pick Stripe Subscription Deleted as the trigger and choose where run reports go.
- 5Test with one real cancellation case where the exact record is approved for removal.
Questions about this workflow
Will this delete every DNS record for a canceled customer?
No. It should remove only the specific record authorized for cleanup, after confirming the Cloudflare zone and record IDs.
What if the subscription event does not identify a record?
The workflow should report that no record was identified and leave DNS unchanged.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Stripe to Cloudflare api key. A trigger fires from one place; an action lands in another.
Stripe 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.
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
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.
Checkout Session Completed Trigger
Triggered when a checkout session is completed in Stripe
Create Ruleset
Tool to create an account- or zone-scoped ruleset. Use after defining your ruleset details and selecting the correct scope.
Invoice Payment Succeeded Trigger
Triggered when an invoice payment is successful in Stripe
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.
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Delete DNSSEC
Tool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.
Product Created Trigger
Triggered when a product is created in Stripe
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.
Subscription Added Trigger
Triggered when a subscription is added in Stripe
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.
Stripe 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.