How to Setup Webhook URL in VAPI?
This section explains the process of setting up a webhook URL in VAPI. Follow step-by-step instructions to configure your webhook for receiving event notifications and data payloads seamlessly.
1. Configure Webhook URL:
- Copy the Voicemetrics Server URL and paste it into the Server URL field in VAPI AI Assistants.
- Navigate to: VAPI → Platform → Assistants → Choose Assistant → Advanced → Messaging → Server URL.
- Publish the assistant.
- Example: [Insert Placeholder Image]
2. Set Up Prompts:
Call Summary Prompt:
- Go to Analysis → Summary in the VAPI platform.
- Paste the following prompt:"You are an expert note-taker. You will be given a transcript of a call, and summarize the call in bullet points (max 5 points), if applicable."
- Example: [Insert Placeholder Image]
Success Evaluation Prompt:
- Go to Analysis → Success Evaluation.
- Paste the following prompt, configure Rubric and publish the assistant:
- "You are an expert call evaluator. You will be given a transcript of a call and the AI participant's system prompt. Based on the objectives inferred from the system prompt, determine if the call was successful"
- Rubric: Pass/Fail.
- Example: [Insert Placeholder Image]
Structured Data Prompt:
- Go to Analysis → Structured Data.
- Paste the following prompt, configure data properties to add, and publish the assistant:
- “You will be given a call transcript and the AI system prompt. Extract the following Key Performance Indicators (KPIs):
**Call Rating**
- **Type**: Dropdown
- **Options**: Excellent, Good, Average, Poor, Very Poor
- **Purpose**: Measures customer satisfaction with service quality; “Excellent” shows strong customer happiness and loyalty.
**Call Sentiment**
- **Type**: Dropdown
- **Options**: Very Positive, Positive, Neutral, Negative, Very Negative
- **Purpose**: Gauges customer sentiment; “Very Positive” indicates high satisfaction and loyalty.”
Data Properties to Add:
Example: [Insert Placeholder Image]
- Name: Call Rating | Type: String | Mark as Required
- Name: Call Sentiment | Type: String | Mark as Required
Note:
Ensure the Webhook URL, Call Summary, Success Evaluation, and Structured Data Prompts are configured for each assistant in the VAPI platform.