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 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 arrow.
Step 1: In WebEngage go to Journeys → + → Create new journey
Step 2: In the Journey builder, drag and drop Occurrence of Event and select your event of choice.
Step 3: Add your next event as Call API. Add a connector to this from the event, to call the action whenever the event is triggered.
Step 4: Build 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 7: Through 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' \
"eventName": "MM Email opened",
"email_subject": "First shirt on us!",
"campaign_name": "New Customer Discount"
Step 8: Once you hit the API, your Journey will be triggered.
Step 9: Once 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!