WhatsApp send message link

Hi everyone,

Im trying to make a โ€œSend WhatsApp messageโ€ action.

Found this address for whatsapp API, which actually works fine if you just type the phone number:
https://wa.me/โ€œphone numberโ€

BTW Iยดm using in the target URL for the WhatsApp action I have setup.

What would be the right way to refer โ€œphone numberโ€ to the data of โ€œCellphoneโ€ column?

Thanks!!

Solved Solved
3 12 5,690
1 ACCEPTED SOLUTION

Sure, Colin, this is what Iยดve done. Really easy.

  1. iยดve set up an action:

The basic target URL for whatsapp messaging is: https://wa.me,โ€œphonenumberโ€
This works if you just type your phone number in the โ€œphonenumberโ€ field.
Although if you want the phone number to be pulled from a column use the CONCATENATE formula like in the screenshot. โ€œ[contacto]โ€ is the name of the column where I have the phone numbers.

*NOTE. You need your google sheet or wherever your data table is to show the โ€œ+โ€ sign in front of the phone number. Otherwise, itยดll probably wont work. To accomplish this, just add an apostrophe โ€™ before the + symbol. This way Google Sheets, recognizes your input as text, and wont delete the + symbol.

  1. This is the result:
    3X_9_e_9e10d0bad815e03b035527251a0300472005b377.png

Hope this helps!

View solution in original post

12 REPLIES 12

Solved. Using CONCATENATE formula.
Thx!

I would like to see that made into a simple demo to be put under โ€˜Tips and Tricksโ€™ please!

Sure, Colin, this is what Iยดve done. Really easy.

  1. iยดve set up an action:

The basic target URL for whatsapp messaging is: https://wa.me,โ€œphonenumberโ€
This works if you just type your phone number in the โ€œphonenumberโ€ field.
Although if you want the phone number to be pulled from a column use the CONCATENATE formula like in the screenshot. โ€œ[contacto]โ€ is the name of the column where I have the phone numbers.

*NOTE. You need your google sheet or wherever your data table is to show the โ€œ+โ€ sign in front of the phone number. Otherwise, itยดll probably wont work. To accomplish this, just add an apostrophe โ€™ before the + symbol. This way Google Sheets, recognizes your input as text, and wont delete the + symbol.

  1. This is the result:
    3X_9_e_9e10d0bad815e03b035527251a0300472005b377.png

Hope this helps!

UPDATE!
So I believe Whatsapp changed something and the link stopped working.
I had to remove the โ€œ+โ€ symbol and set the column as โ€œnumberโ€ type.

Now working again.

Is there a way to select the contact from the contact list once redirected to WhatsApp with a pre-filled message from AppSheet?

Hola Nicolas, many thanks for your example

How, after entering the phone number, do you add the text you show us, especially so that the lines appear separately? Thank you very much

Neat idea.

Use : https://wa.me/1XXXXXXXXXX

Donโ€™t use : https://wa.me/+001-(XXX)XXXXXXX

Boa tarde.

Eu fiz igual o amigo ensinou, mas coloquei o cรณdigo 55 dentro do cรณdigo(porque aqui รฉ Brasil).

Exemplo: 

concatenate(" https://wa.me/55 ",[ Telefone 1 ],

"?text = Olรก, ", EncodeURL( concatenate( [ Nome Completo ] )))

Isso, no caso de aparecer jรก o telefone do whatsapp e o nome da pessoa, Exemplo: Olรก, Fulano de tal, .......ea mensagem que se quer digitar. 

Abraรงos.

Marcos-Betim/MG

I'm not sure whether you're sharing information or asking a question about a problem you encountered.

In case it's helpful, consider modifying your expression to exclude imprecise spaces in the URL (e.g., in "text = Olรก") and column references (e.g., "[ Telefone 1 ]"), as well as to encode all the message text:

concatenate("https://wa.me/55",[Telefone 1],"?text=",EncodeURL( concatenate("Olรก, ", [Nome Completo] )))

 

Olรก, tudo bem?

Grato amigo, os espaรงos, que esqueci de explicar, foi somente para deixar o cรณdigo mais limpo para a pessoa que eu respondi entender melhor. 

Na verdade, foi uma ajudinha ao fรณrum, sรณ isso.

Muito grato pela dica!

Oi, Marcos, obrigado por postar!

Ainda nรฃo consegui fazer o meu Appsheets enviar essas msgs de zap automaticamente. 

Duas dรบvidas:

1) quando digito uso o " https://wa.me/55 ... " direto na URL, ele cai no meu whatsapp, jรก com o texto escrito corretamente, mas tenho que clicar no "aviรฃzinho" do whatsapp para a msg ir. Supondo que eu consiga fazer o appsheet funcionar (rs), a msg realmente รฉ enviada, sem que eu tenha a necessidade de clicar no aviรฃozinho, correto?

2) vc sabe se para fazer isso funcionar eu preciso para algum plano mensal?

Obrigado!

Top Labels in this Space