How to Set Up Webhook URL in VAPI?

Modified on Fri, Mar 14 at 3:58 PM

How to Set Up 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 Agency Account 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.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article