Skip to main content
Solved

Whatsapp HSM Template with local context fields

  • Nov 25, 2024 5:21 PM UTC
  • 3 comments
  • 117 views

landrady

I created a custom app with a trigger, this app sends local context fields like a url of an order. I would like to send a Whatsapp HSM with this information, but, when I am creating a message template there, I can’t see my app context fields variables, and so, I can’t register the message template with the real variables.

Best answer by Fabio Gaulke

Hey, ​@landrady!

 

As ​@Gustavo Boregio already said, you can create WhatsApp Templates with custom fields the same way as in “common” flows…

 

The main difference is the need to provide examples for each variable:

 

You can populate these fields via actions steps in your automations or even via API: https://api.manychat.com/swagger#/Subscriber/4d01076149250e9e47f3b8aa7dc53baa

View original

3 replies

Gustavo Boregio
Forum|alt.badge.img+7
  • Community Moderator & Expert
  • Nov 25, 2024 8:14 PM UTC

​@landrady check for the {} to add the custom fields on the template

 


landrady
  • Author
  • Up-and-comer
  • Nov 26, 2024 10:52 PM UTC

Thanks ​@Gustavo Boregio , so, to use a context variable in HSM templates is not working at this time.

I created some custom fields to the user and applied it with the context of trigger before sending a HSM message.


Fabio Gaulke
Forum|alt.badge.img+3
  • Community Moderator
  • Answer
  • Nov 27, 2024 2:13 AM UTC

Hey, ​@landrady!

 

As ​@Gustavo Boregio already said, you can create WhatsApp Templates with custom fields the same way as in “common” flows…

 

The main difference is the need to provide examples for each variable:

 

You can populate these fields via actions steps in your automations or even via API: https://api.manychat.com/swagger#/Subscriber/4d01076149250e9e47f3b8aa7dc53baa