Queue and batch management: create, configure, and monitor queues for concurrent automation execution, add batch items from CSV, and track batch progress
Create a new batch in a queue from a CSV file. Each row becomes a run, executed via the specified trigger. Optionally configure a completion action (trigger or webhook) when the batch finishes.
Update queue configuration (name, description, concurrency limit, max retries, priority). Requires the current version number for optimistic locking.Parameters:
Parameter
Type
Required
Default
Description
queueId
string
Yes
—
ID of the queue to update
name
string
No
—
Updated queue name
description
string
No
—
Updated queue description
concurrencyLimit
number
No
—
Updated maximum concurrent runs
maxRetries
number
No
—
Updated maximum retry attempts (0-3)
priority
number
No
—
Updated priority (1=highest, 10=lowest)
version
number
Yes
—
Current version number for optimistic locking (get from queue-management_get_queue)
Show inputSchema
{ "type": "object", "properties": { "queueId": { "type": "string", "description": "ID of the queue to update" }, "name": { "type": "string", "description": "Updated queue name" }, "description": { "type": "string", "description": "Updated queue description" }, "concurrencyLimit": { "type": "number", "description": "Updated maximum concurrent runs" }, "maxRetries": { "type": "number", "description": "Updated maximum retry attempts (0-3)" }, "priority": { "type": "number", "description": "Updated priority (1=highest, 10=lowest)" }, "version": { "type": "number", "description": "Current version number for optimistic locking (get from queue-management_get_queue)" } }, "required": [ "queueId", "version" ]}
Get statistics for a queue including pending and running item counts. Optionally filter by date range.Parameters:
Parameter
Type
Required
Default
Description
queueId
string
Yes
—
ID of the queue
startDate
string
No
—
Filter stats from this date (ISO 8601 format, e.g. 2024-01-01T00:00:00Z)
endDate
string
No
—
Filter stats until this date (ISO 8601 format)
Show inputSchema
{ "type": "object", "properties": { "queueId": { "type": "string", "description": "ID of the queue" }, "startDate": { "type": "string", "description": "Filter stats from this date (ISO 8601 format, e.g. 2024-01-01T00:00:00Z)" }, "endDate": { "type": "string", "description": "Filter stats until this date (ISO 8601 format)" } }, "required": [ "queueId" ]}
Create a new batch in a queue from a CSV file. Each row becomes a run, executed via the specified trigger. Optionally configure a completion action (trigger or webhook) when the batch finishes.Parameters:
Parameter
Type
Required
Default
Description
queueId
string
Yes
—
ID of the queue to add items to
triggerId
string
Yes
—
ID of the trigger to execute for each queue item
csvUrl
string
No
—
URL to a CSV file (provide either csvUrl or csvData)
csvData
string
No
—
Inline CSV data as a string (provide either csvUrl or csvData)
batchSize
number
No
—
Number of rows per batch (0 or 1 = individual rows, >1 = batch mode)
onDoneTriggerId
string
No
—
Trigger ID to execute when the batch completes
onDoneWebhookUrl
string
No
—
Webhook URL to call when the batch completes
Show inputSchema
{ "type": "object", "properties": { "queueId": { "type": "string", "description": "ID of the queue to add items to" }, "triggerId": { "type": "string", "description": "ID of the trigger to execute for each queue item" }, "csvUrl": { "type": "string", "description": "URL to a CSV file (provide either csvUrl or csvData)" }, "csvData": { "type": "string", "description": "Inline CSV data as a string (provide either csvUrl or csvData)" }, "batchSize": { "type": "number", "description": "Number of rows per batch (0 or 1 = individual rows, >1 = batch mode)" }, "onDoneTriggerId": { "type": "string", "description": "Trigger ID to execute when the batch completes" }, "onDoneWebhookUrl": { "type": "string", "description": "Webhook URL to call when the batch completes" } }, "required": [ "queueId", "triggerId" ]}
Get the status of a batch including run counts (requested, complete, failed, timed out) and overall status (pending, running, complete, canceled).Parameters:
Parameter
Type
Required
Default
Description
queueId
string
Yes
—
ID of the queue
batchId
string
Yes
—
ID of the batch to check
Show inputSchema
{ "type": "object", "properties": { "queueId": { "type": "string", "description": "ID of the queue" }, "batchId": { "type": "string", "description": "ID of the batch to check" } }, "required": [ "queueId", "batchId" ]}