In this article we will go through how you can send transactional campaigns in Mailmodo from your WebEngage account.

How to create a transactional campaign in Mailmodo?

Step 1: Go to templates from the vertical menu on the left side. Click on create new template.

Step 2: Either select a blank template or a pre made Template Gallery 

Step 3: Use the editor to edit the template. Save and rename the template upon completion.  After saving, click on back

Step 4Click on save and exit.

Step 5: You will be redirected to the home page. Click on Trigger under Campaigns from the vertical menu on the left. Next, click on Create trigger campaign. 

Step 6: Select the template you saved before. Click on next.

Step 7: Add Subject Line, Pre-header text, From name and Reply to email. Click on next.

Step 8: You will be redirected to trigger on events. Select WebEngage from the list of platforms. Click on next.

Step 9: Review and test your campaign. To test, click on send test campaign->enter email ID->send test email.

Once tested and reviewed, click on enable campaign.

Step 10: You will be redirected to Trigger campaign section. Click on Copy URL button after selecting Show setup steps. We will use this webhook url in WebEngage.

To access this page in future, go to transactional in the vertical menu (left side)->select the campaign-> Show setup steps

WebEngage Setup

Step 1In WebEngage go to Journeys → + → Create new journey

Step 2In the Journey builder, drag and drop Occurrence of Event and select your event of choice.

Step 3Add your next event as Call API. Add a connector to this from the event, to call the action whenever the event is triggered.

Step 4Build your API Request, Select POST and paste your webhook url from Mailmodo. Set your body as picked from Mailmodo.

Step 5: Test your response, Review and Save.

Step 6: Publish your Journey.

Step 7Through postman call your Event API 

Sample Event curl

curl -X POST <HOST>/v1/accounts/<YOUR_WEBENGAGE_LICENSE_CODE>/events \

    --header 'Authorization: Bearer <YOUR_API_KEY>' \

    --header 'Content-Type: application/json' \

    --data '{

        "userId": "johndoe",

        "eventName": "MM Email opened",

        "eventTime": "2018-09-15T18:29:00-0800",

        "eventData": {

                "email_subject": "First shirt on us!",

"campaign_id": "123",

                "campaign_name": "New Customer Discount"




Step 8Once you hit the API, your Journey will be triggered.

Step 9Once your campaign is sent, go to your Users Dashboard in Journey. Select the user from whom the event has been triggered.


Under the Events section, expand the event of choice and you will be able to see the desired data.

That's it! You have successfully created a trigger campaign!