Table of Contents:
Table of Contents minLevel 2
The Transactional Injection Feed
While the feeds in the previous section: Ongage Feeds: HTML, RSS, XML and JSON use a URL to retrieve dynamic content from an external content/web server to populate outgoing email messages, with this feature you can specify the dynamic feed directly within the Transactional API call.
Use Cases
A powerful feature for eCommerce and travel
- This is a powerful feature for eCommerce and travel sites. With it one can send transactional emails of purchase summaries (e.g., purchase line items) or reservations details (e.g., hotel, room, itinerary line items, etc.).
- The feature enables marketers to use the same email message, yet each recipient will get a tailored message, with their personal reservation details, or purchase summary, based on the dynamic content values fed in from the API call feed.
- These Transactional API calls each with a tailor feedsfeed, are generated using data retrieved from the email marketer's back-end CRM, Accounting or Reservation platform.
Setup Required to send Transactional emails using an API Injection Feed
Email Message
Your email message will include Dynamic List Fields (aka List Fields that get populated with values from your list), as well as Dynamic feed fields that will get populated from the feed data/values included in the Transactional API Request.
For example your email message might look like this:
Please note how the email message includes "{{ocx_feed{param=dynamic_feed}}}" where dynamic_feed is the name of the feed in the API call and contains the XML data as parameter in API request.
...
Note: The "dynamic_feed and "blockName" in the Email Message, needs need to match exactly how it is spelled in the API Request and XML Feed (and it is Case Sensitive!).
For the above setup, the transactional Email received in the Inbox, will look similar to the following screenshot:
Additional Notes
- The List Field value added in API request above under "message_dynamic_fields" will overwrite the value stored in List field of any contact while sending the Transactional Emails only. The original value stored in list field will still remain as it is after the API request.
- You can also use IF-THEN-ELSE conditions in the email message and send dynamic content to end users based on the List field value either populated in API request or already stored in List.