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

posta 5 anni fa889 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 5 anni fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande