Step types

Trigger, wait, email, SMS, incentives, retries, and end

Step types

Every sequence is an ordered list of typed steps. The dunning engine runs them in position order when a customer enters the flow.

TypeRole
triggerEntry point when the monitored event fires
waitDelay before the next step (minutes)
emailSend a recovery email (template on the step)
smsSend a recovery SMS
incentiveAttach an active incentive to the attempt
payment_retryAsk the provider to retry the card on file
actionInternal notification or external HTTP request (with optional gates)
extractParse named variables from a prior response (JSON, CSS, XPath, between)
scriptVanilla JS computation (params → outputs; no network)
endTerminal step — sequence completes

Templates

Email and SMS content live in per-step templates. Merge variables such as {{customer_name}} and {{amount}} are rendered at send time from the recovery attempt context.