Chat ON Desk WhatsApp with LeadSquared

Installation

To integrate Chat ON Desk WhatsApp on LeadSquared, perform the following:

  1. Login to your LeadSquared application and head to the Apps Marketplace.
  2. Search with the keyword WhatsApp.
  1. Click INSTALL on the WhatsApp Messaging Connector plugin.
Configuration

To configure Chat ON Desk WhatsApp with LeadSquared, perform the following steps:

1. Once installed, hover your cursor over the Settings icon and then click Configure. The Configure WhatsApp Business page appears.

  1. Under the Basic Details section, enter the following parameters: WhatsApp Business Number – Enter the WhatsApp Business Number. Account Name – Enter the Account Name in the text box. Allow Lead Generation on incoming message – Toggle the allow lead generation on incoming message to enable Lead Source option.
  2. Click the arrow next to Lead Source to select the options.
  3. Click Next. The Service Provider Selection page appears. From the available options, select WhatsApp Cloud and click Next.
6. Click Next. The Authentication page appears.

Under the Authentication tab, enter the following parameters:

Send Message URL – Enter https://app.chatondesk.com/chatbot/userintegrations/talk/Leadsquared?wa_number={{your_wa_number}}

WhatsApp Number – Your Chat ON Desk WhatsApp number associated with your account. This is the WhatsApp business number you provided in the Basic Details screen. It’s a non-editable field. To change the number, navigate back to the Basic Details screen, and change it there.

Permanent Access Token – Enter the API key generated from your Chat ON Desk account.

Authentication Header Template – leave as it is `Bearer {{Token}}`

Get Media URL – Enter https://app.chatondesk.com/chatbot/userintegrations/talk/Leadsquared?media_id={{mediaId}}&action=geturl

Whatsapp Business Account ID – leave blank 

Notifications Webhook URL – The Webhook URL is disabled by default.

  • Copy the ‘Notifications Webhook URL’ parameter.
  • login to your Chat ON Desk account and navigate to Integrations.
  • Add or edit Leadsquared Integration.
  • Paste the parameter under the Webhook URL field.
7. Click Next. The Converse Settings page appears, toggle the Enable Converse slider, if you wish to enable Converse. Click Next, and provide details.
  • Activity Mapping – A LeadSquared activity field to capture your WhatsApp messages. This is the activity that will be posted every time a WhatsApp message is sent or received.
  • Default WhatsApp Number Fields – The number you set as the default phone number will be automatically selected when you’re sending a WhatsApp message to a lead. You can also select other numbers that are available from the Add Another Number dropdown.
  • Default Country Code – The default country code will be used to send messages to a phone number that’s stored in a custom field, if no country code is listed.
  • Enable Rich Media Template Support – If you want to include media files in your WhatsApp message, you must enable the slider.
  • Show URL Preview in Custom Messages – Enable the slider to allow for URL previews in non-templatized WhatsApp messages.
  • Compliance Type – Here, you can select the compliance type for the WhatsApp template, by choosing either WhatsApp Opt-out or Opt-in.
  • WhatsApp Opt-out – Your leads can opt-in or out of receiving WhatsApp messages on the basis of this field. From the dropdown, select a LeadSquared lead field for the WhatsApp opt-in/opt-out functionality.
  • Blacklist Incoming Messages – If required, you can enable this option to blacklist incoming messages from specific numbers. This is useful when you want to block numbers that send inappropriate messages to your users. Once enabled, enter the phone numbers in the text box available on the right side of your screen. You can add phone numbers with 7-12 digits (excluding the country code). This option is available only when the Allow Lead Generation on incoming messages setting is enabled.
Click Save & Close when you’re done.
Add, Edit and Delete WhatsApp Templates

WhatsApp templates must be submitted for Facebook approval from your Chat ON Desk user account. The templates need to be reviewed by WhatsApp to ensure that they do not violate any of their policies.

Once your templates are approved, you can add them to your LeadSquared account.

To add a WhatsApp template, perform the following steps:

1. On the menu bar, navigate to APPS and click WhatsApp Templates. The Manage WhatsApp Templates page appears.

2. On the Manage WhatsApp Templates page, click Add Template. The Add/Modify Template page appears.
    1. Enter the following details
      a. Name – Template name obtained from your Chat ON Desk account Templates section.
      b. Namespace – leave blank
      c. Content – Message content that is approved on Chat ON Desk.
    2. On the Add/Modify Template page. Toggle the slider against Media Template. The Image, Video, Document, and Text Header And Footer option is enabled.
    3. To attach an image, click Image. Format supported is image/jpeg, image/png, and the size is 5 MB.
    4. To attach a Video file, click Video. Format supported is video/mp4, video/3gpp, and the size is 16 MB.
    5. To attach a document file, click Document. Format supported is video/mp4, video/3gpp, and the size is 16 MB.
    6. To attach a Text Header And Footer file, click Text Header And Footer.
    7. Image Details (Default Value) – You can insert the file into the template by entering the file URL in the Image Details field. Alternatively, you can attach the file from your desktop by clicking the attachment icon to upload it.
    8. Video Details (Default Value) – Click the attachment icon and choose a video/mp4 file to specify a URL or upload an attachment.
    9. Document Details (Default Value) – Click the attachment icon and choose a file to specify a URL or upload an attachment. If the field you specify is null (if there is no URL contained in the specified field), this attachment will be sent in the WhatsApp message.
    10. Toggle the Button Template to enable the button types.
    11. Select Button Type from the radio button. The options available are Static and Dynamic.
    • Static – Select Static radio button.
    • Dynamic – Select the Dynamic radio button and enter the following details:
      Default file name (applicable only to document type template) – Enter the default file name of the attachment.
      Object – Select the object from the drop-down list. The options available are Lead and Activity.
      Field – Select the field from the drop-down list.
    1. Click Save to save the file.
    2. Click Cancel to cancel the application and return to the Manage WhatsApp Templates page.
    3. Use the action buttons to Edit or Delete an existing template.

Table of contents