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

gefragt vor 5 Jahren891 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 5 Jahren
  • 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

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen