Products

Send Personalized Emails Using Templates through API

We've added new features to help you personalize your email communication while also simplifying and speeding up the entire process.

July 11 2018

Doing effective email communication can take a lot of time. Creating great content, designing an eye-catching email and addressing specific groups of people when dealing with large databases is a big challenge.

In order to help you gain the most out of using email, we’ve added new features designed to ensure your communications are fast, consistent and, above else, impactful.

Create templates in the Portal and standardize your emails

You can build the email design with simple drag and drop functions or upload a fully polished HTML inside the Portal Templates section and save them for future communications. These templates can then be used to send your email communication through the Portal or over API.

This makes it much easier for Marketing to standardize the look and feel of your brand across your entire email communication, whether it’s happy birthday, promotional, various service information emails or any other.

All of this can be done inside the Portal, as shown in the image below:

 

Personalize your email communication over API

Adding placeholders in the templates reduces the amount of time needed to give your emails that personalization touch customers value today. Personalized email communication does not only improve your customer relationship, it also boosts click-through rates, conversions, they’re more likely to be opened and much more according to Business2Community.

The placeholders’ usefulness does not end with email personalization as they can be used to insert various service information into emails, depending on your needs. For example, flight delay notification email placeholders would look like this:

Dear “FIRST NAME”, your flight number “FLIGHT NUMBER” has been delayed and will depart at “TIME”.

Now you can use their full potential over Email API as well.

Save time using the Email API

The email templates you created inside the Portal can now be called using their ID number over API. Along with the templateId you can also personalize the content by sending placeholder values for each recipient email address and decrease the amount of time needed for a successful email launch.

With this feature Marketing and IT teams can focus on their core activities. It gives Marketing the ability to quickly launch personalized and targeted communications without heavily relying on IT.  

API request example:

https://api.infobip.com/email/1/send \
-F from='Airline company ' \
-F to='{"to": "john.smith@somedomain.com", 
"placeholders": { "firstname": "John", "lastname":"Smith", "flightnumber":"123", "time":"30 MIN" "departure":"LHR", "arrival":"CDG", "departurestart":"50 minutes", "departurelocation":"London International Airport", "departuregate":"1", "departureterminal":"2", "departuretime":"12July, 18:45", "departureschedule":"17:45", "arrivallocation":"Paris International Airport", "arrivalgate":"--", "arrivalterminal":"1", "arrivaltime":"12July, 20:15"}}' \
-F templateId='12345' \
-F defaultPlaceholders='{ "firstname": "Customer"}}' \

This is how the email notification will apear on a mobile phone:

 

Portal FLOW - Leverage opens and clicks as conditions in communication journeys

Another way you can customize your email communications is with the open and clicks conditions. They come in handy in situations when users don’t open the email or click the link inside it; giving you other options of communicating with them.

In the mentioned case of flight delay notifications, you can offer flight information subscription to your customers. If they click the Subscribe link in the email you can send them important flight notifications. To ensure they get the subscription offer, you can automatically trigger an SMS notification as a backup option if the emails are not opened or the subscription link is not clicked.

The image below shows how you can easily add conditions and other settings to your emails:

Want to learn more on how to personalize your email communication?

Visit our API developer Hub