I’m working with the n8n APIs and would like to execute a workflow programmatically. However, I couldn’t find any API endpoints that allow me to trigger executions or retrieve the execution ID. Is there a way to do this without interacting with the dashboard?
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
If you want to fire up a workflow automatically use the webhook as the trigger.
To get the execution ID via API query /executions endpoint and search for the execution IDs corresponding to the workflow in question.