Integrations: Webhooks

Integrations: Webhooks

Overview

Webhook integrations allow call data to be push to other web servers, allowing integrations with any service that can accept data via a web request. Webhooks are used widely across CRM and data processing platforms, allowing the AVANSER call data to be pushed to many additional platforms over the available direct integrations.

This article will guide you through the configuration of Webhooks in the AVANSER platform.

Step 1: Creating a Webhook integration

Navigate to AVANSER Customer Portal. Select the cog wheel in the left bar and  click Integrations > Webhooks



If no Webhook integrations are present, the creation page will be shown directly, otherwise click on the Create New button to add another Webhook integration.

First, set the Route Name (an arbitrary description for this integration) and Service type. The options on the rest of the page are specific to the service selected, so it is important to set this value correctly.



The options for all but the Generic Webhook service being primarily preset. As such, the rest of the page will focus on the Generic Webhook service type, though the selection of filed names and values is relevant to all integrations.

Generic Webhook customisation

Following the name and service selection, set the Method and Base URL appropriately. The values for these fields will be determined by the system accepting the webhook, so . The integration supports GET and POST requests. POST requests can submit the body as a standard form request, an XML formatted body or a JSON formatted body.

Realtime Webhooks

An option is provide to set the webhook as a Realtime webhook. The realtime webhooks are designed for use with systems that need to provide immediate feedback on phone calls, such as creating a dashboard that shows the number of active calls. As such, each time a call changes status, a new request is sent.

As the realtime webhook reports on calls still in progress, there is no way to include data like the call recording. This data is added with a final call from the regular (non-realtime) version of the webhook once the call data is finalised.

As processing the recording files, generating the MP3 and calling any post-call processing takes a little while, there is an unavoidable delay between the end of the phonecall and the final webhook call to register the call.

For realtime webhooks, the "Unique ID" field name (the code for which is [[uniqueid]]) should be added to the output and save in the local system. Then this value should be checked on each request to check if the call is a new call, or if is a status update for an existing call. If the status is irrelevant, the subsequent requests could just be ignored by the receiving system.

Adding Webhook Data

The fields that the Webhook call will submit now need to be. The Body Key value will be a field name that the receiving endpoint will accept and the Body Value can either be a static value or, more typically, a dynamic value associated with the AVANSER call data.



  1. Enter a field name in the empty Body Key field
  2. Click in the empty Body Value field
  3. Click on the desired field name on the list of the left and the empty Body Value field will be filled in with the field placeholder.
  4. Click Add to add another key/value pair
  5. A new blank Body Value will be shown, enter the desired field name
  6. Repeat step 3 to add the field placeholder, and continue click Add (step 4) to create additional fields until all the desired fields have been added
  7. A preview of the data that will be sent via the Webhook will be shown in the body.

Webhook Header and Authentication

If the receiving endpoint requires authentication or additional headers to be set, click on the Authentication or Headers tabs to set these values.



  1. For Authentication, Basic authentication or Bearer tokens can be set, select the appropriate type and enter the Username, Password or Token as required.
  2. Headers can be set in the same fashion as the Body data in key/value pairs. Both static and dynamic values are supported.

Once all data is set as required, click Update and Continue to save the configuration.

Step 2: Configuring Numbers for an Integration

While a new integration is now available, no numbers have yet been associated with the integration. Before data will be sent to the Webhook endpoint, the appropriate numbers need to be associated with the integration. This number selection is performed from the Numbers configuration view.



After clicking Numbers, find the numbers that should generate and tick the checkbox (1). Then click Bulk Operations and click Configure (2).



A list of Webhook integrations in the Account field, select the desired integration and then click Update and Continue.



Other bulk operations you can perform include:
  1. Enabling and Disabling integration configurations.
  2. Deleting integration configurations.

    • Related Articles

    • Integrations: Salesforce

      This article will guide you through the configuration of Salesforce in the AVANSER Customer Portal.  In order to use Salesforce reporting, you'll have to configure the app first. Follow its dedicated Knowledge Base articles available at: Salesforce ...
    • Integrations: Acquisio

      This article will guide you through the configuration of Acquisio within AVANSER Customer Portal as well as steps within Acquisio configuration. Before jumping to the article, you can check our short video. Step 1: ACQUISIO - Enable external data ...
    • Integrations: Google Ads

      This article will guide you through the configuration of Google Ads. In order to use Google Ads reporting, you'll have to configure Google Ads Dashboard to collect the Conversions sent by AVANSER. Follow its dedicated Knowledge Base article available ...
    • Google Analytics Integration Setup and Troubleshooting

      AVANSER's Google Analytics integration pushes ‘call conversions’ into GA as offline events. The call events are considered as offline because the act of calling a business is an offline action, i.e. not an online click or browse etc. which could be ...
    • Integrations: Google Ads - Set Up Conversions

      This article will guide you through the configuration of Google Ads. You will need to create a Conversion Action within Google Ads. This conversion will be used for attribution. Navigate to https://ads.google.com/ and login with your Google ...