Endpoint
POST https://embedworkflow.com/api/v1/workflows
Request Body
Name of resource
User's key
Description of the resource
The draft template of the workflow
The trigger's conditions
The trigger's key
Whether all or any of the trigger conditions must match
User permission groups. Only available to users with admin role.
Response
Returns created.
Response Properties
Unique identifier
Number of actions in the workflow
Created at in specified timezone
Created at formatted as human-readable string
Created at in UTC
Whether this is a default template for new users (Admin only)
Description of the workflow
Event trigger configuration
Draft event trigger configuration
Number of times workflow has been executed
Permission groups (Admin only)
Whether the workflow has unsaved draft changes
Unique key for the workflow
Last published at in specified timezone
Last published at formatted as human-readable string
Last published at in UTC
Conditions for matching workflow execution
Draft conditions for matching workflow execution
Name of the workflow
Object type identifier
Whether the workflow is enabled
Workflow execution statistics
Current status of the workflow
Published workflow template layout
Draft workflow template layout
Conditions for triggering the workflow
Draft conditions for triggering the workflow
Updated at in specified timezone
Updated at formatted as human-readable string
Updated at in UTC
Errors
422
- unprocessable entity
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
{ "id": "0198c2e9-c829-742f-b312-794672de147e", "actions_count": 0, "created_at": "2025-08-19T11:19:17-04:00", "created_at_string": "Aug 19, 2025 11:19 am EDT", "created_at_utc": "2025-08-19T15:19:17Z", "default_template": false, "description": null, "event_trigger": null, "event_trigger_draft": null, "executions_count": 0, "groups": [], "has_draft": false, "key": "my_workflow", "last_published_at": null, "last_published_at_string": null, "last_published_at_utc": null, "match_conditions": null, "match_conditions_draft": null, "name": "My workflow", "object": "workflow", "on": false, "stats": {}, "status": "off", "template": { "action_types": [], "edges": [], "height": 150, "nodes": [ { "id": "start_of_workflow", "type": "Start", "name": "Start Workflow" } ], "object": "workflow_layout_template", "positions": { "start_of_workflow": { "x": 450, "y": 0 } }, "width": 1200 }, "template_draft": { "action_types": [], "edges": [], "height": 150, "nodes": [ { "id": "start_of_workflow", "type": "Start", "name": "Start Workflow" } ], "object": "workflow_layout_template", "positions": { "start_of_workflow": { "x": 450, "y": 0 } }, "width": 1200 }, "trigger_conditions": {}, "trigger_conditions_draft": {}, "updated_at": "2025-08-19T11:19:17-04:00", "updated_at_string": "Aug 19, 2025 11:19 am EDT", "updated_at_utc": "2025-08-19T15:19:17Z" }