Can not get a consistent message after webhook res...
# support
m
Hi Guys, Agent ID - 7fdbb92d-f2be-44e5-b4b3-7fdd36cc7f91 N8N webhook is returning the right json payload VAPI log: "data": { "results": [ { "result": "success", "toolCallId": "b5b84927-27f8-4be2-9a5f-ffd3c164c642" } ] }, But returns a fail in the Success Evaluation Prompt says : If tool returns result "success", Say (exact): “Perfect! I’ve booked your consultation" Occasionally it will say the prompt, 1 out of 10 times maybe. I'm going crazy as it's such a simple step and it wo't work, HELP Please!
"result": "success", "toolCallId": "b5b84927-27f8-4be2-9a5f-ffd3c164c642" The vapi log shows this order but when I send from N8N it's toolCallId first. Could this be the issue? N8N looks fine!
c
Hi Michael, To address inconsistent messages after a webhook response, ensure that your webhook configuration is correctly set up. Here's a quick checklist: 1. **Webhook Setup**: Verify that your endpoints are correctly configured with proper authentication methods. Consider using OAuth2 for securing your webhooks, as detailed in [this document](https://docs.vapi.ai/changelog/2024/12/5). 2. **Message Configuration**: Make sure
assistant.clientMessages
includes all the necessary message types you expect to receive. More details can be found [here](https://docs.vapi.ai/api-reference/webhooks/client-message). 3. **Call Termination Reasons**: Investigate the
Call.endedReason
codes to diagnose why calls might be prematurely ending with only goodbye messages, especially if you're utilizing the Inworld voice provider. You can find more about this in the [June 2025 Changelog](https://docs.vapi.ai/changelog/2025/6/24). Review these settings to ensure everything aligns with your intended setup. If you need persistent conversation context, ensure you're correctly managing sessions as described in the [Session Management guide](https://docs.vapi.ai/chat/session-management). This could help in maintaining the conversational flow and avoiding sudden terminations.
3 Views