WhatsApp channel

Last update: 20.01.2023

WhatsApp connects to Deskie through integrations with third-party services that allow you to work with the official WhatsApp API:

Integration with Twilio

Twilio is a service with a lot of features, including being the official provider of the WhatsApp Business API.

Configuring WhatsApp Business in Twilio

If you don't have a Twilio account yet, check out the information on rates and how the WhatsApp Business API works before you sign up.

After registering, you need to decide which number to connect to WhatsApp Business, and there are two options:

The next step is to request access to the WhatsApp Business API and connect WhatsApp Business to Twilio.

Connecting to Deskie

1. On the main console page of your account, copy the Account SID and Auth Token and specify them in the Twilio integration connection form in Deskie: administrator account → Settings section → Integrations subsection → Add integration → WhatsApp block.

721385d81699128292a65096eca3adc8.png
e0f47c3fcf2436b2632e0c4d19b8e2e6.png

2. In the Twilio console, follow the path: Messaging → Senders → WhatsApp senders → Edit sender. On the page that opens, in the Endpoint configuration block, select the use webhooks option, and in all fields specify the Deskie Webhook URL from the integration connection form.

9b6f46b30f77fab665f4ef46f566b537.png
79650d3aafc7b3e1ccfa990db9a0c577.png

3. In the integration connection form in Deskie, specify the phone number configured in Twilio as WhatsApp Sender, select the default group that will receive cases from this number, and click the "Connect" button.

dfcb2485dca1704e9d0669236fbce123.png

Important points

a. WhatsApp has a "24-hour Window", meaning there is always a 24-hour countdown from the user's last message, during which you can send a reply. If more than 24 hours have passed since the user's last message, WhatsApp will block your response and you will only be able to send the user a paid template message as agreed with WhatsApp.

b. WhatsApp Business accounts cannot be added to group chats.

c. The limit for receiving files from users is 25 MB. Limit for sending files by agents from Deskie — 16 MB (Twilio's own limit). If you need to send larger files, you can connect integration with cloud storage.

d. To have your company name displayed in the WhatsApp chat list instead of just your phone number, you need to get a WhatsApp Official Business Account.

Communication

All cases list displays only the cases coming from asynchronous channels — users on both sides reply when it’s convenient for them. As for real-time chats, they are displayed and processed in a separate interface.

When you get a new chat (WhatsApp, Slack, Telegram, FB messages, Whatsapp, Skype, Viber, live chat), a green icon appears in the upper right corner of the agent’s account. It displays incoming chats and new chat responses:

8fa1a73d7ed12e14e90b6581bf00d272.gif

Chats are displayed in the all cases list too, but only after they were ended:

  • when an agent is ending the chat, clicking “end chat” in the lower right corner;

  • after 10 minutes (default value) of inactivity on both sides;

  • when one of the automated rules is applied, that has an “end chat and set status” action (for example, if you don’t plan to process chats and want to get them as cases in the all cases list):

6beb7946fea57f0c0648d1eb936e5286.png

We have separated synchronous and asynchronous communication on purpose because, if you want to provide first-class support, it is necessary to consider the specifics and expectations of customers, depending on the type of channel you use to carry out the communication.

For example, the user is ok to wait for a couple of hours to get a response to his/her email. However, even a 5-minute response delay in chats might seem like an eternity. If you do not take this point into account and treat cases from emails and chats equally, some customers will get an unpleasant experience interacting with the company.

Integration with 1msg

1msg is the official provider of WhatsApp Business through which you can get your own WhatsApp Business account.

Connection

1. If you have not used the 1msg service before, then register and connect your WhatsApp Business account to it.

2. After connecting WhatsApp to 1msg, copy your API URL and token from 1msg and paste them into the appropriate fields in the integration connection form in Deskie (administrator account — Settings section — Other integrations section — 1msg).

2ebf87fff74acff50145ef4270bbc6be.png
491355cb5c72ccf92ddf4b711ca57491.png

3. In order for you to be able to add a WhatsApp channel to the widgets, enter the "Phone number that the WhatsApp account is linked to" in the corresponding field. A link to a chat with your WhatsApp account is generated exactly by the phone number.

Communication

4. All cases list displays only the cases coming from asynchronous channels — users on both sides reply when it’s convenient for them. As for real-time chats, they are displayed and processed in a separate interface.

When you get a chat (Whatsapp, FB messages, Telegram, Skype, Instagram DM, Viber, Slack, live chat), a green icon appears in the upper right corner of the agent’s account. It displays incoming chats and new responses:

e3923d8ad7cd892159571518dab8e039.gif

Chats are displayed in the all cases list too, but only after they were ended: either when the agent manually closes the chat or after 10 minutes (default value) of inactivity from both parties:

5768c300722b1be1410c85c6e04f62a6.png

We have separated synchronous and asynchronous communication on purpose because, if you want to provide first-class support, it is necessary to consider the specifics and expectations of customers, depending on the type of channel you use to carry out the communication.

For example, the user is ok to wait for a couple of hours to get a response to his/her email. However, even a 5-minute response delay in chats might seem like an eternity. If you do not take this point into account and treat cases from emails and chats equally, some users will get an unpleasant experience interacting with the company.

5. The user's phone number (to which his/her WhatsApp account is linked) is pulled up in the "WhatsApp" field in user data.

If this user has already contacted you through the "Telephony" channel or you use phone numbers to identify users, then enter the phone number from the "WhatsApp" field in the "Phone" field to combine user profiles from different channels and see the full history of correspondence with them across all channels.

1be4281b78934e12d8b8b81857a1e075.png

Was this article helpful?