lundi 3 juin 2019

User dynamic variables in whatsapp templates provided by facebook

I want to generate a whatsapp template using dynamic variables. The same thing can be done in email easily as it supports for loops, but whatsapp template doesn't support this.

As an example I want to achieve this:

a-10
b-20
c-30

The number of elements can vary.

For email I will pass a list of values for a variable. The variables in the code should be filled with character and value and be accessed in a template like this:


   - 


It should produce the result as shown in the description above.

How to do the same thing in whatsapp?




Aucun commentaire:

Enregistrer un commentaire