
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2020 12:55 AM
Well that just works PERFECTLY. Thanks @Justin_Barrett! Grateful and much appreciated.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 😉
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 19, 2023 08:41 AM
Hi @Justin_Barrett this code for me is not working. saying "Unknown field names: gsm" even tho i changed the field name to gsm and pasted your code...
and in addition when i click on it it sends me to whataspp desktop and but when you look in the URL the phone number is not the same as iv put in the field.
Please help, i need it for a client and i'v beeing working on it for hours with no hope left

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 20, 2023 11:21 AM
Check to see if your field name contains a trailing space after the “m”. The only way to check for this is to edit the field, as the space won’t be visible in the field label.
