Function Tools
# support
r
Hi, Is there a way to trigger the function tools at the start or before the call without triggering it? Let's say I'm an appointment setter and I want to store the date and time for my availability. So when the customer asks me what the available date prompt shouldn't have to trigger again the function tools instead will give the available date and time from the function tools that trigger before or at the start of the call. Thank you
v
@Rommel Hello! Yes, you can certainly set up your system to pre-fetch or pre-calculate certain information at the start of a call so that it's ready to be provided when the customer asks for it. This is often done by initializing certain functions or data retrieval processes as soon as the call begins or even before the call connects with the customer. For example, you could have a function that retrieves your availability and stores it in a variable or a cache. Then, when the customer asks for available dates, the system can instantly provide the information from the pre-fetched data without having to trigger the function again. To implement this, you would need to write a script or set up a workflow that triggers the function to fetch your availability as part of the call initialization process. The specifics of how to do this would depend on the capabilities and configuration of your Voice API platform. If you need assistance with setting up such a workflow or script within VAPI, please let me know, and I can guide you through the process or provide more detailed instructions based on your setup.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
r
Can you please walk me thru on setting up
Or do you have any documentation or reference that i could read and follow?
@Vapi can you please walk me thru or do you have documentation for it?