AWS Pinpoint: Custom/ Dynamic data in email template

0

Hi
I have a usecase where i need to include custom data generated dynamically in the email body.
Is there a way to refer that within the template?
I was hoping to use the attributes or user.userAttributes for the same.

From the forum these are the ones I have tried and dint work in the html content.
{Attribute.myCustom}
{{Attribute.myCustom}}
{{Attribute.myCustom}}
{{{{Attribute.myCustom}}}}

Use Case
I want to send an email in my campaigns having the following format.

Hi {CustomerName},
Please do something about the following
Then a table of data
{AccountId},{Account Contact} ...

Regards
Well Wisher

已提问 5 年前889 查看次数
1 回答
0
已接受的回答

Hello,

You can definitely include personalization elements in your emails. To include substitution values, just include the attribute name in double curly braces.

For example, if you have an attribute called User.UserAttributes.FirstName, you could include the following in your email:

<p>Hello {{User.UserAttributes.FirstName}},</p
>```

If you have an attribute called Attributes.FirstName, you'd use {{Attributes.FirstName}} instead.  
  
Hope that helps! Thank you for using Amazon Pinpoint.  
  
Brent @ AWS
AWS
已回答 5 年前
  • i am also having similar user case.. where i have created template..in pinoint the same template for @yahoo and outlook they are landing in inbox.. for gmail they are landing in spam folder.. we also use images with href tags .. please let me know how can i fix this problem

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则