Guide to integrate your Moengage Campaign Reports with Sprinkle

Datasource Concepts

Before setting up the datasource, learn about datasource concepts here

Step by Step Guide

STEP-1: Configure Connection

To learn about Connection, refer here

  • Log into Sprinkle application

  • Navigate to Datasources -> Connections Tab -> New Connection ->

  • Select MoEngage

  • Provide all the mandatory details

    • Name: Name to identify this connection

    • API ID: You can copy the API ID by going to the MoEngage Dashboard -> settings and then APIs. Under the Transaction Push/Report settings, click Copy API ID.

    • API Secret: To access the API secret, navigate to the MoEngage Dashboard -> settings and then APIs. In the general tab, under transaction Push/Report settings, Click on "Click here" to get the API secret.

    • Data Center Name: You will be part of one of the data centers when you sign up with MoEngage. Depending on your data center, MoEngage will provide you with the dashboard, SDK, and REST API. Read more.

STEP-2: Configure datasource

To learn about datasource, refer here

  • Navigate to Datasources -> Datasources Tab -> Add ->

  • Select MoEngage

  • Provide the name -> Create

  • Connection Tab:

    • From the drop-down, select the name of the connection created in STEP-1 for MoEngage.

    • Click on Update

STEP-3: Create Dataset

Datasets Tab: To learn about Dataset, refer here. Add Dataset, providing the following details.

  • Campaign Report Name (Required): The file name in the API is the same as the report name created in the campaign report builder, but with underscores instead of spaces. For example, if the name of the report in the dashboard is "Report Test", then the file name for the API is Report_Test.

  • Report Generation Date (Required): The date of report generation is in YYYYMMDD format. For example, 20210217 in the name represents a report generated on 17th February 2021.

  • Destination Schema: Choose the destination Schema on the data warehouse.

  • Destination Name (Required): Name of the table to be created in the warehouse.

  • Destination Create Table Clause: Provide additional clauses to warehouse-create table queries such as clustering, partitioning, and more, useful for optimizing DML statements. Learn more on how to use this field.

STEP-4: Run and schedule Ingestion

In the Ingestion Jobs tab:

  • Trigger the Job, using the Run button

  • To schedule, enable Auto-Run. Change the frequency as required.

Last updated