How to send whasapp message

Hello,

my requirement is i have mobile number list in the excel.
i need to send whatapp message to each number.
is it possible using UiPath ?
if yes then how?

Hi @Mathkar_kunal,

Yes, it is possible in UiPath using UI Automation. You can automate WhatsApp Web to send messages.

Another approach is to use APIs, which is a more stable and scalable solution. You can capture the response as well.

Thanks.

Thanks

ok but can we send one by one to list if i have i excel? is anything need to configure for each number i have ?like cliend id or else?

what is the API for this?
can you plesae help me with this if you have api or porper steps?

Hi @Mathkar_kunal,

Yes, using UI Automation, you need to prepare a WhatsApp URL (https://wa.me/) for each number and open that URL in the browser. After that, you can perform the required actions. Using this approach, you can send messages, attachments, and more.

Another option is to use WhatsApp APIs (third-party providers such as Twilio). Usually, you can start with a trial version, but for production usage, you will need a paid plan. However, this approach requires considerable development effort, along with additional API costs.

Thanks

You can also use the WhatsApp Business integration service available in UiPath’s connections:

It does require credits though. But easy integration.

Hi @JarrydScott,

To connect using APIs, you need client credentials, which you will receive after registering for a WhatsApp Business account.

Also, WhatsApp itself does not provide a direct trial version for production APIs. Usually, trial/sandbox access is provided by third-party providers such as Twilio.

Thanks

Yep - fully understand. It’s a good use case though if @Mathkar_kunal is interested.

I am currently using it at 3 of our clients. Works really well (using their WhatsApp business accounts though).

@Mathkar_kunal

Can you refer belo videos, and documentations,

Happy Automation

it is asking clent ID

from where i can get this id?

@Mathkar_kunal

If you need to use watsapp business integration services then you first need watsapp api creds to be created..those would be paid from meta ..check here for steps

if you are not a paid subscriber then your way should be to integrate and use watsapp web via ui

cheers

Hi @Mathkar_kunal ,

To connect with Whatsapp integration service follow the below steps,

(your Client Secret). You may need to click a “Show” button to reveal the App Secret.

Hope it helps.

You need to create/register an app on Meta for developers: https://developers.facebook.com/

First register an account, and then create an App. Follow this video for more info:

Just another reminder - this is not free. You might get some initial credits to work with, but after that, you will need to pay for each message. For free messages - use Twilio or Whatsapp UI.

i dont wnat to pay can i use free twilio what app send message?

here it is asking accont sid and aut token .
from where i can get?
and is this free service?because dont want to do with ui interaction
@Anil_G @JarrydScott @yedukondaluaregala

Hi @Mathkar_kunal,

You need to create an account on Twilio. You will get $15 for trial.

Thanks

@Mathkar_kunal

  • Log in to your Twilio account
    Twilio

  • On your main dashboard, you will see a section called Account Info

  • Your Account SID and Auth Token will be listed there.

You can copy and paste them directly into the Twilio connector configuration in UiPath Integration Service.

@Mathkar_kunal

Even twillo is not free even that is paid

cheers

This is unsupported and it might change, but I got my messages through Baileys Introduction | Baileys

Yes, if you have the WhatsApp connector available in Integration Service, you can avoid UI automation completely. Create the WhatsApp connection, read the phone numbers from Excel, and use the available activities to send messages directly.


you can get the clientID and Client secret from you Admin profile

References:

Happy Automation!

thanks but it involves cost right, so checking for another option

Hi @Mathkar_kunal,

If you’re checking the feasibility or building a proof of concept, I’d recommend Twilio. We explored a couple of options, and Twilio was the easiest to get started with using its free trial. Other options required approvals even for trial access.

Alternatively, check within your organization if any team is already using WhatsApp for official communication. In that case, you may be able to obtain access to the WhatsApp API directly through your existing setup.

Thanks