Common use cases
Invoice delivery
The customer receives the invoice automatically when it becomes final, with the PDF attached and a way to pay. Create an INVOICE workflow with the TO_FINAL variant, then attach an action that includes the PDF and a payment link:
Verify: finalize one invoice for a pilot customer, confirm a trigger exists via the API, then check the execution result on the workflow’s page in Desk. See Workflow triggers.
Overdue reminders (dunning)
Stop chasing unpaid invoices by hand and send reminders at consistent intervals instead. Use the OVERDUE variant: each period in overdue.periods produces one reminder, counted from the due date.
The action mirrors invoice delivery, with invoice.type set to OVERDUE and a reminder template. Only unpaid invoices are in scope; an invoice that is paid between steps stops receiving reminders.
Verify: check that the intervals that actually fired match the periods you configured. A cadence that drifts usually means two overlapping workflows are both in scope for the same customer.
Failed payments
When a payment fails, tell the customer what happened and what to do next. Use a PAYMENT workflow with the FAILED_PAYMENT variant and a PAYMENT action:
The email should give the customer one clear next step: update the payment method, pay the invoice, or contact support. See Payment collections for the setup that makes a pay link work.
Free trial reminders
Warn customers before a trial converts, so the first invoice is not a surprise. Use a PRICING_PLAN_SUBSCRIPTION workflow with FREE_TRIAL_REMINDER; periods count backwards from the trial end date.
Rolling out safely
The same sequence applies to all four:
Build in DRAFT
Create the workflow and its action with status: "DRAFT" so nothing can fire while you configure it.
Related guides
- Workflows for the full configuration reference
- Workflow actions for email options
- Monitoring and audit for what to check after go-live
- Email providers: Mailgun, SendGrid