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
Aug 20, 2020 01:10 PM
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?
Solved! Go to Solution.
Aug 20, 2020 02:07 PM
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.
Aug 20, 2020 02:07 PM
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.
Aug 21, 2020 12:55 AM
Well that just works PERFECTLY. Thanks @Justin_Barrett! Grateful and much appreciated.
Aug 21, 2020 07:29 AM
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!
Jan 27, 2023 05:38 AM
Thanks a lot Justin!!!!!
Love it, It works but I had to replace the app for the www address 😉