Execute workflow

Execute workflow

Endpoint

POST https://embedworkflow.com/api/v1/workflows/{id}/execute

Path Parameters

id string, required

System-generated unique identifier

Request Body

id_type string, optionaldefault: id

Type of identifier used in the URL

user_key string, optionaldefault: main

User's key

execution_data object, optionaldefault: [object Object]

Data required to execute the workflow. Key-value pairs that provide context and variables needed during workflow execution.

Response

Returns created.

Response Properties

hashid string

System-generated unique identifier

actions_count integer

Total number of actions in the execution

completed_actions_count integer

Number of completed actions

created_at string

Created at in specified timezone

created_at_string string

Created at formatted as human-readable string

created_at_utc string

Created at in UTC

execution_data object

Data context for the execution

failed_actions_count integer

Number of failed actions

id string

System-generated unique identifier

idle_actions_count integer

Number of idle actions

key string

Unique key for the execution

log object

Execution log details

name string

Name of the execution

object string

Object type identifier

running_actions_count integer

Number of currently running actions

status string

Current status of the execution

stopped_actions_count integer

Number of stopped actions

Errors

  • 404 - not found
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "hashid": "7vgpp",
  "actions_count": 0,
  "completed_actions_count": 0,
  "created_at": "2025-12-01T22:52:16-05:00",
  "created_at_string": "Dec 01, 2025 10:52 pm EST",
  "created_at_utc": "2025-12-02T03:52:16Z",
  "execution_data": {
    "user_name": "John Doe"
  },
  "failed_actions_count": 0,
  "id": "019add30-86f3-728a-bc6e-ad5e3c0e61da",
  "idle_actions_count": 0,
  "key": "workflow_15",
  "log": {},
  "name": "Workflow 15",
  "object": "execution",
  "running_actions_count": 0,
  "status": "running",
  "stopped_actions_count": 0
}