Create Workflow From Template
curl --request POST \
--url https://api.stage.peachdeskai.com/api/v1/workflow/create/template \
--header 'Content-Type: application/json' \
--data '
{
"use_case": "<string>",
"activity_description": "<string>"
}
'{
"id": 123,
"name": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"workflow_definition": {},
"current_definition_id": 123,
"template_context_variables": {},
"call_disposition_codes": {
"disposition_codes": []
},
"total_runs": 123,
"workflow_configurations": {},
"version_number": 123,
"version_status": "<string>",
"workflow_uuid": "<string>"
}Agents
Create from Template
Generate a voice agent from a natural language description
POST
/
api
/
v1
/
workflow
/
create
/
template
Create Workflow From Template
curl --request POST \
--url https://api.stage.peachdeskai.com/api/v1/workflow/create/template \
--header 'Content-Type: application/json' \
--data '
{
"use_case": "<string>",
"activity_description": "<string>"
}
'{
"id": 123,
"name": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"workflow_definition": {},
"current_definition_id": 123,
"template_context_variables": {},
"call_disposition_codes": {
"disposition_codes": []
},
"total_runs": 123,
"workflow_configurations": {},
"version_number": 123,
"version_status": "<string>",
"workflow_uuid": "<string>"
}Peachdesk uses an LLM to generate the initial workflow definition from your description. The result is a fully editable agent — use Update to refine it after creation.
This is the fastest way to get a working agent, especially for common use cases like appointment booking, lead qualification, or customer support.
Body
application/json
Response
Successful Response
Show child attributes
Show child attributes
⌘I
