How I can work with wait node and Webhook?

I have a simple workflow that includes the following details:
In the webhook call, I pass the FileId as a parameter to Box’s Get File operation. I configured the Wait with an interval set to 2 minutes.
In the runtime, the response will be held from the Box node until the Wait node completes. I want to execute this workflow immediately by resuming the Wait using Postman or code.
What do you suggest to achieve this scenario?

Maybe it helps to set the Resume of Wait node to On Webhook Call and limit the wait time to 2 minutes.
But the resume url is different on each execution.

1 Like

In the sample workflow below, I selected “Respond Immediately” for the Webhook. However, after triggering the Webhook call from Postman, I received a response that says, {“message”:“Workflow was started”} instead of the result from the Box - Get folder API.
Is there any way to obtain Actual API Result (Box - Get Folder API) from Execution ID of particular workflow instance or anything ?

That’s correct.
Respond Immediately, responds immediately.

If you want to respond with a specific item, you can use the Respond to Webhook node. This will make the Webhook respond with a defined output.

In the sample workflow below, I selected “Respond to Webhook” for the Webhook. If I trigger the Webhook call from Postman, it will continue loading until the wait completes.
Is there any way to obtain the Actual API Result (Box - Get Folder API) before the wait completes, without loading?