Tarik
05/14/2024, 12:50 PMVapi Support
05/14/2024, 12:50 PMVapi Support
05/14/2024, 12:50 PMjson
{
"firstMessage": "Hi this is Jennifer from Vappy’s Pizzeria giving you a call back since we got disconnected. Would you like to finish your order with us?",
"systemPrompt": "You are a voice assistant for Vappy’s Pizzeria, a pizza shop located on the Internet..."
}
For inbound calls:
json
{
"firstMessage": "Vappy’s Pizzeria speaking, how can I help you?",
"systemPrompt": "You are a voice assistant for Vappy’s Pizzeria, a pizza shop located on the Internet..."
}
4. **Implementing in Code**:
- When setting up the assistant for an outbound call, you might use a structure like this:
javascript
vapi.createAssistant({
firstMessage: "Hi this is Jennifer from Vappy’s Pizzeria giving you a call back since we got disconnected. Would you like to finish your order with us?",
systemPrompt: "You are a voice assistant for Vappy’s Pizzeria, a pizza shop located on the Internet...",
// Other configurations
});Vapi Support
05/14/2024, 12:50 PMserverUrl in the Assistant configuration to dynamically adjust settings based on the call type.
Here is the documentation you might find useful:
- [Phone Calling]() [(1)]()
- [Outbound Calling]() [(2)]()
- [Create Assistant]() [(3)]()Vapi Support
05/14/2024, 12:50 PM