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

No results

Help CenterCampaign ManagementTriggering your campaignTrigger campaigns through Messagebird in Mailmodo

Trigger campaigns through Messagebird in Mailmodo

Last updated December 25, 2023

In this article we will see how we can configure transactional campaigns in Mailmodo, triggered by events recorded in MessageBird flow.

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.

Trigger campaigns through Messagebird in Mailmodo

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

Trigger campaigns through Messagebird in Mailmodo

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

Trigger campaigns through Messagebird in Mailmodo

Step 4: Click on save and exit.

Trigger campaigns through Messagebird in Mailmodo

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. 

Trigger campaigns through Messagebird in Mailmodo

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

Trigger campaigns through Messagebird in Mailmodo

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

Trigger campaigns through Messagebird in Mailmodo

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

Trigger campaigns through Messagebird in Mailmodo

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.

Trigger campaigns through Messagebird in Mailmodo

Step 10: A Webhook URL will be generated which can be accessed from setup steps. 

Click on Copy URL. We will use this web hook url in the Messagebird flow.

Trigger campaigns through Messagebird in Mailmodo
How to build a Flow and trigger Webhook in MessageBird?

Step 1Select Flow Builder from the dashboard on the left.

Trigger campaigns through Messagebird in Mailmodo

Step 2: Click on Create new Flow. A pop up will open. Click on Create Custom Flow.

Trigger campaigns through Messagebird in Mailmodo

Step 3: Select a Trigger which will initiate your flow.

Trigger campaigns through Messagebird in Mailmodo

Step 4: Create desired flow. 

For example, let's take the 'Omnichannel' option where we would set up a flow, that whenever a message is received the email should go from Mailmodo. 

Trigger campaigns through Messagebird in Mailmodo

Step 5Click on Plus (+) option to add HTTP as an action to this flow.

Trigger campaigns through Messagebird in Mailmodo

Step 6Click on HTTP Request option to enter the webhook details. 

Step 7Select Method as Post.

Trigger campaigns through Messagebird in Mailmodo

Step 8: Copy the URL from the Mailmodo trigger info page and add in the URL section of the Webhook.

Trigger campaigns through Messagebird in Mailmodo
Trigger campaigns through Messagebird in Mailmodo
Trigger campaigns through Messagebird in Mailmodo

Step 9Switch On the Body option to write the custom payload of the Webhook. 

Trigger campaigns through Messagebird in Mailmodo

Step 10Set Content-Type header as application/json.

Trigger campaigns through Messagebird in Mailmodo

Step 11: Enter the custom payload by copying the Webhook structure from the Mailmodo trigger info page.

Trigger campaigns through Messagebird in Mailmodo

And paste it in the body of HTTP Request in MessageBird. 

Trigger campaigns through Messagebird in Mailmodo
Trigger campaigns through Messagebird in Mailmodo

Map the value for email with the MessageBird available variable to pass the email address of the contact to Mailmodo.

 

Trigger campaigns through Messagebird in Mailmodo

Step 12Click on Test Configuration to test the Webhook. 

Trigger campaigns through Messagebird in Mailmodo

Step 13Add a default value (your email address) in the email field to receive the email triggered from configured Webhook. 

Trigger campaigns through Messagebird in Mailmodo

Once it shows the Success message, it is ready to get published.

Trigger campaigns through Messagebird in Mailmodo

Step 14Click on Publish to set the flow live.

Trigger campaigns through Messagebird in Mailmodo

 

Was this article helpful?