Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

WhatsApp Button for WhatsApp Desktop

Topic Labels: Base design
Solved
Jump to Solution
1841 4
cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to create a button or url so when it is pressed it will go to

{gsm} is the phone number and should open up WhatsApp Desktop.

Any ideas?

1 Solution

Accepted Solutions

Welcome to the community, @Michael_Stout! :grinning_face_with_big_eyes: This should be possible. Are you saying that {gsm} is your field name containing the number? If so, this formula in a button field should do the trick:

IF(gsm, "https://api.whatsapp.com/send?phone=" & gsm)

That will create the link (activating the button) if there’s a phone number in the {gsm} field, and leave it blank otherwise.

However, be aware that it’s going to be a two-stage process. Airtable always opens URLs in the browser, and can’t be forced to target another application directly. When clicking the button, the URL would open in the browser first, which would then redirect to WhatsApp desktop.

See Solution in Thread

4 Replies 4

Welcome to the community, @Michael_Stout! :grinning_face_with_big_eyes: This should be possible. Are you saying that {gsm} is your field name containing the number? If so, this formula in a button field should do the trick:

IF(gsm, "https://api.whatsapp.com/send?phone=" & gsm)

That will create the link (activating the button) if there’s a phone number in the {gsm} field, and leave it blank otherwise.

However, be aware that it’s going to be a two-stage process. Airtable always opens URLs in the browser, and can’t be forced to target another application directly. When clicking the button, the URL would open in the browser first, which would then redirect to WhatsApp desktop.

Well that just works PERFECTLY. Thanks @Justin_Barrett! Grateful and much appreciated.

Glad to know that you got the answer you were seeking! If you would, please mark my comment (the one above, not this one) as the solution to your question. This helps others who may be searching with similar questions. Thanks!

Thanks a lot Justin!!!!!

Love it, It works but I had to replace the app for the www address 😉