Suspend subscriptions for unpaid invoices in Chargebee
Developer ToolAPI IntegrationMarketingData ParserUtilitiesRecipe Tools
What it does
When an unpaid invoice webhook arrives, this automation parses the data and checks the invoice status. If the invoice is not_paid and the event is invoice_updated, the subscription suspends in Chargebee and the team gets an email.
Who it's for
Finance teams who need to automatically suspend subscriptions when invoices remain unpaid.
Apps used
How teams use this
Suspend subscriptions on unpaid invoices
When an invoice remains unpaid, the subscription automatically suspends in Chargebee and the team receives an email alert. The team can then contact the customer to resolve the payment.
Route alerts to billing inbox
Send the notification email to a shared billing inbox instead so the entire team sees unpaid invoice events in one place. The suspension logic and conditions stay the same.
Add a grace period before suspension
Include a delay step that waits a set number of days before suspending the subscription, giving customers time to pay. Add a condition to check the invoice age before the suspension occurs.
How it works
- Receive unpaid invoice webhook. A webhook arrives in real-time when an invoice event occurs in Chargebee, signaling a payment issue that needs immediate attention from the finance team.
- Parse the invoice payload. Json Parser extracts the status and event type from the webhook payload so the automation can evaluate whether the invoice is unpaid and the event is invoice_updated.
- Suspend the subscription. When the invoice status is not_paid and the event type is invoice_updated, Chargebee Connector suspends the subscription to halt billing until the invoice is resolved.
- Send notification email. Workato sends an email to the finance team notifying them that the subscription has been suspended due to the unpaid invoice so they can follow up with the customer.