How to send specific information to assistant?
# support
b
Hi all, can someone help me with this? I am working on an assistant who can cal on request. This works fine but I need to send specific information to the assistant for use in the conversation. Like invoice number and amount. Hope someone can help me on my way.
v
@Bosstechnerd Absolutely, I'd be happy to help you with that! To pass specific information like an invoice number and amount to the assistant, you can use custom parameters that your assistant can access during the conversation. Depending on the platform or framework you're using for your voice assistant, this can typically be done through the use of context variables or slots. For example, if you're using a Voice API, you might be able to send this information as part of the API request when initiating the call. The assistant can then use this information to personalize the conversation, such as referencing the invoice number and amount when speaking to the user. Could you provide more details on the platform or tools you're using to build your assistant? This will help me give you more specific guidance on how to implement this feature.
You can continue this conversation by mentioning me in the message.
b
Thanks. I would like to do the following. When initiating the call from Make.com with json I want to send information like invoice number and amount. During the call I would like to access a webhook and gather specific information when needed. Hope this is clear? Greatfull for you help by the way @User
Thanks I fixed it.
s
Hey @Bosstechnerd checkout this documentation on how to use dynamic variables which can be used inside the assistant prompt for personalising call. https://shmbajaj.notion.site/Setting-Up-Dynamic-Variables-for-Your-Vapi-Calls-A-Quick-Guide-14077ff426238037b101f91a446f7f6a?pvs=4 Dynamic variables have special syntax to be used inside the prompt as {{variableName}} and will be replace assistantOverrides variableValues which you send right before the call.
Do let me know if you any questions.
3 Views