LeadSquared WhatsApp Integration with Infobip

1. Feature Overview

Today, businesses communicate with customers through many different channels (SMS, Voice, Email, Mobile Messaging, Chat, etc.). Infobip offers scalable, fast and flexible solutions to help customers build and manage a single contact center platform. To learn more about Infobip, visit https://www.infobip.com
LeadSquared offers WhatsApp integration to help users communicate with their leads. Our WhatsApp functionality supports integrations through different solution providers like Infobip. This article helps you set up WhatsApp messaging through your LeadSquared account using Infobip as your service provider.


2. Prerequisites

If you’re not familiar with LeadSquared’s WhatsApp integration, see WhatsApp Business Messaging Connector. For frequently asked questions, see WhatsApp Business FAQs.

  1. Reach out to us at support@leadsquared.com regarding Infobip WhatsApp integration.
  2. Get an Approved WhatsApp Business Number and Account.
  3. Submit Message Templates for Approval.


3. Installation

To know how to install the WhatsApp Business connector, refer to WhatsApp Business Messaging Connector.


4. Configuration

Once the connector is installed, add and configure your WhatsApp phone numbers to the connector. To do this, enter –

4.1 Basic Details

LeadSquared WhatsApp Integration

WhatsApp Business NumberSelect the country code, and provide your WhatsApp business number. This field is mandatory.
Account NameProvide a relevant name for your connector. This field is mandatory.
Allow Lead Generation on incoming messageClick Slider to allow automatic lead creation when you receive messages from unknown mobile numbers.
Lead SourceFrom the dropdown, select a lead source for your leads.

Once you’re done, click Next.


4.2 Service Provider

Then, from the available options, select Infobip, and click Next.

LeadSquared WhatsApp Integration


4.3 Authentication

You can authenticate your Infobip integration through an API key or through UserName and Password.

Authentication through API Key

Infobip WhatsApp Integration

  1. Generate your Infobip API Key.
    Visit Infobip help documentation and follow the instructions to generate the API Key. Enter the key you generated in the API Key (publicAPIKey) field.
  2. Visit Infobip help documentation to get your Base URL, and paste it in the Base URL field.

Note: We recommend that you generate the Infobip API Key for a period of 1 year or longer.

To ensure the WhatsApp messaging data is posted to LeadSquared, you must now configure the Inbound Webhook in your Infobip account.

  1. Copy the Inbound Webhook URL from the Configure WhatsApp pop-up.
  2. Go to  https://portal.infobip.com/ and log in.
  3. Navigate to CHANNELS AND NUMBERS > Channels > WhatsApp > Senders tab.
  4. Select the number and from ellipsis menu, select “Edit configuration”
  5. Under Inbound Configuration , click edit icon next to Default Configuration.
  6. Paste the Inbound Webhook URL (copied in Step 1) in the URL textbox. Ensure that ‘Forwarding action’ is set to ‘Forward to HTTP’.
  7. Click Configure.

LeadSquared WhatsApp Integrations


Authentication through UserName & Password

Infobip WhatsApp Integration

Alternatively, you can authenticate using your Infobip UserName and Password.

  • Enter your Infobip account number in the Phone field.
  • Visit Infobip help documentation to get your Base URL, and paste it in the Base URL field.
  • Follow the process listed above to configure the Inbound Webhook in your Infobip account.

Click Next, when you’re done.


4.4 Converse Settings

LeadSquared Converse is an instant messaging feature that allows you to have real-time conversations with your leads via WhatsApp.

LeadSquared WhatsApp Integration

To integrate LeadSquared Converse with WhatsApp, complete the following steps –

  1. On the Converse Settings tab, toggle the Enable Converse Slider slider.
  2. Under User Access, grant permissions to users who can communicate with leads through the LeadSquared Converse.
    • Based on Role – From the Search and Select Users dropdown, select the LeadSquared user roles that can send messages through LeadSquared Converse.
    • Advanced (User Level) – Based on the value present in the selected user boolean field (e.g., For user Sam, the “Is Employee” field contains “Yes”), the user will be able to send messages through LeadSquared Converse. From the Select User Field dropdown, select a relevant boolean field. To create a new user field, see Manage User Custom Fields.
  3. Functionality – The following additional settings must be configured –
    • Approved Templates – Enable this functionality to allow your users to send approved WhatsApp templates to your leads.
    • Unapproved Templates – Enable this functionality to allow your users to send unapproved WhatsApp templates to your leads. These can only be sent if the 24-hours service window is active.
    • Notify Lead Owners* – When enabled, only lead owners will get notifications of the WhatsApp messages a lead sends. When disabled, all logged-in users will receive notifications of these WhatsApp messages.
    • Sending Rich Media – Enable this functionality to allow your users to send media files in the WhatsApp message.


  • *Message notifications are only sent to one user, i.e., either the Lead Owner or to the user (other than the Lead Owner) that sent the WhatsApp message to the lead. When the Notify Lead Owner setting is enabled, only the Lead Owner will get notified, while the user who sent the message will not get a notification.
  • If you enable the Send Rich Media option, you must also enable the Approved Templates option. This ensures that you can add your media files to a template when messaging your leads.

LeadSquared Gupshup Integration


4.5 Advanced Settings

In this screen, you must map –

  • Activity Mapping – A LeadSquared activity field to your WhatsApp messages. This is the activity that will be posted every time a WhatsApp message is sent or received.
  • WhatsApp Opt-Out – A LeadSquared lead field to the WhatsApp opt-out functionality. Your leads can opt-in or out of receiving WhatsApp messages on the basis of this field.
  • 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 slider.
  • 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 – From the dropdown, select a lead field for the WhatsApp opt-in/opt-out functionality. Your leads can opt-in or out of receiving WhatsApp messages on the basis of this field.

Gupshup WhatsApp Integration

Note: You must create a custom lead field of boolean type to map to the WhatsApp opt-out functionality. For example, you may create a custom lead field called “WhatsApp Opt Out”. Leads for whom the field is selected/checked won’t receive WhatsApp messages.

Click Save & Close when you’re done.

  • If your credentials are correct, you’ll see the success message highlighted below.
  • If they were incorrect, the integration will fail.


4. Conversing with Leads via WhatsApp

Integrating Converse with LeadSquared’s WhatsApp connector will enable your users to have real-time conversations with your leads through WhatsApp. Using templatised messages, you’ll be able to attach and send media files (such as images, documents, etc.) in your conversations. To know more, refer to LeadSquared Converse.

LeadSquared WhatsApp Integration


5. Next Steps

Once the connector is successfully installed, you can proceed to add WhatsApp templates and finally message your leads. For details, see Adding WhatsApp Templates to LeadSquared.


Any Questions?

Did you find this article helpful? Please let us know any feedback you may have in the comments section below. We’d love to hear from you and help you out!

Was this Helpful?

Notify of
Inline Feedbacks
View all comments