Triggering a WhatsApp Msg

Happy Holidays!

I am trying to provide users with the option to trigger sending a predefined WhatsApp text message to a doctor requesting to schedule a visitation appointment. The pre-defined text message needs to contain the sender’s name, mobile number & location.
How can I do that?

NB. Apologies for posting a question during holidays

1 Like

HI,
I think this is not possible as Glide does not writes in Whatsapp fields. You’d be able to make it happen using email messages.

You can use a button with a WhatsApp link

In the data tab you can use a template column and introduce variables in your link

3 Likes

Interesting, I didn’t know about this possibility. Googling I found that you have no need of external tools, the format for a prefilled message is https://wa.me/ (phone number with international prefix without + sign) ?text=urlencodedtext.

2 Likes

you need an external tool to urlencode your text or learn the %20syntax… or use the WhatsApp link generator I have mentioned above

@Aj2666 and @Gerard_Fernandez, you can just encode the text using the ENCODE formula on google sheets. This way you will be able to use custom templates.

I’ve talked about that on this post:

4 Likes

Thank you @ionamol for the solution and the explanation.

1 Like

Thank you!

I’ve made URL with Glide column type:
:link: Construct URL

Protocol: (left blank) or put https
Host: https://wa.me/ (phone number with international prefix without + sign)
Path (left blank)

Added QUERY PARAMETER:

text: Hello, name!


Next, added the link to a button. Worked for me :grinning:

3 Likes