Pause subscriptions on a scheduled date
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When a scheduled time arrives each day, this automation finds invoices with payment due status and pauses subscriptions that match a date condition. Each paused subscription is logged so the team has a record of what changed.
Who it's for
Finance teams who need to pause subscriptions automatically based on invoice due dates without manual intervention.
How teams use this
Pause subscriptions before payment fails
Run this automation daily to pause subscriptions 30 days before the invoice due date. This prevents failed payments and gives the customer time to update their billing information.
Notify the team of paused subscriptions
Add a Slack notification step to send a daily summary listing all subscriptions paused that day. The team stays informed without checking the job report manually.
Pause subscriptions for a different time window
Change the date calculation to pause subscriptions 14 days before due date instead of 30. Only the variable for the day offset needs to be updated.
How it works
- Run on a daily schedule. Trigger every 1 day at 12:00:00 AM to check for subscriptions that need to be paused.
- Find invoices with payment due. List invoices with payment due status through Rest to identify which subscriptions are eligible for pausing based on the due date.
- Pause matching subscriptions. For each invoice, check if the due date matches the condition. When it does, pause the subscription through Rest and update the pause reason.
- Log all paused subscriptions. Record each paused subscription to the job report so the team can audit which subscriptions were paused and when they were paused.