Workflow Leads
Add Lead to Workflow
Enrol a lead into a workflow via file upload.
POST
Add leads to a workflow
Enrols leads into a workflow by uploading a CSV or XLSX file. Each row in the file becomes one enrolled lead. The file must include a
Leads begin processing immediately once the workflow is active. Their progress through the nodes depends on the outcomes of each step.
phone_number column; all other columns become dynamic variables available in the agent’s prompt at each voice call step.
File format
Destination validation
If the workflow contains Voice Call nodes, uploaded leads are validated before enrollment. A lead’sphone_number must be valid and must be allowed by at least one active Voice Call phone number in the workflow.
For non-SIP routes, the destination country and prefix must be enabled in Workspace Settings > Telephony Config. Validation failures return 400 Bad Request with grouped row-level errors so you can fix the file and retry.
Request
Response
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Body
multipart/form-data
CSV or XLSX file with leads. Must include a phone_number column. For workflows with Voice Call nodes, destination numbers must pass workspace route validation.
Add leads to a workflow