When AI Agent using tools like web search using node HTPP Request, it will take longer time to give respond to the user. Sometimes it will confuse the user, is the AI working or not.
So the idea are :
AI Agent call tool using HTTP Request named “WebSearch”
inside Webhook choose respond as “Using ‘Respond to Webhook’ Node”
So, when the user ask about the news then AI Agent will call WebSearch and should send two response :
a. “wait a moment, please” from inside WebSearch tool
b. the result from AI Agent using WebSearch result like “the news are …”
But when I run the workflow, I get one result “wait a moment, please”.
What you are seeing is to be expected, You have told the webhook trigger to reply with the contents of the respond to webhook node which is what it is doing but this will only happen when the ai agent node has finished.
To show a waiting message as you are using the webhook node you would need to implement your own loading state in your webpage which could be something like loading a spinner, sending the request then once the request is done removing the spinner this is normally how this kind of process is done.