Hello,
I am facing a problem putting a prefetch webhook in my assistant.
If possible, can you please guide me?
u
✞Penclone
07/29/2025, 7:39 AM
I can guide you
✞Penclone
07/29/2025, 7:39 AM
What is the problem you are facing?
s
Sahid
07/29/2025, 7:41 AM
So i need to put an webhook which will fetch customer data when the call started
Sahid
07/29/2025, 7:42 AM
And based on the variables in the data, call flow will be decided
Sahid
07/29/2025, 7:42 AM
Either it is for a new customer or existing or a holiday like that
u
✞Penclone
07/29/2025, 8:20 AM
Then you have to create a tool for that. After creating the tool, there will be a section for you to add the webhook URL.
Are you using make for this?
Can you Dm?
k
Kings_big💫
07/29/2025, 2:06 PM
Create a custom tool with a server URL (your webhook), and in your assistant prompt, call this tool early to fetch data then ensure your webhook responds with the correct JSON including the toolCallId and result..
https://docs.vapi.ai/server-url