Joseph Hsieh
My feedback
1 result found
-
89 votes
This is now available for early access. See https://support.autopilothq.com/hc/en-us/articles/360007000691-Personalize-emails-with-Liquid-RSS-and-JSON-fetch-Beta- for more. If you’d like early access please contact our support team.
An error occurred while saving the comment Joseph Hsieh supported this idea ·
When an email is sent out for each user, allow for an external call to retrieve a JSON payload to be inserted into the email template as variables.
The external request should allow for the Personalization Variables to customize the request to the external source.
Example:
api.mysite.com/getTopNewsStory?user=--EMAIL--&type=--Industry--
Example JSON response:
{
user: someone@mysite.com,
news1: { title : "One Title", link: "mysite.com/news/one"},
news2: { title : "Two Titles Tuesday", link: "mysite.com/news/two"},
news3: { title : "Three Tittles", link: "mysite.com/news/three"},
}
Example email template:
Hello --First Name --!
Your top News for today:
<a href="{news1.link}">{news1.title}</a>
<a href="{news2.link}">{news2.title}</a>
<a href="{news3.link}">{news3.title}</a>
- MySite