Action Steps
Execute integration actions in workflows
Action Steps
Action steps execute operations on external services through connectors. They are the primary way to interact with integrated systems like Stripe, Salesforce, HubSpot, QuickBooks, and more.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique step identifier |
type | string | Yes | Must be "action" |
name | string | Yes | Human-readable name |
action | string | Yes | Action identifier (e.g., stripe.createInvoice) |
config | object | Yes | Action-specific configuration |
retryConfig | object | No | Retry configuration |
errorHandling | object | No | Error handling strategy |
timeoutMs | number | No | Timeout in milliseconds |
Action Format
Actions follow the pattern {connector}.{actionName}:
Available Connectors
| Connector | Description | Example Actions |
|---|---|---|
stripe | Payment processing | createInvoice, getCustomer, createSubscription |
salesforce | CRM operations | getAccount, updateOpportunity, query |
hubspot | Marketing/CRM | createContact, getDeal, searchContacts |
quickbooks | Accounting | createInvoice, getCustomer, createPayment |
pandadoc | Document signing | createDocument, sendDocument, getStatus |
netsuite | ERP operations | createCustomer, createInvoice, suiteql |
slack | Messaging | sendMessage, openModal, addReaction |
email | Email sending | send, send_template, schedule |
See Integrations for complete action documentation per connector.
Template Variables
Use template syntax to reference input and previous step outputs:
Available Template Contexts
| Context | Example | Description |
|---|---|---|
input | {{input.customer_id}} | Workflow trigger input |
steps | {{steps.step-id.output.field}} | Previous step output |
variables | {{variables.taxRate}} | Workflow variables |
env | {{env.API_URL}} | Environment variables |
now | {{now}} | Current ISO timestamp |
Nested Access
Error Handling
Retry Configuration
Configure automatic retries for transient failures:
| Field | Type | Description |
|---|---|---|
maxAttempts | number | Maximum retry attempts (1-10) |
initialDelayMs | number | Initial delay in ms (min: 100) |
maxDelayMs | number | Maximum delay in ms (min: 1000) |
backoffMultiplier | number | Exponential backoff multiplier (1-10) |
Error Handling Strategy
| Strategy | Behavior |
|---|---|
fail | Stop workflow, mark run as failed (default) |
continue | Log error, continue with fallback output |
retry | Retry with retryConfig settings |
Timeout
Output
Action outputs are stored and available to subsequent steps:
Checking Output Existence
Common Patterns
Create Then Update
Conditional Action
With Fallback
Connector-Specific Examples
Stripe
Salesforce
Slack
Troubleshooting
Action Not Found
Verify the action name matches the connector's available actions.
Connection Required
Ensure you have an active OAuth connection for the connector.
Rate Limited
Add retry configuration with exponential backoff.