Integrating Planfix and WhatsApp using Chat API

From Planfix
Jump to: navigation, search

Chat API is a service that allows companies to communicate with WhatsApp users from their own CRM or management systems. In order to connect Planfix and Chat API, you need to complete a few simple steps. Before you begin setup, sign up for a Chat API account.

Setup

  • In your Chat API dashboard, add one or more WhatsApp accounts:


tQigYO.png


  • Then follow the instructions on the site. Open WhatsApp on your phone and scan the QR code:


2UH0B8.png


  • Once you have successfully authorized the service, your account will be available to work with. You can set the following as desired:
    • account name
    • enabling read receipts
    • enabling video notifications
    • don't forget to save your changes:


kJ0GhS.png


  • Then open your account settings and copy the API key and API URL. You'll need them to set up the integration with Planfix:


dh810J.png


  • Now let's set up Planfix. Go to Account management — Integrations — Messengers — WhatsApp — Chat API:


RT1FGQ.png


84gKyA.png


  • Activate the integration. Then paste the API key and URL you copied earlier into the settings window that opens. You can also specify the template for creating new tasks and contacts, employees linked to task communication, and the user from whose name comments will be added to tasks:


NBoDpG.png


  • Click the Refresh link to get a list of added WhatsApp accounts from your Chat API dashboard. You can give the accounts different names here:


8uFFDn.png


Important

For the integration to work with each linked WhatsApp account, you must add the authorization token for each:


70iYdc.png


You can get your authorization token from your Chat API dashboard:


nFrAop.png


  • Don't forget to save the integration settings by clicking the Save button.


nIAj4W.png


After you save, all new messages from WhatsApp will be sent to Planfix, and a separate task will be created for each chat.


WhatsApp integration supports

  • Sending and receiving files.
  • Receiving location and contacts.


Go To