Agent doesn’t recognize the Data of contact
# support
e
I built a workflow inside of n8n with a web hook 2HTTPS modules and the webhook response and it’s there to transfer the data of the contact or the caller who’s calling the inbound agent to the agent so that she knows who is calling and every other data like notes, email address, name, etc. And even though the workflow is succeeding and showing that the data is transferred to the agent, she is not greeting me with my name and when I’m asking her if she knows who I am, she says no I don’t know who you are but you can tell me your name, etc. So I want you to help me to find out how I can configure this to be working as it should?
v
message has been deleted
e
OK, I already checked it, but I noticed that what happens is that the assistant seem to get the data the moment I’m hanging up the phone and I want to know if I can change something inside of the assistance settings or inside of your platform here to change this
?
OK, I already checked it, but I noticed that what happens is that the assistant seem to get the data the moment I’m hanging up the phone and I want to know if I can change something inside of the assistance settings or inside of your platform here to change this
v
@Exideus_Systems It sounds like there might be a timing issue with the data transfer in your workflow. To ensure that the assistant receives the caller's information before the call begins, you may need to adjust the sequence or timing of the webhook and data transfer steps within your n8n workflow. Here are a few steps you can take to troubleshoot and resolve the issue: 1. **Check the Workflow Trigger**: Ensure that the webhook is triggered at the right moment, ideally as soon as the call is initiated and before the agent picks up. 2. **Review Data Transfer Timing**: Make sure that the data transfer to the assistant is happening immediately after the webhook is triggered and not delayed until the end of the call. 3. **Synchronize with Assistant's API**: If you're using an API to transfer data to the assistant, ensure that the API call is made in time for the assistant to retrieve the data before the call starts. 4. **Adjust Assistant Settings**: If there are settings within the assistant's platform that determine when it retrieves data, adjust these to ensure data is fetched at the beginning of the call. 5. **Test the Workflow**: After making adjustments, test the workflow to ensure that the timing issue is resolved. If you're using VAPI's settings, you might want to check if there's an option to prefetch caller data or to set up an event listener that triggers data retrieval as soon as the call is connected. If you need to adjust settings within the VAPI platform, please provide more details on the specific settings or features you're looking to configure, and I'll be happy to assist further. If the issue persists, you may need to reach out to support for more detailed assistance.
s
Hey @Exideus_Systems To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
e
Well actuallt thats happening all the time not only once thats why Im trying to find out how to solve it Call ID: 528b2e1d-d99b-49da-a507-3f66ffbab95d I want the agent to know who is calling Saying the name of the caller and knowing about the caller to reschedule appointment etc
s
e
That’s exactly what I did but what happened is that it was kind of impossible to call my AI agent because it was ringing one time and then the call was finished and it wasn’t appearing in any call logs and it’s just working again when I’m connecting one of my agents to the phone number and then just putting the server U RL in the advanced settings of the agent
To be honest, that makes me really to be confused and not progressing in this and now a developer is kind of trying to set it up in a different way, which is not the way I guess you guys supposed to do it
s
When you put server url on your phone number then vapi ask you (server url) for the assistant, and when you assign a one to the phone number then Vapi won't ask your server. What would have happened you have assigned server url to phone number and then you were not returning the assistant as required right before the call.
@Exideus_Systems so now where your strucked if this all is done?
e
This is not working its exactly the same as i had before its ringing 1x and than it hangs up without even answering
s
Your not returning an response to
server-event
of type
request-assistant
because of it is bounded to fail. @Exideus_Systems can you join discord OH live support, to see what step your missing or doing wrong?
3 Views