Automations
Automations allow you to build powerful, event-driven workflows that respond to billing events, customer actions, and scheduled triggers. From sending dunning emails to syncing data with external systems, automations help you scale your operations without manual intervention.What Are Automations?
Automations are configurable workflows that:- Trigger based on events or schedules
- Evaluate conditions to determine if actions should run
- Execute actions like sending emails, updating records, or calling APIs
- Branch and loop for complex logic
Key Concepts
Triggers
Triggers define when an automation runs:Conditions
Conditions filter whether the automation should continue:Actions
Actions are the operations performed:- Send email
- Send SMS
- Create task
- Update record
- Call webhook
- Retry payment
Steps
Steps are the building blocks combined into a workflow:- Action steps - Execute a single action
- Condition steps - Branch based on logic
- Delay steps - Wait before continuing
- Loop steps - Iterate over collections
Supported Triggers
Event Triggers
Schedule Triggers
Available Actions
Communication
Billing
Records
Workflow
Creating Automations via Dashboard
Step 1: Create the Automation
- Navigate to Settings → Automations
- Click Create Automation
- Choose how to start:
- From Template: Select a pre-built template (Dunning, Welcome Series, etc.)
- From Scratch: Build a custom automation
Step 2: Configure the Trigger
- Select Trigger Type:
- Event: Runs when something happens (e.g., payment failed)
- Schedule: Runs on a schedule (daily, weekly, etc.)
- Choose the specific event or schedule
- Click Next
Step 3: Add Conditions (Optional)
Filter when the automation should run:- Click Add Condition
- Build your condition:
- Field:
invoice.amount,customer.segment, etc. - Operator: equals, greater than, contains
- Value: The value to compare
- Field:
- Combine multiple conditions with AND/OR
- Click Next
Step 4: Add Actions
- Click Add Action
- Choose action type:
- Send Email: Select template and recipients
- Send SMS: Configure message
- Retry Payment: Attempt payment again
- Update Record: Change customer/subscription fields
- Wait: Delay before next action
- Configure action settings
- Add more actions as needed
send_slack_message, select a connected Slack workspace first, then choose a channel from that workspace. Channel options include public and private channels that the connected Slack app can access. If Slack is not connected yet, users with integration management access can connect Slack inline from the action form.
Step 5: Test and Activate
- Click Test Automation to run with sample data
- Review the test results
- Click Activate when ready
Example: Payment Dunning Workflow
- Create automation with trigger: Payment Failed
- Add action: Send email (template: “Payment Failed - Gentle Reminder”)
- Add wait: 3 days
- Add condition: If invoice still unpaid
- Add action: Retry payment
- Add action: Send email (template: “Payment Failed - Urgent”)
- Add wait: 7 days
- Add action: Final notice email
- Activate
Managing Automations
View Executions
- Navigate to Automations → [Automation Name]
- Click Executions tab
- See each run with status, trigger details, and results
- Click any execution to see step-by-step log
Pause/Resume
- Find the automation in the list
- Click the toggle to pause or resume
- Paused automations won’t trigger until resumed
Version History
- Open the automation
- Click Versions
- View previous versions
- Restore if needed
Automation Templates
Start with pre-built templates in the dashboard:Quick Start (API)
Example: Payment Failed Dunning
Template Variables
Access data from the trigger context using template syntax:Invoice Variables
Payment Variables
Customer Variables
Automation Templates
Start with pre-built templates:Payment Dunning
Multi-step dunning sequence for failed payments.
Welcome Series
Onboarding email sequence for new customers.
Renewal Reminder
Notify customers before subscription renewal.
Usage Alert
Alert when usage exceeds threshold.
Versioning
Automations support versioning for safe updates:Version Workflow
Execution Tracking
View Executions
Monitor automation runs at Automations > Executions:- Execution status (success, failed, running)
- Trigger details
- Step-by-step execution log
- Error messages
Execution API
Error Handling
Retry Configuration
Configure automatic retries for failed steps:Fallback Actions
Define fallback actions when steps fail:Best Practices
Start Simple
Begin with single-step automations, then add complexity.
Test Thoroughly
Use draft versions and test data before activating.
Monitor Executions
Regularly review execution logs for failures.
Use Templates
Start from templates and customize as needed.
Use Cases
Dunning Management
Automate payment recovery:- Send email on first failure
- Wait 3 days
- Send second email with payment link
- Wait 5 days
- Retry payment automatically
- Escalate to collections if still unpaid
Subscription Renewal
Notify customers before renewal:- 30 days before: Send renewal reminder
- 7 days before: Send confirmation request
- On renewal: Send receipt
Usage Alerts
Monitor and alert on usage:- Check usage threshold daily
- If exceeded: Send alert to customer
- If > 120%: Notify account manager
Next Steps
Triggers
Learn about trigger configuration.
Actions
Explore available actions.
Conditions
Master conditional logic.