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

feita há 5 anos889 visualizações
1 Resposta
0
Resposta aceita

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
respondido há 5 anos
  • 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

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas