Mailmodo 0ff833fbTry Mailmodo for Free↗️Login Mailmodo↗️

No results

Help CenterCampaign ManagementTriggering your campaignTrigger Campaigns through CleverTap on Mailmodo

Trigger Campaigns through CleverTap on Mailmodo

Last updated December 25, 2023

In this article we will explain how you can send triggered campaigns in Mailmodo from your CleverTap account.

Step 1: Create the template in the template section. 

Trigger Campaigns through CleverTap on Mailmodo

Step 2: Navigate to the Trigger under Campaigns and click on 'Create trigger campaign' to create the campaign.

Trigger Campaigns through CleverTap on Mailmodo
Trigger Campaigns through CleverTap on Mailmodo

Step 3Select the created template and click on next to add the details of the campaign.

Trigger Campaigns through CleverTap on Mailmodo

Step 4: Add the relevant 'Subject', 'Pre-Header', 'From Name', 'Reply to Email', and select the 'Sender Email' to complete the details section.

Trigger Campaigns through CleverTap on Mailmodo

Step 5: In select contact step. Select 'CleverTap' from the list in Trigger on events section and click Next.

Trigger Campaigns through CleverTap on Mailmodo

Step 6: In the review section, ensure all the details are correctly shown. After reviewing, click on 'Enable Campaign' to create the trigger campaign.

Trigger Campaigns through CleverTap on Mailmodo

Step 7: A Webhook URL will be generated on the Trigger campaign page under Show setup steps. Use this page to connect your campaign to your platform.

Trigger Campaigns through CleverTap on Mailmodo
Trigger Campaigns through CleverTap on Mailmodo

Step 8Use the copy URL button to copy the Webhook URL.

Step 9Go to settings in your CleverTap account, under the engage section, select Channel, and click on Webhooks

Step 10Create a new Webhook and enter the ‘Trigger Endpoint’ from your campaign into the ‘Destination URL’.

Trigger Campaigns through CleverTap on Mailmodo

Choose ‘POST’ as the ‘HTTP method’ & name your Webhook

Trigger Campaigns through CleverTap on Mailmodo

Step 11: Now you can use this Webhook to trigger emails to be sent from Mailmodo in your CleverTap account

An example on how you can add Webhook to your CleverTap journeys.
Trigger Campaigns through CleverTap on Mailmodo

Step 1: Click on the Webhook block to open its settings. Choose the Webhook you just created under the ‘Webhook URL’ dropdown

Trigger Campaigns through CleverTap on Mailmodo

Step 2Then copy the following code snippet into the Webhook payload and choose the format as JSON:

{ "email":"john@example.com","clevertap_id":"eqODiQ3D0Xldl_YgmdfWcZjAvgJhjI90RJgY" "data":{ "firstName":"John" }
}
Trigger Campaigns through CleverTap on Mailmodo

NoteA user on CleverTap is identified by his identity. This identity can be an email, phone number or any other unique string. A help doc on the same can be found     here    

You can pass any identity of your choice(email, phone number, etc.,) in the clevertap_id tag. When you create a profile using an identity and an email, the identity parameter gets saved under the CleverTap identity in your profile dashboard. If no identity is provided in a profile, the email becomes the default identity.

Step 3The argument to “email” points to recipient emails and “data” points to the personalisation parameters. Replace the email argument ‘john@example.com’ with ‘@’ and select the email field from your contact list.

Step 4: Also replace the parameter ‘John’ with ‘@’ and select the appropriate field matching the parameter ‘firstName’.

Step 5: You can add more parameters depending on the campaign, by adding a few extra lines of code in the “data” section

Step 6Make sure that the key of the parameter is exactly the same as the key written in the email campaign

Step 7Save and Close the Webhook. Now this Webhook trigger is part of your journey and can trigger emails from Mailmodo

Was this article helpful?