POST api/n8n/workflows/{id}/run
POST api/n8n/workflows/{id}/run - Execute a workflow.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
N8nExecuteWorkflowRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| workflowData | Collection of Object |
None. |
|
| startNodes | Collection of string |
None. |
|
| destinationNode | string |
None. |
|
| inputData | Collection of Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"startNodes": [
"sample string 1",
"sample string 2"
],
"destinationNode": "sample string 1"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |