https://retellai.com/?utm_source=discord&utm_medium=seo logo
agent is not waiting for inbound response
# ❓・bug-report
r
Created simple agent includs check the "Add an inbound webhook." box. Then created simple n8n workflow with a 10 sec Wait method. When doing simple CURL to n8n things works properly (see below video) .... (curl -X POST https://razisamuely.app.n8n.cloud/webhook-test/86b17502-5357-47ef-ac14-6084cd2a9f90) But when agent is tested, its just ignore and starts conversation immediately. After looking into log i see ""The requested webhook \"86b17502-5357-47ef-ac14-6084cd2a9f90\" is not registered.","Click the 'Execute workflow' button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)"]" But i do clicked the "Execute worflow", see the below video that show that n8n is trigerred, but conversation is starts even there is no response yet
s
HI @razisamuely thanks for reaching out.Please configure your webhook handler to respond immediately with a 200 ok , potentially with an override agent ID then launch your n8n workflow asynchronously upon receiving this webhook via an HTTP request or webhook trigger Let Retell receive the webhook and stay in control ,calls will proceed, but you can delay actions downstream.
r
Hi @shahretell Thanks a lot for the response :] so, as you recommended, i remove the "wait" node, so the n8n webhook handler will response immediately But still, retell agent is not uses the inbound webhook data ,,, attaching video showing the case 1. Agent number defined with "Add an inbound webhook" 2.Agent Webhook URL is defined within agent settings 3. n8n webhook node is definde to use "respond to webhook" node 4. "respond to webhook" node is definde to return customer_name and customer_email 5. Conversation is started and n8n flow is triggered successfully. 6. Conversation is started but the agent for some reason (i think the same reason as the above, its just not listening for response), not uses the customer_name and customer_email from the response (and more wired , its uses names from previous calls ..... ?) Its important to mention that n8n response is OK, cause i tested it with CURL POST and its do return the data i defined in the "repsond to webhook" node , see first video Pleas see the attached logs ,its clearly mentioned there ""Click the 'Execute workflow' button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)"]"" But as presented within the attached video, i do click "execute workflow" button , and n8n flow is triggered successfully once conversation is start.