End call via dashboard
# support
t
Hey peeps, I am not sure how to get the agent to end call after prompting: If the user does not require auto glass services then determine the call is spam and end the call. The agent responds properly for example I want to order chinese food but it does not end the call. I know there is and end call option in json body dev side but wanted to ask if this is also possible via dashboard? Not sure what function if any to run for this. Please advise. Thank you
v
@Tarek Maximus Hello! It's great to hear that you're exploring the capabilities of VAPI. To address your concern, the functionality to end a call based on specific phrases or conditions is typically implemented on the development side, where you can specify conditions in the JSON body or through the dashboard settings if such an option is available. If you're looking to end the call when the user does not require auto glass services, you would typically set up a list of phrases that, when detected, would trigger the call to end. This list is referred to as
endCallPhrases
in the JSON configuration. If the dashboard for VAPI offers a similar setting, you would input the phrases there. Unfortunately, as a support bot, I don't have the capability to modify the dashboard settings or the JSON configuration directly. However, I can guide you on how to do it if you have access to the dashboard or the development environment. If you're unsure about how to proceed or if the dashboard offers this feature, I would recommend reaching out to the support team for more detailed assistance. They can provide you with specific instructions based on the capabilities of the dashboard you're using. Would you like to know how to set up
endCallPhrases
in the JSON configuration, or do you need assistance with something else?
You can continue this conversation by mentioning me in the message.
s
@Tarek Maximus Ask: "You connected with us in regard to an auto glas service. Is this something you would still be interested in pursuing?" - If response indicates interest: Proceed to step 3. - If response indicates no interest: Proceed to 'Call Closing'.