Paid Feature - Queue triggers are available on the Hobby and Pro plans. View pricing
queue trigger enables asynchronous message processing. Flows with queue triggers act as message handlers that process work from a queue with automatic retries and backoff policies.
Configuration
Config Fields
Queue Names
Queue names must be unique within your project. Choose descriptive names that reflect the purpose:Parallelism
Controls how many messages can be processed concurrently.
Use
parallelism: 1 when order matters. Use higher values for independent operations like sending notifications.
Retries
By default, retries are disabled. Setretries to enable automatic retry on failure.
Backoff Strategies
Only applicable whenretries > 0. Configure how long to wait between retry attempts.
Exponential Backoff
Delays grow exponentially: 1s, 2s, 4s, 8s, 16s… capped at max.Linear Backoff
Delays grow linearly: 5s, 10s, 15s, 20s… capped at max.Fixed Backoff
Constant delay between retries. Useful for rate-limited APIs.Duration Format
Durations can be specified as strings or milliseconds: String format:
Milliseconds:
Both formats are valid:
Runtime Context
When your handler flow executes, the context includes message information:Context References
Example: Check Retry Count
Failure Handling
Failed messages in the DLQ can be viewed, retried, or deleted via the API.
Complete Example
A queue handler that processes orders:Sending Messages to Queues
Use the enqueue node to send messages to queue handlers:Use Cases
Order Processing
Process orders asynchronously to return fast API responses:- HTTP endpoint receives order
- Validates and accepts order immediately (returns 202)
- Enqueues order for background processing
- Queue handler processes payment, updates inventory, sends confirmation
Webhook Processing
Handle incoming webhooks reliably:- Webhook arrives at HTTP endpoint
- Enqueue webhook payload for processing
- Return 200 immediately
- Queue handler processes webhook with retries
Batch Operations
Process large datasets item by item:- Upload triggers batch job
- Each item is enqueued separately
- Queue handler processes items with parallelism
- Failed items retry automatically
Email Notifications
Send emails without blocking API responses:- User action triggers notification
- Email data is enqueued
- Queue handler sends email via email service
- Retries handle temporary failures
Plan Availability
Queue triggers are available on Hobby and Pro plans.Related
- Enqueue Node - Send messages to queue handlers
- HTTP Trigger - Create REST endpoints
- Cron Trigger - Schedule flows