Sending Emails from SmartFlows via Mailjet
Overview
To send email from SmartFlows using Mailjet, you need the following:
Mailjet Credentials
Retrieve your Mailjet API and Secret Keys. They are required for authentication purposes.
Update Your SmartFlow
- Add an External Web Call action to your flow.
- Configure the action as follows:
USERNAME: Your Mailjet Public API Key
PASSWORD: Your Mailjet Secret Key
METHOD: POST
URL OF SERVICE: https://api.mailjet.com/v3.1/send
CONTENT-TYPE: application/json
BODY
Copy
{
"Messages":[
{
"From": {
"Email": "me@mydomain.com",
"Name": "Mailjet Pilot"
},
"To": [
{
"Email": "recipient@domain.com",
"Name": "recipient name"
}
],
"Subject": "Your Subject",
"TextPart": "Your Messageā
"HTMLPart": Your Message In HTML"
}
]
}
- Save and Deploy your flow.
You can now activate your flow and an email should be generated.