Skip to main content

Introduction

Zapier is an online platform that helps you automate workflows by connecting the apps and services you use. Using the MoEngage and Zapier integration, you can create custom workflow automation for more than 5,000+ apps on Zapier.

MoEngage and Zapier

The MoEngage and Zapier integration allows you to connect your MoEngage account to various 3rd party destinations listed on Zapier’s marketplace, such as Google Workplace, Slack, Salesforce, WordPress, etc., to automate various actions. For example, let’s say you have asked your customers to opt-in for beta testing using a Google Form. Now, you want to connect the form to MoEngage such that as soon as users fill in the Google Form, a user attribute “beta user” with the value true is updated. Using Zapier, you can create the following workflow: For Every New Response (trigger) in Google Form, Update User (action) in MoEngage. You can learn more about how Zapier works with this Quick Start Guide by Zapier.

Triggers and actions

Using Zapier’s terminology, a “zap” is an automated workflow that connects your apps and services. The first part of any zap is to designate a trigger. Once your zap is enabled, Zapier will automatically perform the respective actions whenever your trigger is detected. The following Triggers and Actions are supported:

Supported triggers

With MoEngage’s Connector Campaigns, you can use MoEngage to trigger your Zapier workflows for a multitude of purposes. Read about how to use MoEngage as a trigger and its use cases here.

Supported actions

The following actions are supported:
Action nameDescription
Create or Update UserThis action allows you to import customers into MoEngage. If the user already exists, it updates the user’s attributes. View use cases for this action.
Add or Remove User from Cohort (Audience)This action allows you to add or remove users in a cohort using the Cohort APIs. View use cases for this action.
Import User EventThis action allows you to import user events to MoEngage using the Event APIs. View use cases for this action.
Fetch Campaign ReportThis action allows you to fetch campaign reports (configured using the report builder). View use cases for this action.

Integration

Prerequisites
  • Ensure you have access to your Zapier account.

Connecting Zapier to MoEngage

Zapier must connect to your MoEngage account before you can build any Zaps. On your Zapier Dashboard:
  1. Navigate to My Apps > Add connection.
Zapier My Apps Add connection screen
  1. Search for MoEngage. A new window will open for you to enter your credentials.
Zapier MoEngage credentials window You can get these credentials from your MoEngage Dashboard. Copy your Data API ID and Data API Key. Fill the following fields in Zapier from the MoEngage dashboard:
FieldAction
UsernameType or copy and paste the Data API ID. The Data API ID and the Workspace ID of your MoEngage account are the same. The Workspace ID of your MoEngage account is available at Settings > Account > APIs > Workspace ID.
PasswordType or copy and paste the Data API Key. The Data API key of your MoEngage account is available at Settings > Account > APIs > API keys > Data API settings.
RegionMoEngage data center that you signed with you on MoEngage. For more information about the data center that you signed up with, refer to Data Centers in MoEngage.
  1. Click Yes, Continue.
  2. You should now see MoEngage listed under your apps. You can validate your MoEngage app name and region here.
MoEngage app listed under Zapier apps with name and region Congratulations! Now that your MoEngage account is connected with Zapier, you can start creating workflows as per your requirements.

Creating your first Zap

In the following example, we will be sending cohorts from Google Form to MoEngage. These cohorts can then be used for targeting in MoEngage campaigns. We will create a zap: “For Every New Response (trigger) in Google Form, Add the User to a Cohort (action) in MoEngage”. On your Zapier Dashboard, click on the “Create Zap” button.

Step A: Select your trigger app

  1. Type in “Google Forms” and select it.
Selecting Google Forms as the trigger app in Zapier
  1. In the workflow editor:
    1. Choose event: New Form Response. Click on Continue and then sign in to your Google Account.
    2. Choose account: Select your connected account from the dropdown and click on Continue.
    3. Setup trigger: Select the form name from the dropdown box and click on Continue. Zapier will then fetch a sample entry for you to test out the trigger. Then click on Continue to move on to the next step.
Setup trigger step showing form selection and sample data
  1. Now you need to setup MoEngage as an action. Click on ”+” and search for MoEngage.
Searching for and selecting MoEngage as an action
  1. Select “Add or Remove User from Cohort (Audience)” from the list of Actions. Click on “Continue”.
  2. Next, choose your account from the list of populations. It should already show the account you connected before. Click “Continue”.
  3. Type in the value for the fields. Read more about Cohort APIs here. You are free to either type values or choose to map the outputs of the previous steps.
Cohort action fields mapped from Google Form outputs
  1. Click on “Test & Continue”.
  2. Your Zap is now ready to be published.

Some templates to get you started

You can browse Zapier templates on the Zapier MoEngage page to get started.