Various methods of sending user events to CustomerGlu for completion of activity based campaigns

Sending Events directly from Server

The following API can be used to send user events directly from your server

Sending events from server to server


Sending events using server side integration


Request Body

To guarantee quick response times, request validations are done at a later stage in the pipeline.

Please ensure that all the required fields (marked with '*') are present in the request payload. Failure to do the same might result in the events not being processed inspite of a success response.


To send events from segment, set up a webhook for your destination.

Create a new Destination of type "Webhook"

Configure Webhook (Actions)

Select the source of data to be sent to CustomerGlu

Set up a name for the webhook

Add mapping to the Webhook

Select which events to Forward to CustomerGlu

Choose only the events which are required for Segmentation and completion of Activities in CustomerGlu campaigns.

Add test event

Load test event from source

Configure the webhook request mapping

  • Add the webhook endpoint

  • Select batch size as 1

  • Add your API Key in the headers with the key name "X-API-KEY"

  • Save the webhook

Sending events from moengage




In order to start sending events from MoEngage to CustomerGlu, MoEngage streams can be used. MoEngage documentation

Sending events from moengage




You can set up a webhook on Amplitude to forward specific user events to CustomerGlu.

Configure CustomerGlu Endpoint as a Webhook on Amplitude

Check out docs

Sending Events from Amplitude



Create and Launch a Webhook Campaign

  1. Login to your Amplitude account and navigate to Organization settings.

  1. Navigate to Integration Portal and click on Add new Destination

  1. Click on Event Streaming

  1. Navigate to Customize Event Payload and enter your Endpoint and API Key found within your CustomerGlu Dashboard.

Cohort Syncing with Amplitude

  1. Navigate to Cohort Sync under "Add New Destination"

  1. Choose List-Based Cohort Integration.

  1. Click on next and then navigate below to find three endpoints - List Creation Endpoint, Add Users Endpoint and Remove Users Endpoint. These three endpoints will be provided by CustomerGlu to be added in Amplitude.

With the above steps, Cohort Sync would be completed and it would be ready for testing.


You can set up a webhook on CleverTap to forward specific user events to CustomerGlu.

Configure CustomerGlu Endpoint as a Webhook on Clevertap

Check out docs

Sending events from clevertap



Create and Launch a Webhook Campaign

Check out Docs

  1. Create a new Webhook Campaign

  1. Select "Live Behavior" as the qualification Criteria

  1. Select the already configured CustomerGlu Webhook Endpoint

  1. Select the events that need to be passed to CustomerGlu

  1. Configure the event names and properties that CustomerGlu will receive and expect for any segmentation/campaign related settings. Liquid Tags can be used for configuring the values.

Note: Please make sure that the resultant payload can be parsed as a valid JSON.


Configure CustomerGlu Endpoint as a Webhook on Webengage

Webengage allows setting up a webhook url, and forwards all the events to the same. The following url can be set up as the Webhook endpoint on your Webengage Dashboard.

Check out Docs

Sending events from webengage


In order to enable webhooks from Webengage, the following inputs from your WebEngage Dashboard need to be added in the Integrations Page of CustomerGlu dashboard:

Check out docs for getting the required credentials

MD5 Hex of <Your_Webengage_License_Code>:<Your_Webhook_Secret_Key> can be generated here

Last updated