Skip to main content
POST
/
workflows
/
{id}
/
run
Run Workflow
curl --request POST \
  --url https://app.conduit.io/api/workflows/{id}/run \
  --header 'Content-Type: application/json' \
  --cookie session= \
  --data '
{
  "triggerId": "<string>"
}
'
{
  "transaction": {
    "id": "<string>",
    "organizationId": "<string>",
    "accountId": "<string>",
    "type": "deposit",
    "amount": "1000.50",
    "token": "usdc",
    "chainId": 1,
    "status": "pending_approval",
    "createdById": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "workflowId": "<string>",
    "triggerId": "<string>",
    "txHash": "<string>",
    "blockNumber": 123,
    "gasUsed": "<string>",
    "errorMessage": "<string>",
    "approvedById": "<string>",
    "approvedAt": "2023-11-07T05:31:56Z",
    "executedAt": "2023-11-07T05:31:56Z",
    "confirmedAt": "2023-11-07T05:31:56Z"
  },
  "message": "Transaction created and pending approval"
}

Authorizations

session
string
cookie
required

Session-based authentication via cookies

Path Parameters

id
string
required

Workflow ID

Body

application/json
triggerId
string

Optional specific trigger ID to run. If not provided, uses the first active trigger.

Response

Transaction created successfully

transaction
object
message
string
Example:

"Transaction created and pending approval"