What are HSM parameters?
Parameters or placeholders are elements within the template that allow some variability in the content they will deliver, thus being able to customize the response for different users.
Let's see two examples:
Example #1
Template:
⛈ According to data from the National Meteorological Service, the Municipality of Tigre 🐯 reports that an alert for strong and southeastern storms is in effect in the area, with a high tide of {{1}} at {{2}} o'clock. 🕐
Resulting message:
⛈ According to data from the National Meteorological Service, the Municipality of Tigre 🐯 reports that an alert for strong and southeastern storms is in effect in the area with a high tide of 4.02m at 2:00 p.m. 🕐
This message has {{1}} and {{2}} as text placeholders, which when sending the HSM must be replaced with text that can have any shape and size, in this case, schedules. Thus leaving the possibility of reusing the same message on different occasions when it is needed.
Example #2
Template:
{{1}}, we have already loaded the documentation that you sent us! 🙂 To finish, take the online training to learn how to make the best use of the application and complete the Driver Aptitude Test. Continue with the registration process: {{2}}
Resulting message:
Alejo, we have already loaded the documentation that you sent us! 🙂 To finish, take the online training to learn how to make the best use of the application and complete the Driver Aptitude Test. Continue with the registration process: https://www.conductores.com/inscripcionAlejo
This message also has 2 placeholders, in this case acting so that {{1}} serves to send the name of the person to contact and {{2}} to send a special link for each person.