Resume Automation
/leads/{id}/automation/resume
Resumes AI automation for a lead's workflow run after it was stopped. The AI will respond to messages again.
Cadence is not resumed by default — set resume_cadence: true if you want the automated outreach sequence to restart.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | Lead ID |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
workflow_id | string (uuid) | Yes | Workflow to resume automation for |
resume_cadence | boolean | No | Whether to also resume the cadence sequence. Default: false |
Examples
Resume AI only (recommended)
curl -X POST https://api.getnexor.ai/api/public/leads/lead-uuid/automation/resume \
-H "Content-Type: application/json" \
-H "X-API-Key: nxr_live_your_api_key" \
-d '{ "workflow_id": "workflow-uuid" }'
Resume AI + cadence
curl -X POST https://api.getnexor.ai/api/public/leads/lead-uuid/automation/resume \
-H "Content-Type: application/json" \
-H "X-API-Key: nxr_live_your_api_key" \
-d '{ "workflow_id": "workflow-uuid", "resume_cadence": true }'
Responses
200 — Automation resumed
{
"success": true,
"workflow_run_id": "run-uuid",
"cadence_resumed": false
}
If already running:
{
"success": true,
"already_running": true,
"workflow_run_id": "run-uuid"
}
Response Fields
| Field | Type | Description |
|---|---|---|
workflow_run_id | string | The workflow run that was resumed |
cadence_resumed | boolean | Whether cadence was also resumed |
already_running | boolean | Returned if automation was already active (idempotent) |
400 — Missing workflow_id
{
"error": "workflow_id is required"
}
404 — No active run found
{
"error": "No active workflow run found for this lead and workflow"
}
401 — Authentication error
See Authentication.