Destinations
Use destinations to export data from ChartMogul to object storage services or data warehouses.
Available datasets
ChartMogul allows you to send two types of data:
-
Calculated Data — data calculated in ChartMogul:
-
Source Data — data imported from a billing source, transformed to the ChartMogul data model:
Source customers vs. calculated customers.
Both Source Data and Calculated Data contain a Customers dataset. It’s important to distinguish the two. Source customers are tied to a particular data source. Calculated customers are what you see on customer lists. Each calculated customer contains one or more source customers. When customers are merged, multiple source customers become part of one calculated customer.
Configuring destinations in ChartMogul
To export data from ChartMogul to an object storage service or data warehouse, first create a destination in ChartMogul.
Object storage destinations
Learn how to configure object storage destinations in ChartMogul:
Data warehouses
Learn how to configure data warehouse destinations in ChartMogul:
Webhooks
ChartMogul webhooks allow you to send MRR movements as a JSON payload. Real-time MRR movements serve as the events that trigger the webhook.
Learn how to register a webhook in ChartMogul.
Here’s an example JSON payload:
{
"date": "2023-11-02T14:00:00.000Z",
"type": "mrr_movement",
"customer": {
"name": "Nina Blues",
"uuid": "cus_728b0b6e-7a44-4275-920b-0d0ef833a9a3",
"email": "[email protected]",
"status": "active",
"company": "Hunter Technologies",
"currency": "USD",
"current_arr": 30000,
"current_mrr": 2500,
"external_id": "cus_0001",
"external_ids": [
"cus_0001"
],
"currency_symbol": "$",
"data_source_uuid": "ds_35542640-d9f1-11ed-9c30-7727168c74a5"
},
"description": "reactivated an old account with Platinum annual plan",
"subscription": {
"external_id": "c7209380-798b-11ee-941a-c32899dd4de8"
},
"movement_type": "reactivation",
"account_currency": "USD",
"invoice_currency": "USD",
"account_currency_symbol": "$",
"invoice_currency_symbol": "$",
"movement_amount_in_cent": 2500,
"mrr_movement_in_account_currency": 2500,
"mrr_movement_in_invoice_currency": 2500
}
Read a detailed description of fields contained in the payload.
Other destinations
ChartMogul also allows you to configure the following destinations: