How to Obtain the Run ID in a Webhook Workflow?

Describe the problem/error/question

Hello, I would like to know how to obtain the run ID when a webhook (my workflow contains several webhooks) is executed within a workflow.

I have a workflow that includes many webhook endpoints, one of which is an LLM agent interface. However, since it may take longer than 5 minutes when calling certain tools, the frontend often times out. I have been advised to implement an asynchronous polling mechanism to check the status of my call and retrieve the output result.

But at most, I can only know the Workflow ID and the name of the specific webhook endpoint I’m interested in. How can I obtain the Run ID? Additionally, I would suggest that the webhook should return this Run ID directly upon invocation, since the information should already be generated at the time of the webhook call.

You can get the execution id as this workflow

1 Like

Thank you! I didn’t realize that the Run ID is already a built-in feature of the workflow. I’ll need to think about how to incorporate it into my own workflow.

Glad it helps.

You can mark as solution if it test working on your end. Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.