Status Alerts for Exports

Understand how to monitor and track statuses for exports.

Overview

CleverTap allows you to export data to third-party partners, such as Amazon Web Services (AWS), Google Cloud Platform (GCP), etc. You have the flexibility to choose between one-time data exports and recurring exports. Keeping track of export status is crucial, especially for recurring exports, as they are scheduled to run at regular intervals.

This feature allows you to monitor the status of your data exports via Webhook on your preferred systems. It provides alerts when an export is initiated or completed successfully. Status tracking allows for keeping track of your recurring exports and taking necessary decisions whenever required.

📘

Supported Partners for Export Status

Currently, we provide events export status for Amazon S3 and Google Cloud Platform (GCP) partners only.

This document further explains the prerequisites, how to enable and disable export status alerts, and track and monitor them.

Prerequisite

Ensure you integrate with the preferred technology partners:

Setup

This procedure involves the following major steps:

  1. Set up a Webhook
  2. Enable Status Alerts for Exports on CleverTap Dashboard
  3. (Optional) Modify the Webhook

Enable Status Alerts for Exports

To enable status alerts for exports:

  1. On the CleverTap dashboard, go to Settings > Partners > Exports.
  1. Toggle the Export Status Alerts button in the top right corner. The Enable export status alerts pane appears.
  1. From the Webhook Name drop-down, select the Webhook.
  2. Click Enable.

📘

Note

Once enabled, the export status tracking is applied to both existing and new export creations.

To disable status alerts for exports:

  1. Toggle the Export Status Alerts button in the top right corner.
    The Disable export status alerts? dialog box appears.
  1. Click Disable.

Modify the Webhook

If required, edit the Webhook as follows:

  1. On the Exports page, click the Edit icon next to Export Status Alerts.
  1. On the Enable export status alerts pane, you can either create a new URL or use the existing one.
  • To use an existing Webhook URL, select one of the preferred Webhook URLs from the Webhook Name drop-down list.
  • If required, to create a new Webhook URL, click Add Webhook URL.
    For more information about creating Webhook URLs, refer to the Webhooks documentation. Once you create a new Webhook, click the Refresh icon for the new Webhook to appear here.
  1. Click Change.

📘

Note

We only support a POST Webhook.

Sample Payload for Export Status

The JSON payload configured on the Webhook URL will be pushed to the user once the export begins or ends. The following is a sample JSON payload showing the export status received via the Webhook URL.

{
"Export Request Id": 1690283492,
"Partner": "Google Cloud Storage",
"Type": "Events",
"Status": "Completed",
"Frequency": "One Time",
"Date and Time": "25/07/2023 4:50:52 PM"
}

The JSON payload contains the following parameters:

ParametersDescription
Export Request IdUnique identifier of the export request. For example, 1690283492.
PartnerName of the export partner. For example, Google Cloud Platform (GCP).
TypeType of export. For example, events.
StatusStatus of the export process. For example, Initiated or Completed.
  • One-time: a one-time export is initiated and completed just once.
  • Recurring: a recurring export is initiated and completed repeatedly at set intervals or schedules.
  • FrequencyInterval at which the export operation occurs. For example, these intervals can be every 4, 8, 12, or 24 hours.
    Date and TimeDate and time when the export operation is initiated or completed.