Skip to main content

Introduction

This guide will help you integrate and set up webhooks for inbound AI-powered calls. It explains how to configure webhook settings, set up an API receiver, and dynamically replace variables in AI-generated prompts.

Prerequisites

Before you begin, make sure you have:
  • An account for your application.
  • A valid URL to handle webhook calls.

Configure Webhook Settings

To get started, set up your webhook URL, headers, and query parameters.
  • Enter your webhook URL
  • Add your API authentication details, such as bearer tokens or API keys.
  • Include any dynamic parameters you wish to pass, such as customer_name and order_status. title

Create an API Receiver

  • Create an API endpoint to process incoming webhook requests.
Note: The API response should always include the variables object in the following format:

Replace Variable in AI Prompts

Use the returned variables from your webhook to dynamically update AI prompts. Example Prompt in Call Flow Designer:
When the webhook processes the request, variables are replaced dynamically: