WhatsApp integration (Green-API)

Green-API is an unofficial service to access stable and fast WhatsApp API.

What are the risks of using unofficial WhatsApp API? Firstly, your WhatsApp account may be blocked without the possibility of recovery. In this case, the phone number will remain, you can still make calls and send SMS, but it will be impossible to use WhatsApp on this number.

However, if a customer writes to you first, you will never get banned. You can also write first yourself, but of course, within reasonable limits. The provider claims that they have not had a single case of blocking in the entire time they have been operating since 2017.

 

Creating and connecting a channel to DaoDesk
 

1. Go to the Green API website and authorize in your personal account.


2. Add a new account and connect your WhatsApp following the instructions:


3. In DaoDesk, go to "Management” - Channel Settings” and click “Add Channel”:

 

4. From the drop-down list, select the “WhatsApp Green API” channel and the department where requests from the channel will be received by default:

 

5. Specify the channel name and then go to Green API personal account to instance settings and copy the API url, IdInstance and ApiTokenInstance:


6. Paste the API url, IdInstance, and ApiTokenInstance into the appropriate fields in DaoDesk:

7. Click the “Synchronize and Save” button. If the settings are specified correctly and there are no problems connecting to the Green API, the status “Connection successfully established” will be displayed.

 

Additional information
 

1) In case of problems or errors while working with the channel, we recommend to check the error log in the system, as well as go to your account on the Green API site and check the connection status there.

 

2) In requests, the status of sending a message is displayed next to operator responses.

This means that you will be able to see directly in the DaoDesk request whether your message has been read by the user or not yet. The following statuses are available:

  • one gray checkmark - message has been sent. Sending a message does not guarantee its successful delivery: from DaoDesk the message first passes through your Whatsapp provider, and if there are no problems at this stage (e.g. message/file size limits are not exceeded, there are no technical problems on the service provider's side), the status will change to “delivered”. If the message could not be delivered, you will see an error with a description of the problem.  
     
  • two gray checkmarks - the message has been delivered. It means that the operator's reply has reached the client, but has not been read yet.
     
  • two green checkmarks - the message has been read by the user. 
     
  • red exclamation mark - the message could not be sent.

 

Please note that the statuses in DaoDesk are transmitted by the provider itself, so in case of any problems on its side, the statuses may, for example, be displayed with a delay.