Collecting data from Webhook

Follow this guide to collect data using a webhook and preview the data.

Introduction

Use the Webhook connector to collect data from apps that allow you to use a webhook, such as Google Ad Lead Forms. The data collected by the Webhook datastream is passively received. This means you cannot collect the data manually. Instead, you select the events on which to collect data. For more information, see Webhook connector reference.

Prerequisites

Before you complete the procedure in this guide, perform all of the following actions:

  • Ensure you can log in into the app from which you want to collect data.

Connecting to Webhook

Adding a Webhook datastream

To add a Webhook datastream, follow these steps:

  1. Select the workspace you work with in Adverity and then, in the platform navigation menu, click Datastreams.

  2. In the top right corner, click + Create datastream.

  3. Search for and click Webhook.

  1. Click Next.

  1. (Optional) Rename your datastream.

  1. In Webhook URL, copy the URL.

  2. Log in to the app from which you want to collect data, and then paste the Webhook URL into the corresponding field. Adverity can receive data from any app that allows you to enter a webhook URL.

  3. In Provider, select the data source from which the data is collected.

  4. (Optional) To include only a part of the JSON object received from the data source in the data extract, specify the path to this data in JSON Path. If you enter a JSON path, only the data specified by the JSON path is included in the data extract, and all other data in the JSON object is ignored.

  5. In Key, enter the key to verify the data collection. You can find the key in the configuration of the app. If you cannot find the key, leave this field empty. However, to collect data from Google Ads Lead Form, the Key field is mandatory.

    The key adds additional security to the connector. If you add the key to both the app and the Key field in the configuration, Adverity can compare the keys to ensure the data is coming from the correct source.

  1. Click Next.

Choosing where to transfer your data

To choose where to transfer your data, follow these steps:

  1. To assign destinations to your datastream, select their checkboxes. For more information on destinations and their configuration settings, see Introduction to transferring data.

  1. Click Next.

Collecting data from webhook

Data is passively received in the form of events. These events are stored in the Events section of that datastream. To collect data with the Webhook datastream, select the events on which to collect data. For more information, see Webhook connector reference.

Previewing data collected from Webhook

The fetch collects data from Webhook which takes some time. The Overview page of the newly created datastream is now displayed. To preview the collected data, follow these steps:

  1. In the All tasks tab, find the task at the top of the list, and click Show extracts.

  2. Click the top hyperlink.

  3. The data extract is displayed in a table containing the data that you have fetched.

What’s next?

After collecting data from Webhook, harmonize your data so that it conforms with Adverity's unified naming and formatting conventions.