[dynamic_help_sidebar root="leads"]

LeadSquared WhatsApp Integration with Ivosights

1. Feature Overview

Ivosights’ WhatsApp self-serve solution helps you engage your customers simply, securely and reliably. Ivosights facilitates customer support and other marketing efforts through WhatsApp.

LeadSquared offers WhatsApp integration to help users communicate with their leads. Our WhatsApp functionality supports integrations through other solution providers like InfobipKaleyra, and Gupshup. This article helps you set up WhatsApp messaging through LeadSquared using Ivosights 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 Ivosights WhatsApp integration.
  2. Get an approved WhatsApp Business Number and Account.
  3. Submit Message Templates for Approval. To know how to do this, refer to Add WhatsApp Templates to LeadSquared.

 

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.

4.1 Basic Details

WhatsApp Zoko LeadSquared Integration

Field Description
WhatsApp Business Number Select the country code, and provide your WhatsApp business number. This field is mandatory.
To get your WhatsApp business number, contact your Ivosights account representative.
Account Name Provide a relevant name for your connector. This field is mandatory.
Allow Lead Generation on incoming message EnableSlider to allow automatic lead creation when you receive messages from unknown mobile numbers.
Lead Source From the dropdown, select a lead source for your leads.

Once you’re done, click Next.

 

4.2 Service Provider

From the available options, select Ivosights and click Next.

LeadSquared - Ivosights Service Provider

 

4.3 Authentication Set-up

On this screen, enter –

LeadSquared - Ivosights authentication setup

Field Description
Client Base URL The base URL is listed here. This is a non-editable field.
WhatsApp Number The WhatsApp business number you provided in the Basic Details screen. This is a non-editable screen. To change the number, navigate back to the Basic Details screen, and change the number there.
Username LeadSquared-IvoSight
Password Enter the API Key provided by Ivosights.

Once you’re done entering all the details, click Next.

 

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 entered in the selected user boolean field (e.g., for the user Sam, the “Is Employee” user field contains the value “Yes”), the user will be able to send messages through LeadSquared Converse. From the Select User Field dropdown, select a relevant boolean field.
  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 Owner* – 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 messages.

Note:

  • *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

On this screen, provide the following details –

  • 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.
  • 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.
  • Enable HSM – Disable 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 – 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.

LeadSquared - Ivosights Advanced Settings

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.

 

5. 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

 

6. WhatsApp Templates

To configure WhatsApp templates, refer to Adding WhatsApp Templates to LeadSquared. While configuring templates in the LeadSquared portal , the Template ID has to be copied from the Ivosights portal and pasted in the “Namespace” field.

Ivosights portal

LeadSquared - ivosights message template

LeadSquared portal – 

LeadSquared - ivosights modify template

 

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!

Create Custom Validators for the Chatbot

1. Feature Overview

This article helps you create custom validators (regex) to validate the details captured through the Chatbot. While Phone and Email validators are available by default in your account, this article helps you create validators for other lead details you’ll capture (like Pin Codes, Social Security Numbers, PAN Cards, etc.).

LeadSquared Chatbot

 

2. Prerequisite

  • You must be an Admin user of your account.
  • You must install and enable the Chatbot feature on your account.

 

3. Add Validators

  1. On the Chatbotscreen, from the left-menu, navigate to the Validators tab.
  2. Click the Add Validator button, and on the New Validator pop-up, enter the following details –
    • Name – An internal display name for the regex. This will show up when Creating a Node, under the Validate User Input dropdown.
    • Regex – The regex for the information you’re looking to validate. We’re adding the regex for pin codes.
    • Message – The failure message sent to your lead when they input incorrect values.
  3. Once you’re done, click Save.

Note: You can search for validators by applying the following search filters –

  • Starts with
  • Contains
  • Not contains
  • Ends with
  • Equals
  • Not equals

LeadSquared Chatbot

 

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!

Configure Chatbot Channel

1. Feature Overview

Once you’ve built a chatbot, you must add it to a channel. We support three channels – WhatsApp, Web, and Mobile SDKs.
The WhatsApp channel lets you integrate your chatbot with your WhatsApp business account. The Web channel lets you integrate the chatbot on a portal/landing page/website/mobile apps of your choice.

Note: For the mobile SDK, the following are supported –

  • Android
  • iOS
  • React Native

LeadSquared Chatbot

 

2. Prerequisites

  • You must install and configure the Chatbot feature.
  • If you’re integrating the chatbot with WhatsApp, you must have a WhatsApp Business account with a service provider supported by LeadSquared.
  • If you’re integrating the chatbot with Web, prior developer experience is required.

 

3. Integrate the Chatbot with WhatsApp

Note: Before you integrate the chatbot with your WhatsApp , the following steps must be completed in LeadSquared. This is mandatory.

  1. On the Chatbot screen, from the left-menu, navigate to the Channels tab.
  2. Click WhatsApp, and then click the Add Configurations button.
  3. On the Publish WhatsApp Channel pop-up, choose the WhatsApp number and bot you want to integrate.
  4. Once you’re done, click Publish. The chatbot is integrated with your WhatsApp Business account, and your leads can now interact with the chatbot through WhatsApp.

LeadSquared Chatbot

 

4. WhatsApp Templates

You can create message templates for both Web and WhatsApp chatbots. When creating a node, you can add a Template Message Node, and use the content present in these templates as the response to your leads. The WhatsApp template’s content must be approved by your service provider.

Note: While the web template can be used on any web-based chatbot, the WhatsApp template can only be used if you have a WhatsApp Business account with either Gupshup or Kaleyra.

To create a new template –

  1. From the left-menu, click WhatsApp Templates.
  2. On the Whatsapp Templates screen, click the Create New Template button.
  3. On the Create New Template pop-up, enter the following details for a WhatsApp Template
    • Template Name – Enter a relevant name for the template. This will be used to internally identify the template.
    • Name – Enter the template name. This is mandatory.
    • Message Type – Select the message type from the following options. This is mandatory –
      • Text – This lets you send text- as the message content. Select the Button Type from the following options –
        • None
        • Quick Reply
        • CTA (if you select this, pass the button URL)
      • Image – This lets you send an image as the message content. In the Media URL box, pass the image URL.
      • Video – This lets you send a video as the message content. In the Media URL box, pass the video URL.
      • Document – This lets you send a document as the message content. In the Media URL box, pass the document URL.
    • Header – The header text of the message.
    • Body Text – Enter the text for the message body.
    • Body Parameters – If you’re using this template in a chat flow that contains an API, you can fetch response parameters from the API, and display it in this field. To do this, pass the response parameters (e.g., “EmailAddress”, etc.) within {{}} (e.g., {{EmailAddress}}, etc.).
    • Enter the mailmerge parameters that are contained in the message body.
    • Footer – Enter the footer for the message body.
  4. For a Web Template, enter the message in the Body Text.
    • From the Buttons dropdown, select if you want the button in the template to perform a website open action or a phone call action.
  5. Once you’re done, click Save. These templates will now be available to use when you’re building the chatbot.

LeadSquared Chatbot

 

5. Integrate the Chatbot with Web

  1. On the Chatbot screen, from the left menu, navigate to the Channels tab.
  2. Click Web, and from the right panel, click Add New Configurations.
  3. On the Web pop-up, enter the following details –
    • Bot Title – The external display name for the chatbot. This is what your leads will see when they interact with the bot.
    • Bot Subtitle – If required, you can add a subtitle for the bot. Your leads can see this when they interact with the bot.
    • Bot Logo – You can add a bot logo. To do this, add an image URL of the logo.
    • Select Bot – From the list of chatbots you’ve created, select the bot you want to integrate with WhatsApp.
    • Whitelist URL – Enter the website URL on which the bot is going to be integrated. This is to ensure the LeadSquared servers don’t block the website in which the bot is integrated. This is mandatory.
    • Help Text – Help text on the bot, to help your lead initiate the chat. For e.g., the help text can read, “Send ‘Hi’ to begin the conversation”.
    • Theme Color – The overall theme color for the bot. You can enter the hex code of a color, or select one from the colour picker.
    • Font Color – The font color of the messages sent through the bot. You can enter the hex code of a color, or select one from the colour picker.
    • Position – Configure the position of the chatbot on your website. The values you enter here are pixels to the right and bottom of the screen where you want to display the chatbot.
    • Automatically expand Bot on page visit – When enabled, the chatbot screen will automatically expand when the lead lands on the website on which the bot is integrated.
    • Disable input box for interactive messages – When selected, the chat input box for interactive messages will be disabled. This ensures the lead can only select an input from options provided in the interactive message.
    • Show Powered by Converse – Disable this checkbox if you don’t want to display the Converse branding on your chatbot.
  4. Once you’ve entered the details, click Save.
  5. Once the channel is saved, click LeadSquared Chatbot to copy the chatbot script. Embed this script into the header of the website on which you want to integrate the chatbot. Once this is done, the chatbot is live on your website.

LeadSquared Chatbot

 

6. Integrate Chatbot with Mobile SDK

The steps to integrate the chatbot with a mobile SDK are similar to those for integrating it with a webpage. However, you must also complete the additional steps listed below –

  1. On the Chatbot home screen, click Authorization.
  2. Under Generate API Key, alongside SDK, click Generate.
    • You don’t have to copy this key. No further action is required on this screen.
  3. Navigate to Channels, and click SDK.
  4. On the SDK screen, click Add Configurations. To know how to set up the configurations, refer to Integrate the Chatbot with Web.
    • If you have an existing SDK configuration, verify if the details are correct. To do this, click LeadSquared - edit territory allocation.
  5. Once the SDK is configured, alongside the bot you configured, click LeadSquared Chatbot. On the SDK Parameters for Scheduling pop-up, all the parameters, and use it in the SDK*.
Note: *To obtain the detailed SDK documentation, contact your account manager, or write to support@leadsquared.com.

LeadSquared Chatbot

 

7. Integrate Chatbot with LeadSquared Portals

Integrate a published bot with a LeadSquared Portal. Once integrated, leads can interact with the chatbot directly from the portal page. During these interactions, the bot captures the visitor’s information and the logged-in user’s details.

  1. On the Chatbot screen, from the left menu, click Channels, and then click Web.
  2. Alongside the bot you want to integrate with the Portal, under Actions, click LeadSquared Chatbot .
  3. In the pop-up, click to LeadSquared Chatbot copy the HTML script displayed on the left side, under Add the below script in the head of your HTML page.
  4. Next, from your LeadSquared dashboard, navigate to Workflow>Manage Portals, open the portal you want to integrate with the bot, and access the Portal Designer screen.
  5. On the Portal Designer, click Configurations, and under Script, paste the script.
  6. Navigate back to the Chatbot screen, and now copy the HTML script displayed on the right side, Add the below HTML tag in your page.
  7. Then, navigate to the Portal Designer, and under End of Body, paste the script.
  8. Once you’re done, Publish the portal. The chatbot is now live on your LeadSquared portal.

LeadSquared Chatbot

 

8. Integrate Chatbot with Landing Pages

Integrate a published bot with a LeadSquared Landing Page. Once integrated, leads can interact with the chatbot directly from the landing page. During these interactions, the bot captures the visitor’s information and the logged-in user’s details.

  1. On the Chatbot screen, from the left menu, click Channels, and then click Web.
  2. Alongside the bot you want to integrate with the Portal, under Actions, click LeadSquared Chatbot .
  3. In the pop-up, click to LeadSquared Chatbot copy the HTML script displayed on the left side, under Add the below script in the head of your HTML page.
  4. Next, from your LeadSquared dashboard, navigate to Marketing>Landing Pages, and edit a published landing page.
    • You can also integrate the bot when creating a new landing page, by following the steps listed below.
  5. Navigate to the Page Settings tab (Step 4 on the top-bar), under Embed JavaScript, select Inside Head, and paste the chatbot script into the textbox.
  6. Navigate back to the Chatbot screen, and now copy the HTML script displayed on the right side, Add the below HTML tag in your page.
  7. Then, navigate to Landing Pages, and under Start of Body, paste the script.
  8. Once you’re done, Publish the landing page. The chatbot is now live on your landing page.

LeadSquared Chatbot

 

9. Integrate the Chatbot with WordPress

You can integrate a published bot with a WordPress page. Once integrated, leads can interact with the chatbot directly from this page. During these interactions, the bot captures the visitor’s information and the logged-in user’s details.

  1. On the Chatbot screen, from the left menu, click Channels, and then click Web.
  2. Alongside the bot you want to integrate with the Portal, under Actions, click LeadSquared Chatbot .
  3. In the pop-up, click to LeadSquared Chatbot copy the HTML script displayed on the left side, under Add the below script in the head of your HTML page.
  4. On your WordPress page, navigate to the Code Editor, and paste the chatbot’s HTML script.
  5. Navigate back to the Chatbot screen, and now copy the HTML script displayed on the right side, Add the below HTML tag in your page.
  6. Then, navigate back to the WordPress page, and on the Code Editor, paste the HTML script.
  7. Once you’re done, save and publish your page. The bot will now be displayed on your page.

LeadSquared Chatbot

 

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!

Integrate APIs with the Chatbot

1. Feature Overview

This article helps you integrate LeadSquared APIs and external APIs with the Chatbot. Through the Chatbot, you can leverage these APIs to perform a variety of actions like capturing lead and opportunity details, creating tasks, posting activities, displaying lists of cities, clinics, products, etc.

Note: In this article, we’ve integrated a LeadSquared API with the chatbot. The steps to integrate an external API are the same.

 

2. Prerequisites

 

3. How it Works

In this article, we’re using the Create a Lead API as an example to illustrate how to integrate a LeadSquared API with the chatbot. When integrating the LeadSquared APIs with the chatbot –

In the chatbot API menu

1. Add the API to the chatbot API menu

    • Once you add the API details (Parameters, Headers, Authorization and Body when available), test the API.
    • When you’re adding the API Request Body, ensure it follows the same order in which you’re capturing details in the chatflow. For e.g., if you’re capturing lead details in the order of Phone Number, First Name and Email Address in the chatbot, then the API Request Body should also be in this sequence.

2. After you add and test the API, map a response attribute as the Response Variable.

    • The response variable can be used to set up conditions in a chatbot node. You can configure the chatbot to present different responses based on each condition.
    • In our example, using the Create a Lead API, we’ve added the Id from the API response as the Response Variable. We’ve used it to set up a condition where we verify if a new lead was created, and present different chatbot responses for a new lead and an existing lead.

Return to the bot builder

3. Create an API Node and test if the chatbot works as intended.

Return to the chatbot API menu

4. Map the chatbot intents (lead inputs – Email Address, First Name, Phone, etc.) to the corresponding API request attributes.

Edit the API request body and replace the values with {{intent}}, {{intent-1}}, {{intent-2}}, depending on where the intents (lead inputs) are configured in the chatbot flow.

In our example, we’ll replace the “Value” of “Attribute”:”EmailAddress” with {{intent}}. Similarly, we replace the “Value” of “Attribute”:”FirstName” with {{intent-1}}, and replace the “Value” of “Attribute”:”Phone” with {{intent-2}}. This maps the chatbot intent to the corresponding attributes in the API request body.

LeadSquared Chatbot

 

4. Add APIs to the Chatbot API Menu

We’re using the Create a Lead API as an example here.

  1. On your LeadSquared account, navigate to Apps>Chatbot, and click Get Started.
  2. On the Dashboard screen, from the left panel, click API, and on the top right corner, click Add API.
  3. Enter the following details –
    • API Name – An identifier for the API. This will be used to identify the API when you’re creating Nodes. This is mandatory.
    • Request Details – The API URL. Ensure you pass the correct API host along with the request URL. Append the Access Key and Secret Key to the URL. This is mandatory.
    • API Method – Set GET or POST as the API method. This is mandatory.
    • Params – Enter the API (the Access Key, Secret Key, etc.).
    • Authorization – Enter the authorization tokens if available.
    • Headers – Enter the API header key as Content-Type, and set the value as application/json. This is mandatory.
    • Body – Enter the API body if available. In the body, ensure you pass all the fields you’re capturing data for through the chatbot. We’re passing the following attributes, which you can modify according to your requirements –
      [
      {
      “Attribute”:”Phone”,
      “Value”:”8887888887″
      },
      {
      “Attribute”:”FirstName”,
      “Value”:”Steve”
      },
      {
      “Attribute”:”EmailAddress”,
      “Value”:”steve@example.com”
      }
      ]
  4. Once you’ve entered all the necessary details, click Test API.
  5. When the response is successful, under Response Variables, use”$” to access the response attribute to map as the Response Variable. For e.g., if you’re choosing “Id” as the variable in the Create a Lead API, it should be mapped to “$.Message.Id”.*
  6. Once you’re satisfied with the API, click Save.

LeadSquared Chatbot

Next, go ahead and set up the API node in the bot-builder. When configuring a node, you can view the list of all the API variables added to the chatbot.

LeadSquared Chatbot

 

5. Map the Chatbot Intents to the API Request Attributes

Note: Complete this step only AFTER you set up an API Node chat flow.

Once you’ve set up the API Node, map the intents configured in the chatbot (phone, first name, and email address) to the corresponding API request attributes. In the example we’ve used, we’re capturing the following lead details in sequential order –

  • Phone Number
  • First Name
  • Email Address

To map these attributes –

  1. On the Chatbot Dashboard screen, from the left panel, click API.
  2. Search for the API you’ve selected when creating the API Node. We’ve created our API node using the Create a Lead API (which we named “Lead Capture”).
    • You can also search and filter by the Request Type and Request URL.
    • You can click Filter Conditions to apply conditions (Contains, Equals, etc.) when searching for the API.
  3. Alongside the API, under Actions, click Edit edit, and on the Add New API pop-up, navigate to Body.
  4. When adding and testing the API (in the previous section), we added dummy values for each attribute. Replace these values with the following –
    • For the intent captured through the API node (Email Address), replace the existing value with {{intent}}. In our example, we added the API Node when capturing the EmailAddress, so we’ll replace the dummy email Id value with {{intent}}.
    • For the previous intent (minus 1) from the API node, replace the existing value with {{intent-1}}. In our example, the intent captured before the email Id is FirstName, so we’ll replace the dummy name with {{intent-1}}.
    • For the previous intent (minus 2) from the API node, replace the existing value with {{intent-2}}. In our example, the intent captured two levels before the email Id is Phone, so we’ll replace the dummy phone number with {{intent-2}}.
    • Do this for subsequent key-value pairs ({{intent-3}}, {{intent-4}}, etc.) present in your API. This is done to ensure that we’re dynamically capturing the lead details for all the leads entering the system.
  5. Once you’re done, click Save.

LeadSquared Chatbot

 

Next Steps

Return to the Bot-Builder to learn how to continue building a chat bot.

 

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!

Build a Journey Based Chatbot (v1)

Important: Refer to this article if the Chatbot feature was enabled on your account before 28th August 2024. If it was enabled on or after 29th August 2024, refer to Build a Journey-Based Chatbot (v2).

1. Feature Overview

Once you’ve installed the Chatbot connector in your account, set up chat flows using the bot builder.

There are multiple components involved in creating a chatbot and you can customize each component down to a granular level for your use case. In the chat flow created below, we’ve utilized all the available components (different types of nodes, APIs, buttons, etc.).

The set-up process and chat flow differ from use-case to use-case. To show you how to build and use the chatbot feature, we’ve taken a generic education industry use case to build a website chatbot. Even if the use case you’re looking to solve is different from the one listed here, you can still understand the function of each component, and use this document as a reference when building your own chatbot.

Note:

  • This article helps you create a Journey Based chatbot flow that can be integrated with a website. The steps to integrate the Chatbot with WhatsApp are also similar (unless stated otherwise). You can use this article as a reference to build your Chatbot integration with WhatsApp.
  • To know how to create an AI Help Bot, refer to Chatbot – AI Help Bot.

LeadSquared Chatbot

 

2. Prerequisites

 

3. How it Works

While you can create chat flows to cover multiple use cases, in this article, we’re looking at how you can create a flow for education institutes to display their courses and other offerings to potential students on their website/portal.

Example Use Case – Student Assistant Chat Flow

In this article, we’ve built a Journey Based Chatbot, and we’ve covered a scenario where new leads interact with the chatbot on an education portal/website. Through the chatbot (by integrating the Create a Lead API), we’ll capture the student’s phone numbers, names and email addresses, and use these details to create a new lead in our LeadSquared account.

Once these details are captured, the chatbot sends a list of courses that are available. From the given options, students select the courses they’re interested in. For the selected courses, the chatbot sends website links where the students can learn more about the course. Along with these links, the chatbot also sends a campus walkthrough video to the lead.

Then, the chatbot captures the lead’s pin code to show the nearest admission office to the lead (for which we’ve integrated an external API), where the lead can schedule an appointment with the admission officer. Once the lead confirms their admission center, the flow comes to an end, with the chatbot informing the lead that someone will soon get in touch with them to schedule an appointment.

LeadSquared Chatbot

The steps we’ve followed to create the chatbot for the above use case are –

  1. Create a bot by providing a name and description.
  2. Create a Text Node to ask for the lead’s Phone Number.
  3. Create a Text Node to ask for the lead’s First Name.
    • Set up validation to validate the phone number captured in the previous step.
  4. Create a Text Node to ask for the lead’s Email Address.
  5. Create an API Node to capture the lead details in your LeadSquared account.
    • Set up validation to validate the Email Address captured in the previous step.
    • Before you do this, ensure you’ve added LeadSquared APIs to the chatbot. For this article, we’re using the Create a Lead API as an example to demonstrate how to create an API Node.
  6. Create an Image/Document/Video Node to share marketing material with the lead.
  7. Create a Text Node to ask for the lead’s pin code.
  8. Create an API node using an external API to display the locations under the pin code entered.
  9. Create an Interactive Node to confirm lead’s location.
    1. Create a Go To Node, and re-direct the lead back to the Ask Pin Code Node where the lead enters their pin. If required, the lead can change their pin code in this step.
    2. Create a Final Interactive Node where the appointment confirmation is sent to the lead. On this node, we’ve also given the lead an option to call the admission office from the chatbot.
Note: The set-up process we’ve followed is for demonstration purposes only. There are multiple ways in which you can set up the chatbot to achieve the same use case we’ve illustrated. We recommend you use this article to understand how to create a chatbot.

 

4. Create a Bot

Begin by creating a chatbot. This is the bot your leads will interact with when they visit your website/portal. To create a bot –

  1. On your LeadSquared account, navigate to Apps>Chatbot, and click Get Started.
  2. On the Dashboard screen, from the left panel, click Bots, and then click Create New Bot.
  3. On the Select Type pop-up, under Journey Based Bot, click Select.
  4. On the Create New Bot pop-up, enter a relevant Bot Name and Description for the bot.
    • This name is only for internal identification, and NOT the actual display name of the bot. We will set the display name in a later step.
  5. Once you’re done, click Save.

LeadSquared Chatbot

 

5. Create Text Nodes to Collect Lead Details

Once the chatbot is created, we’ll create the chat flow. A chat flow is a set of nodes (messages) grouped together in sequential order. A node is a single message that’s part of the chat flow.
A Text node is when the response to the lead is sent in the form of a simple text message.

5.1 Create a Welcome Text Node

In this step, we’re creating a Text Node (message) to greet the lead when they interact with the chatbot for the first time.

Aim – To greet the lead when they use the chatbot.

  • Lead Input Message – Hi
  • Chatbot Response – Hello! Welcome to Greendale Community College.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Text.
  2. On the Text Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Welcome”.
    • Previous node – Since this is the first node we’re creating in the chat flow, we won’t select anything here.
      But if you’re creating a node further down the chat flow, you can select a previous node. An example of a sequence of two text nodes would be if the first node’s response is, “Welcome to Greendale Community College”, and the second node’s response is, “Greendale Community College (GCC) is an open-admissions college located in Greendale County, Colorado.”
    • Intent – The inputs (messages) received by the chatbot are known as intent. These inputs can be sent by a lead or by an API. Examples of intent sent by a lead could be “Hi”, “My order number is 445”, etc. Since we’re creating the first node in a sequence, we’ll hardcode* our intent as “Hi”. This means every time a lead sends “Hi” on the chatbot, the response we configure in the next step will be sent as a reply to the lead. To know about the other intent types available, refer to the Glossary.
    • Final Node – Since this is the first node in our chat flow, we won’t be checking this box.
    • Multi Node Response – A multi-node response is when you send a sequence of responses to a single message from the lead. For example, the lead sends the message ‘Hi’ and the bot responds with two messages – ‘Welcome’ and ‘Please enter your Phone Number’.
      We’ll check this box, because for the intent ‘Hi’, we’re sending a greetings message, along with a follow-up message asking for the lead’s phone number.
      Since this is the first node in the multi-node sequence, once you select the checkbox, ensure the value is set to 1.
  3. Once you’ve set up the Node Configurations, configure the Bot Response. This is the response your lead receives when they message the bot. In our example, we’re going to enter the following response – “Hello! Welcome to Greendale Community College.”
  4. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click the emulator  Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

Note:

  • *When you want to hardcode the intent, you have to enter the value in the box under Intent. You’re NOT required to tick any of the other options (Dynamic Intent and User Input) that are available.
  • You can configure the chatbot to send a greeting message to the lead as soon as the chatbot is launched (and without the lead having to input a message). To configure this feature on your account, contact your account manager, or write to support@leadsquared.com.
  • You can stylise the response using Italics, Bold and Strikethrough.

LeadSquared Chatbot

5.2 Ask for Phone Number

Through this Text node, we’ll ask the lead for their Phone Number. This node is the second in the line of multi-response nodes, and the Response message will be sent on the same Intent message the lead enters (‘Hi’) in the previous step.

Aim – To ask the lead for their Phone Number.

  • Lead Input Message – Hi
  • Chatbot Response – Please enter your Phone Number.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Text.
  2. On the Text Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Ask Phone Number”.
    • Previous node – We will not be selecting a previous node because this node is part of the Multi Node sequence that we’re setting up on the first intent message (“Hi”).
    • Intent – We will continue to use “Hi” as the Intent.
    • Final Node – We won’t be checking this box.
    • Multi Node Response – We will be checking this box, and entering the value 2. This is because it’s the second response to the Intent message. Number subsequent multi node responses in sequential order (3, 4, 5, and so on).
  3. Once you’ve set up the Node Configurations, configure the Bot Response. In our example, we’ll enter the following response – “Please enter your phone number.”
  4. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

5.3 Ask for First Name

Through this Text node, we’ll ask the lead for their First Name. The Intent message for this node is the Phone Number {{user_input}} the lead input in the previous step. In this node, we’ll also validate the phone number the lead provided.

Aim – To validate the Phone Number captured in the previous step, and ask the lead for their First Name.

  • Lead Input Message – 9999999999 (in our example)
  • Chatbot Response – Thank you. Please enter your First Name.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Text.
  2. On the Text Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Ask First Name”.
    • Previous node – Since the lead would’ve responded (Intent) with their phone number in the previous step, we’ll now select the Previous Node as “Ask Phone Number”. This means the response we configure in this step will only be sent after the lead responds to the previous message.
    • Intent – Since the phone number entered is going to be unique to each lead, we’ll select User Input. This means that any value the lead provides will be considered as user intent.
      • Validate User Input – For phone numbers, email, and other unique lead fields, select this checkbox to validate the lead’s response, to ensure you’re not collecting junk values. Since we’re validating the phone number in this step, from the validator dropdown, select PHONE. This validator is available by default. To view the regex that defines a phone number, and to know more about validators, refer to Create Custom Validators for the Chatbot.
    • Final Node – We won’t be checking this box.
    • Multi Node Response – We won’t be checking this box.
  3. Once you’ve set up the Node Configurations, configure the Bot Response. In our example, we’re going to enter the following response – “Thank you for your response. Please enter your First Name.”
  4. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

If the lead enters an invalid phone number, they’ll get the following error message –

LeadSquared Chatbot

5.4 Ask for Email Address

Through this Text node, we’ll ask the lead for their Email Address. The Intent message for this node is the First Name {{user_input}} the lead provided in the previous step.

Aim – To ask the lead for their Email Address.

  • Lead Input Message – Steve (in our example)
  • Chatbot Response – Thank you. Please enter your Email Address.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Text.
  2. On the Text Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Ask Email Address”.
    • Previous node – Since the lead would’ve responded (Intent) with their First Name in the previous step, we’ll now select the Previous Node as “Ask First Name”.
    • Intent – Since the name entered is going to be unique to each lead, we’ll select User Input. This means that any value the lead provides will be considered as user intent.
      • Validate User Input – We won’t tick this box (because a name doesn’t contain any validations).
    • Final Node – We won’t be checking this box.
    • Multi Node Response – We won’t be checking this box.
  3. Once you’ve set up the Node Configurations, configure the Bot Response. In our example, we’re going to enter the following response – “Thank you. Please enter your Email Address.” We’re asking for the lead’s email address, for which we’ll set up an API node to capture all the lead’s details (phone, name, and email address) we’ve gathered thus far.
  4. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

 

6. Create an API Node using a LeadSquared API

An API node contains an API (either LeadSquared APIs or any external APIs) integrated either to capture details from the chatbot (e.g., Lead Name, Lead Number, etc.), or display details to the lead (e.g., Pincodes, List of Hospitals, etc.). The Response you set up through an API node can be a simple Text response, or an Interactive Response, under which you can display Button options or List options.

Here, we’re creating an API node to create a lead in our LeadSquared account (through the Create a Lead API). In this node, we’ll add an interactive response that displays the courses offered as buttons (which will direct the lead to the landing page URL for each course).

The Intent message for this node is the Email Address {{user_input}} the lead input in the previous step, which we’ll also validate in this step.

Aim – To validate the Email Address captured in the previous step. To integrate the Create a Lead API with the node and display the courses offered.

  • Lead Input Message – steve@example.com (in our example)
  • Chatbot Response
    • For a new lead* – “Click the course you’re interested in.”
    • For an existing lead – “It looks like we already have your details. Please get in touch with our Admin office to know the status of your application.”

Note:

  • The Create a Lead API returns an Id only when a new lead is created. So we’re using the response variable ‘Id’ from the Create a Lead API to set up a condition to verify if a new lead was created or if the lead already exists in our LeadSquared account.
  • Before creating an API node, adding and setting up APIs (both LeadSquared APIs and external APIs are supported) on the Chatbot is mandatory. To know how to do this, refer to Integrate APIs with the Chatbot.

LeadSquared Chatbot

6.1 Node Configurations

In this step, we’re configuring how the node behaves when the user inputs their email Id.

  1. From the Bot Editor screen, click API.
  2. On the API Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Ask Course Preference”.
    • Previous node – Since the lead would’ve responded (Intent) with their email Id in the previous step, we’ll select the Previous Node as “Ask Email Address”.
    • Intent – Since the email Id entered is going to be unique to each lead, we’ll select User Input. The chatbot will accept a valid email Id as the response here.
      • Validate User Input – For phone numbers, email, and other unique lead fields, select this checkbox to validate the lead’s response, to ensure you’re not collecting junk values. From the validator dropdown, select EMAIL. This is available by default. To view the regex that defines an email address, and to know more about validators, refer to Create Custom Validators for the Chatbot.
    • Final Node – We won’t be checking this box.
    • Multi Node Response – We want to share our marketing materials and set up a CTA in the subsequent nodes. So, we’ll select this box, and set the value to 1. This is because this node is the first in a new multi-node sequence.
  3. Once you’ve set up the Node Configurations, complete the Response Configurations.

LeadSquared Chatbot

6.2 Response Configurations

In this step, from the list of APIs you’ve integrated with the chatbot, select the API you want to call when this node fires. Once the API is selected, we’re configuring a response using text and interactive nodes.

If required, you can add conditions based on the API response. In our example, we’re configuring –

  • An interactive response if the lead doesn’t exist in our LeadSquared account.
  • Text response if the lead exists in our LeadSquared account.
  1. From the Select API to call dropdown, select the API you want to integrate with this API node. We’re selecting the Create a Lead API (which we’ve named “Lead Capture” on the chatbot).
  2. If required, you can select Add Condition-Based Responses. We’re selecting the checkbox to identify if a lead already exists in our account, and for these leads, we’ll display a different response.
    • From the Variable Name dropdown, we’re selecting Id. The Id here is the lead Id generated when a new lead is created. This is the response variable we added when integrating the API with the chatbot.
      • To view the list of variables configured in the Chatbot, click Available Variables.
    • From the Conditions dropdown, we’re selecting Exists. To add multiple Conditions, click Add Condition.
  3. Response (If the conditions are true) – The response your lead sees when the API response fulfills the Conditions set in the previous step. This means if the API response returns a lead Id (which means the lead was created through the API call), we’ll display this chatbot response. In our example, we’re going to select Interactive, and then select Buttons and configure actions the lead can perform.
    • Header – The response header that’ll be displayed. This is optional. You can set an Image, Document, Video or Text as the response header.
    • Body – Enter the text response that’ll be sent to your leads. We’re entering – “Click the course you’re interested in -“
    • Under Button Configurations, select the button action (Text, Visit Website, Call Phone Number, or Download), and enter a display name for the button. We’re entering the names of courses we offer, and a Visit Website action for each course, which will redirect the lead to the corresponding landing page.
      • If you’ve selected the action Visit Website or Download, enter a valid URL link.
      • If you’ve selected the action Call Phone Number, enter a valid phone number.
    • Footer – You can display any relevant text information in the footer. This is optional.
  4. Response (If the conditions are false) – The response your lead sees when the API response does not fulfill the Conditions set in step 2 (of this section). This means if the API response does not return a lead Id (which may indicate that the lead already exists in our account), we’ll display this response. In our example, we’re going to select Text.
    • Under Bot Response, we’re entering the following response – “It looks like we already have your details. Please get in touch with our Admin office to know the status of your application.”
  5. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  6. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

Note:

  • It is optional to Add Condition Based Responses. If you don’t add conditions, only one chatbot response will be shown to leads.
  • When you’re entering a website URL (for Visit Website buttons), ensure the URL contains “https://”. For e.g., the URL should be – “https://www.leadsquared.com/”.
  • If you configure an Interactive response, and then select Buttons, you can add up to three buttons. If you select Lists, you can add up to 10 lists.
  • If you set an Interactive response, and then select List, you’ll get the Action Button Text field.
    • If you’re integrating the chatbot with WhatsApp, it’s mandatory to input a value here (e.g., “Select an option”), since this is a prerequisite from WhatsApp’s end.
    • But, if you’re integrating the chatbot on web, then you can input a dummy value here, since the button won’t be displayed to your lead on the chatbot.

The Response (If the condition are false) sent to a lead will look like this –

LeadSquared Chatbot

 

7. Create an Image/Document/Video Node

An Image/Document/Video node shares the URL of these three media types as the chatbot response. The steps to set up an Image Node, Video Node and Document Node are the same.

We’re setting up a Video Node to share a campus walkthrough video. We’ll send this response once the lead successfully inputs their Email Id. We’re setting up this node as the 2nd node in the multi-response sequence.

Aim – To share a video/image/document with the lead.

  • Lead Input Message – steve@example.com (in our example)
  • Chatbot Response – Video/image/document.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Video.
  2. On the Video Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Show Walkthrough Video”.
    • Previous node – Since we’re building this node based on the lead’s response when we ask their email Id, we’ll select the Previous Node as “Ask Email Address”.
    • Intent – Since the email Id entered is going to be unique to each lead, we’ll select User Input.
      • Validate User Input – We won’t select anything here, since the email validation happened in the Node Configurations step.
    • Final Node – We won’t be checking this box.
    • Multi Node Response – Since the Input for this node to trigger continues to be the lead’s email Id, we’ll select this box, and we’ll set the value to 2.
  3. Once you’ve set up the Node Configurations, configure the Bot Response URL. Enter the document/video/image URL.
    • If required, you can add a Caption. This is optional.
  4. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

Note:

  • The following image formats are supported –
    • PNG
    • JPEG
    • JPG
    • GIF
  • Only video URLs with .mp4 extensions are supported.

LeadSquared Chatbot

 

8. Create a Text Node to Collect Lead Pin code

Next, we’re creating a Text node to ask for the lead’s pin code. Based on the pin code, we’ll show the nearest counselling centre.

Aim – To ask the lead for their pin code.

  • Lead Input Message – steve@example.com (in our example)
  • Chatbot Response – To know the location of the counseling center nearest to you, please enter your pin code.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Text.
  2. On the Text Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Ask Pin Code”.
    • Previous node – Since the lead would’ve responded (Intent) with their email Id in the previous step, we’ll now select the Previous Node as “Ask Email Address”.
    • Intent – Since the email Id entered is going to be unique to each lead, we’ll select User Input.
      • Validate User Input – We won’t select anything here, since the email validation happened in the Node Configurations step.
    • Final Node – We won’t be checking this box.
    • Multi Node Response – Since the Input for this node to trigger continues to be the lead’s email Id, we’ll select this box, and we’ll set the value to 3.
  3. Once you’ve set up the Node Configurations, configure the Bot Response. In our example, we’re going to enter the following response – “To know the location of the counselling centre nearest to you, please enter your pin code.” We’re asking for the lead’s pin code, for which we’ll set up the API node to show the nearest location in the next section.
  4. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

 

9. Create an API Node using an External API

Here, we’re creating an API node to display location based on the pin code entered in the previous step. We’re using an external (non-LeadSquared) API to pull this data.

The Intent message for this node is the Pin Code {{user_input}} the lead input in the previous step. We’ll set up an Interactive Response in this step, through which we’ll ask the lead to pick their location.

Note: Before creating an API node, adding and setting up APIs (both LeadSquared APIs and external APIs are supported) on the Chatbot is mandatory. To know how to do this, refer to Add APIs to the Chatbot.

Aim – To display locations based on the pin code captured in the previous step, and get confirmation if the location is accurate.

  • Lead Input Message – 560098 (in our example)
  • Chatbot Response (If the condition are true) – Select and confirm your location.
  • Chatbot Response (If the condition are false) – Invalid pin code.

LeadSquared Chatbot

In this step, we’re configuring how the node behaves when the user inputs their pin code. The steps listed here are the same as the Configure an API Node section. You can skip reading the steps if you’re familiar with the API node set-up process.

  1. From the Bot Editor screen, click API.
  2. On the API Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Display Location”.
    • Previous node – Since the lead would’ve responded (Intent) with their pin code in the previous step, we’ll select the Previous Node as “Ask Pin Code”.
    • Intent – Since the pin code entered is going to be different for each lead, we’ll select User Input.
      • Validate User Input – If you’ve created a custom validation, you can select it here. We’ve created a validator for Pin Codes. To know how to set up regex validations, refer to Create Custom Validators for the Chatbot.
    • Final Node – We won’t be checking this box.
    • Multi Node Response – We won’t be entering anything here.
  3. From the Select API to call dropdown, select the API you want to integrate with this API node. We’re selecting an external API that we added to the chatbot.
  4. If required, you can select Add Condition-Based Responses. We’re selecting the checkbox to identify if the pin code is valid.
    • From the Variable Name dropdown, we’re selecting Pincode, and from the Conditions dropdown, we’re selecting Exists. To add multiple Conditions, click Add Condition.
  5. Response (If the conditions are true) – The response your lead sees when the API response fulfills the Conditions set in the previous step. This means if the API returns a location for the pin code, we’ll display this location as our response. In our example, we’re going to select Interactive, and then select Buttons to list down the pin code location.
    • Header – The response header that’ll be displayed. This is optional. You can set an Image, Document, Video or Text as the response header.
    • Body – Enter the text response that’ll be sent to your leads. We’re entering – “Select and confirm your location -“.
    • Under Button Configurations, select the button action (Text, Visit Website, Call Phone Number, or Download), and enter a display name for the button. We’re entering – “{{Pincode}}”. We’re doing this to pull the location data from the API response, and dynamically display this on the chatbot.
    • Footer – You can display any relevant text information in the footer. This is optional.
  6. Response (If the condition are false) – The response your lead sees when the API response does not fulfill the Conditions set in step 2 (of this section). This means if the API response does not return the pin code, we’ll display this response. In our example, we’re going to select Text.
    1. Under Bot Response, we’re entering the following response – “Invalid pin code.”
  7. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  8. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

 

10. Create an Interactive Node

As the name suggests, an Interactive node presents multiple options to the lead, and propmts them to select an option to continue the chat flow process. Interactive nodes allow you to give the lead options to Call, Visit a Website and View an Image.

The following data types can be displayed on an Interactive node –

  • Text
  • Image
  • Video
  • Document

And the following Button actions can be configured –

  • View Text
  • Visit a Website
  • Call a Phone Number
  • Download (a file)

You can also add up to 10 Lists as options.

In our Interactive node, we’re creating two Text buttons, and dynamically display the location based on the lead’s pin code.  We’ll also give the lead an option to either confirm and schedule their appointment or to re-enter a different pin code.

Aim – To give the lead the option to confirm their location, or re-enter their pin code.

  • Lead Input Message – 560098 (in our example)
  • Chatbot Response – Confirm if you’d like to schedule an appointment in our {{intent}} admission office.
    • Button 1 – Confirm.
    • Button 2 – Re-enter Pin Code.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Interactive.
  2. On the Interactive Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Ask Location Confirmation”.
    • Previous node – Since the lead would’ve selected their location preference in the previous step, we’ll select the Previous Node as “Display Location”.
    • Intent – To dynamically display the lead’s location as part of your text response, select Dynamic Intent. This displays data present in an API as part of the response (e.g., Confirm if you’d like to schedule an appointment in our {{RR Nagar}} admission office.)
    • Final Node – We won’t be checking this box.
    • Multi Node Response – We won’t be entering anything here.
  3. Under Response Configurations, configure the response to your lead –
    • Header – The response header that’ll be displayed. This is optional. You can set an Image, Document, Video or Text as the response header.
    • Body – Enter the text response that’ll be sent to your leads. We’re entering – “Confirm if you’d like to schedule an appointment in our {{intent}} admission office.” Over here, {{intent}} is the location name (RR Nagar in our example) that’ll be dynamically pulled from the API response and displayed to the lead.
    • Footer – You can display any relevant text information in the footer. This is optional.
  4. Under Button Configurations, select the button action (Text, Visit Website, Call Phone Number, or Download), and enter a display name for the button. You can add up to three buttons.
    We’re creating two Text buttons – “Confirm” and “Re-enter Pin Code”.
  5. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  6. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

 

11. Create a Go To Node

A Go To Node redirects to a different node in the chat flow process (for example, if you want the node to restart and go to the first message). This is useful when you want to take the lead back to the main menu, or to re-enter certain details.

We’re creating a Go To Node to redirect the lead back from the “Ask Location Confirmation” (when they select Re-enter Pin Code) to the “Ask Pin Code” node, where they can re-enter their pin code.

Aim – To give leads the option to re-enter their pin codes.

  • Lead Input Message – 560098 (in our example)
  • Chatbot Response – Redirects to the “Ask Pin Code” node.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Go To Node.
  2. On the Interactive Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Re-enter Pin Code”.
    • Previous node – Since this node is built on the lead’s selection in the previous node, we’re selecting the “Ask Location Confirmation” node.
    • Intent – Both the buttons configured in the previous node are visible here. We’re selecting “Re-enter Pin Code” as the intent.
    • Final Node – We won’t be checking this box.
  3. Under Response Configuration, from the Go To Node dropdown, we’re selecting “Ask Pin Code”. This will redirect the lead to the selected node.
  4. Once you’re done, click Save.
  5. To check if the Intent and Response are set up correctly, click  Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

LeadSquared Chatbot

 

12. Create a Final Interactive Node

This is the final node in our chat flow. We’re creating a Text node to inform our leads about the next step in their admission process.

Aim – To inform leads about the next steps in their admission process.

  • Lead Input MessageConfirm button click.
  • Chatbot Response – Your application has been successfully received. Our admission officer will get in touch with you to schedule your appointment. To make changes to your application, click Contact Us.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Interactive.
  2. On the Interactive Node right panel, enter the following Node Configurations
    • Node name – Provide an internal display name for the node. We’re calling it “Appointment Confirmation Final Node”.
    • Previous node – Since the lead would’ve confirmed their location preference in the previous step, we’ll select the Previous Node as “Ask Location Confirmation”.
    • Intent – Since we’re displaying this node’s message only when the lead confirms their location (in the previous node), from the intent dropdown, select “Confirm”.
    • Final Node – Since this is the last node in the chat flow, we’ll be checking this box.
    • Multi Node Response – We won’t be entering anything here.
  3. Under Response Configurations, configure the response to your lead –
    • Header – The response header that’ll be displayed. You can set an Image, Document, Video or Text as the response header. This is optional.
    • Body – Enter the text response that’ll be sent to your leads. We’re entering – “Your application has been successfully received. Our admission officer will get in touch with you to schedule your appointment. To make changes to your application, click Contact Us.”
    • Footer – You can display any relevant text information in the footer. This is optional.
  4. Under Button Configurations, select the button action (Text, Visit Website, Call Phone Number, or Download), and enter a display name for the button. You can add up to three buttons.
    We’re creating one Call Phone Number button – “Contact Us”, and we’re entering our contact details.
  5. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  6. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.

Once you’ve set up the nodes, carry out the Configurations to complete the chat flow creation process.

LeadSquared Chatbot

 

13. Create a Handover Node

The handover node transfers the chat conversation to an agent in your organization, using LeadSquared Converse. This allows direct communication with an agent, especially when the chatbot can’t address certain queries, or when a lead requests to speak with an agent. This section isn’t included in the example flow from the previous sections because a lead can request agent assistance at any point during the conversation.

Note: Before you configure the Handover Node, ensure you’ve created a Chat Group and set up a Routing Rule.

Aim – To hand over the chat to a live agent.

  • Lead Input Message – Talk to the counsellor.
  • Chatbot Response – An agent will shortly address your concerns.

LeadSquared Chatbot

  1. From the Bot Editor screen, click Handover Node.
  2. On the Handover Node right panel, enter the following Node Configurations –
    • Node name – Provide an internal display name for the node. We’re calling it “Handover Node”.
    • Previous node – Depending on when you want to hand the conversation to a live agent, select a relevant node from the list of previous nodes.
    • Intent* – Enter a relevant hardcoded intent message (like, “Talk to an agent”, etc.).
    • Final Node – Depending on where you’re inserting this node into your chat flow, you can choose to select it as the Final Node.
    • Multi Node Response – We’re not entering anything here. But depending on the use-case you’re looking to solve, you can chose to configure this, or skip it.
  3. Select a Routing Rule – From the list of routing rules available in your account, select a rule based on which you want to hand over the chat to an agent.
    • If you haven’t previously created a rule, click Create routing rule to create a new rule.
  4. Add Condition Based Responses – You can set-up conditions based on when you want to hand over the chat to an agent. For e.g., you can set-up a condition to ensure the handover is done only during your business days (Monday-Friday), and during your working hours (9 AM to 6 PM). Once you enable the checkbox –
    • Select Work Days – Select the days of the week during which you want the agent handover to take place.
    • Time Range Picker – Select the time range between which you want the agent handover to take place.
    • Add Conditions – You can use the AND/OR operators to add multiple conditions to determine when the handover happens.
  5. Under Response, configure the response to your lead –
    • Response (If the conditions are true) – If the conditions are met (e.g., the lead sends the intent message within the working hours you’ve configured), the response you configure here is sent to your lead. The response we’ll send is “An agent will shortly address your concerns.”
    • Response (If the conditions are false) – If the conditions are not met (e.g., the lead sends the intent message outside the working hours you’ve configured), the response you configure here is sent to your lead. The response we’ll send is “To get your concerns resolved, please contact us Monday to Friday, between 9 AM to 6 PM.”
    • You can also send an interactive response. To know more about the options available when you chose this, refer to Create an Interactive Node.
  6. To preview this response, click Preview. After you preview the response, make changes if required. Once you’re done, click Save.
  7. To check if the Intent and Response are set up correctly, click the emulator Chatbot Icon. Then, enter the Intent message. If the Response is the same as the one you configured, the node is working fine.
Note: *Alternatively, you can select User Input, which would result in the chat getting handed over to an agent whenever a lead sends a message.

LeadSquared Chatbot

 

14. Template Message

This option allows you to create a node using a Web or WhatsApp message template. When creating the node, choose a template from the list of templates available in your account. Creating this node follows a process similar to that of a Text Node. Instead of entering the response content, select a relevant template from the Select Template dropdown.

LeadSquared Chatbot

 

15. Templated Flow

From the list of template flows available in your account, choose a relevant template you want to use when building the chatbot. After choosing the template, you can modify both the flow and the nodes in it to suit your use case.

LeadSquared Chatbot

 

16. Configurations

To complete the chatbot set-up, navigate to the Configurations screen.

LeadSquared Chatbot

16.1 Session Timeout

Configure the message you’ll send to the lead when the chat session ends because the lead hasn’t sent any message for a specified time period.

LeadSquared Chatbot

Click Edit to –

  • Set the hours and minutes of inactivity after which you want to display the message to your lead.
  • Add the timeout message the lead receives after the session times out.
  • To add multiple timeout messages, click .

Once you’re done, click Save.

LeadSquared Chatbot

16.2 Fallback Message

Fallback messages are sent when the chatbot doesn’t understand the lead’s message.

LeadSquared Chatbot

Click Edit to –

  • To send the previous chatbot message as the fallback message, enable the Azure Checkbox checkbox.
  • Add the fallback message the lead receives when the bot does not understand the lead’s response.
  • To add multiple timeout messages, click .

Once you’re done, click Save.

LeadSquared Chatbot

16.3 Inactivity Message

Configure the message the chatbot sends to the lead when the lead is inactive on the chatbot and hasn’t sent any message for a specified time period. This message is a reminder to the lead, to let them know the session is idle.

LeadSquared Chatbot

Click Edit to –

  • To send the previous chatbot message as the inactivity message, enable the Azure Checkbox checkbox.
  • Set the hours and minutes of inactivity after which you want to display the message to your lead.
  • Add the timeout message the lead receives after the session times out.
  • To add multiple timeout messages, click .

Once you’re done, click Save.

Note: The Inactivity Message is sent after a few minutes of inactivity, as a reminder to the lead. The Session Timeout message is sent after a longer period of inactivity, and to let the lead know that the session has been terminated. The inactivity period configured for Inactivity Message should be lesser than that of the time configured for the Session Timeout message.

LeadSquared Chatbot

16.4 Opt-out Messages

When a lead sends any of the keywords configured here as an input message, the lead automatically opted out of further interactions with the chatbot. Click Edit to add the list of keywords. In the Opt-out Message box, configure the message you want to send as the chatbot response once the lead has opted out of the conversation.

Once you’re done, click Save.

LeadSquared Chatbot

16.5 Restart Message

When a lead enters a configured keyword, the chatbot restarts the journey from the first message. To set up keywords, click Edit, enter them (e.g., “main menu”, “restart”, “begin again”), press Enter on your keyboard, and click Save.

LeadSquared Chatbot

16.6 Link FAQ Chatbot

You can link an FAQ Bot or a AI Knowledge Base Chatbot to the journey-based bot. If a lead asks a question that is not covered or triggers a fallback response, the system checks the linked bot for answers and responds accordingly. Use the Link FAQ Bot dropdown to link the bot, and then click Save.

Note: When this setting is enabled, the bot first checks the linked FAQ bot for an answer. If it can’t find one, it sends the fallback message configured in your account.

LeadSquared Chatbot

 

17. List of Templated Flows

We’ve provided a list of chatbot flows, designed to solve specific use cases, which can be imported into the bot builder. Once you’ve imported a template, you can customize it to reflect your business requirements. Currently, we have the OTP Verification template available, which allows you to create a bot for verifying OTPs entered by leads. To use a Templated Flow –

  1. Navigate to the Chatbot home page, and from the left-menu, click Templated Flow.
  2. On the Explore Templated Flows screen, for the template you want to use, click Import Template.
  3. From the Select a BOT dropdown, you can –
    • Import into a New Bot – You can create a bot from scratch, and import this template into the new bot. When you select this, enter a Bot Name (which is mandatory) and Bot Description.
    • Import into an Existing Bot – You can select an existing bot to import the template to.
  4. Once you’re on the bot builder screen, you can modify the template, and the nodes in the template, to meet your requirements. To know how to build a chatbot, refer to Build a Chatbot.

LeadSquared Chatbot

 

18. Other Actions

On the bot builder screen, you can search for a node using the node name, the user intent, the buttons configured and the Bot Display.

LeadSquared Service CRM

 

19. Next Steps

After you’ve set up the chat flow, you must configure the chatbot channel. To know how to do this, refer to Configure Chatbot Channel.

 

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!

LeadSquared Chatbot – Feature Guide

1. Feature Overview

LeadSquared’s Chatbot is a no-code, menu-driven bot builder through which you can create multiple chat flows to address lead queries swiftly and efficiently, while reducing your user’s efforts and workload. Chatbots are especially useful to automate answers to common enquiries, improve user productivity, and engage your leads 24*7 (including outside business hours).

There are two types of chatbots you can build –

  • Journey Based Chatbot – A chatbot that takes your lead on a journey to achieve specific goals (like generate a loan proposal document, course broucher, etc.).
  • AI Help Bot – A help bot that answers FAQs and other queries posted by your leads. This is especially useful in reducing support load, and to also ensure your leads get their queries resolved even outside business hours.
  • AI Knowledge Bot – An AI-powered chatbot that enhances a journey-based bot by answering questions outside the configured chat flow. It learns from the knowledge bases and resources you provide, including open-ended content like documents and website links.

You can integrate the chatbot with both WhatsApp and websites/portals. When integrated with WhatsApp, your leads can message the chatbot through WhatsApp. When integrated with a website, your lead can message the chatbot directly from the website.

LeadSquared Chatbot

 

2. Use Cases

The Chatbot is designed to address and resolve multiple use cases across various industries. Some of these use cases are listed below –

Use Case Solution
Capture Lead Details Map the chatbot to lead fields in your LeadSquared account. When a visitor on the chatbot enters their details (name, phone number, email, etc.), they are created as new leads in your account.
Engage Leads When visitors send messages outside business hours, the chatbot can engage them by recording their queries and providing relevant information. This ensures there’s no lead leakage, and that leads are engaged round the clock.
Provide Demos Use APIs to create chat flows containing video, image and PDF links that host your product/service demo (such as admission brochures, loan application forms, college campus walkthrough videos, etc.).
Collect Lead Documents Use the chatbot to automate lead document collection by mapping the chatbot to document lead fields in your account. When the lead submits relevant documents (e.g., marks cards, Aadhaar cards, salary slips, etc.) through the chatbot, the documents are automatically stored in your account.
Schedule Appointments Integrate LeadSquared Task APIs in the chat flow to automate task creation. When a lead is interested in receiving a demo, they can schedule it directly through the chatbot. This will also reduce the effort your users will have to put in when they create appointments with leads.

 

3. Prerequisites

  • This is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • If you’re enabling integrating the chatbot with WhatsApp, we currently support WhatsApp Business accounts set up using Kaleyra or Gupshup. If you’ve set up your WhatsApp Business account using any other provider, please contact your account manager, and we’ll integrate your WhatsApp account with the chatbot.

 

4. Installation

  1. Navigate to Apps>Apps Marketplace.
  2. Search for LeadSquared Chatbot, and click Install.
    • Alternatively, you can find the connector on the left panel, under Chat.
  3. Once installed, hover your cursor over , and click Get Started.

To continue with the set-up process, and to create chat flows, refer to Build a Website Chatbot.

LeadSquared Chatbot

 

5. Glossary

When you’re creating a chatbot, you’ll come across a few terms for the first time on the LeadSquared platform. In this section, we’ve explained what each of these terms stands for –

Chatbot
A bot that has real-time conversations with your leads based on the chat flow you’ve created. Each chatbot is unique to solving a specific requirement. You can create multiple chatbots to solve multiple use cases. There are two types of chatbots – Journey Based Chatbot and AI Help Bot.

 

Journey Based Chatbot
This chatbot is used to help a lead achieve a specific goal (e.g., OTP verification, KYC check, etc.).

 

AI Help Bot
This chatbot is used to address common queries and FAQs the lead might have when using your product (e.g., queries about a loan like eligibility, loan tenure, etc.).

 

Chat flow
A set of nodes (messages) grouped together in sequential order. You can create multiple chat flows under each chatbot, and each of these chat flows can be interconnected with each other.

 

Node
A single message that’s part of the chat flow. Each node uses Text, Image, Video, Document, Interactive, or API as the base on which it’s built.

  • Text – This node sends a simple text message as the chatbot response.
  • Image – This node sends an image URL as the chatbot response.
  • Video – This node sends a video URL as the chatbot response.
  • Document – This node sends a document URL as the chatbot response.
  • Interactive – This node sends buttons and/or lists as options, from which the lead can choose a response.
  • API – This node contains an API (either LeadSquared APIs or any external APIs) integrated with the chatbot, either to capture details from the chatbot (e.g., Lead Name, Lead Number, etc.), or display details to the lead (e.g., Pincodes, List of Hospitals, etc.).

You can use multiple nodes (including multiple types like Text, Videos, API, etc.) to build a chat flow.

 

Intent
The inputs (messages) received by the chatbot is known as intent. These inputs can be sent by a lead or by an API. Examples of intent could be “Hi”, “My order number is 445”, etc. There are three types of Intents –

  • Hardcoded Intent – This is when you want to send a reply through the chatbot only for a message from a lead that’s an exact match to the intent you’ve created. For example, if you want the bot response to be “Welcome to…” only when the lead sends “Hi”, you can hardcode the intent with the word “Hi”.
  • User Input – This is when you want to reply for any message the lead sends, and when hardcoding the potential lead message won’t be required. For example, if you want the bot response to be, “Please enter your name”, and different leads enter different names, you want all the lead inputs to be valid. That’s when the bot will accept any input from the user, and send the response you’re configuring here, like “Thank you for giving us your name. Can you please proceed with your phone number?”
  • Dynamic Intent – This is when the inputs are received dynamically from an API response. For example, enter the node’s response as, “Select the city you’re residing in”, and configure an API to fetch a list of all Indian cities. Along with the “Select the city…” message, the lead will also get the list of Indian cities, from which they can select the city they’re in.

 

Bot Response
The response (reply) sent by the chatbot to your lead. You can add URLs, API response and text as the response.

 

6. Next Steps

  1. First, build a chatbot.
  2. To create validators, refer to Create Custom Validators for the Chatbot.
  3. Then, select a channel and integrate the chatbot with a website or WhatsApp. To do this, refer to Configure Chatbot Channels.
  4. To integrate LeadSquared APIs with the bot, refer to Integrate APIs with the Chatbot.
  5. To gain insights, refer to Chatbot Analytics.

 

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!

Telephony Advanced Configuration Through General Settings

1. Feature Overview

You can configure advanced settings for Telephony through the General Settings page. This article explains each of these settings in detail.

 

2. Prerequisites

  • Settings on this page are only accessible by LeadSquared Admin users.
  • Certain settings are available only if the associated feature is enabled on your account. Contact us at support@leadsquared.com if you want to enable new features on your account.

 

3. General Settings

Navigate to Settings>Telephony>General Settings.

telephony general settings

 

You will find the following configurations –

  • Allow International formats for Exotel Virtual Numbers

Enables you to configure international phone numbers in the Virtual Numbers (Caller Id) field of the Exotel V2 connector.

product updates sept 2021

  • Configure Agent Popup Grid

This setting lets you configure the columns displayed on the lead and opportunity grids on the agent pop-up. To configure the columns, click Configure. On the Select Agent Popup Grid Columns pop-up –

On the Lead tab – select the lead fields you want to display as columns on the lead grid. This grid is displayed when multiple leads share the same phone number, and helps agents identify and select the correct lead.

On the Opportunity tab – select the Enable Opportunity Grid checkbox, and then select the opportunity fields you want to display as columns. This grid (Select an Opportunity to Continue) is displayed when the lead on a call is associated with multiple opportunities, and lets agents select the opportunity against which the call is tracked.

The columns appear on the agent pop-up in the order you select them, with their display names. To revert to the default columns, click Restore Default.

  • Configure telephony ignore rules

When enabled, this setting will ignore calls from unknown numbers. This works across all telephony providers. Logs of ignored calls will still be posted in your account. To view telephony logs,  navigate to My Profile>Settings>API and Webhooks>Telephony Logs.

  • Disable Agent Popup in Multiple Tabs

When enabled, the Agent pop-up will only be displayed on the active browser tab (when LeadSquared is open on multiple tabs).

  • Disable Opening of Entity Details in Marvin

Lead or opportunity details will not open automatically when receiving an incoming call on Marvin.

  • Enable agent panel access by Teams

Restrict access to the agent panel (softphone) so that only agents belonging to the mapped team(s) can use the virtual number for calling. Agents outside the assigned team(s) will not see or access the softphone.

  • Enable Async APIs for Telephony (Capras)

For customers using the Exotel Telephony connector, once you enable this setting, you can use LeadSquared’s Async API framework to ensure more reliable call logs posting for outbound calls. To know more, refer to Exotel Connector.

  • Enable Default Opening of Disposition Form in Marvin

While on call, the first dynamic form will automatically open without needing to click the Disposition button.

  • Enable formatting of non-unique phone type lead fields

When enabled, phone type lead fields that are not marked unique, will be processed and formatted as follows –

+cc-<phone number>

For this to work, the default country code must be defined from the Company Profile settings (Settings>Profile>Organization Settings>Company Profile and define ‘Default Country Code’ field).

define default country code

  • Enable leading zeros in phone type lead fields

When enabled, users can create phone numbers with zero as the first digits. This is helpful for phone numbers in certain countries that support zeros as the first digit of the phone number.

  • Enable Showing Telephony Provider Errors Instead of Default LSQ Error

In the case of Click2Call, LeadSquared Telephony errors will be replaced with your telephony provider-specific errors in the Telephony logs.

  • Enable new phone number format setting

Once enabled, international phone numbers will be formatted in the cc+phonenumber format. 

  • Enable Virtual Number Randomization

In telephony connectors, where multiple virtual numbers are configured, the setting randomizes the virtual number with every call placed by an agent.

Virtual Number Randomization

  • Ignore Inbound Calls

When enabled, all incoming calls from unknown numbers received through any configured telephony connector (through the call log or agent pop-up) will be ignored. This ensures that users can focus only on calls with existing leads.

  • Redirect to lead details page

Enables you to redirect to the Lead Details page, instead of seeing the agent popup, while making or receiving calls from a lead.

  • Post phone call activities on opportunities resolved based on DID and IVR mapping
    • If this setting is enabled, opportunities will be created when a valid Virtual Number and IVR mapped to an opportunity type are passed through the Call Log API.
    • If the lead is already associated with a Lost/Won opportunity (of the same or a different type), the system will create a new Open opportunity—provided a valid Virtual Number and IVR are passed, and the default status of that opportunity type is set to Open.

3.1 NextGen Telephony Settings

The following settings let you configure frequently used backend controls for NextGen Telephony

Settings Description
NextGen – Disable the ‘Add Lead’ Button in the Telephony Bar Prevent users from adding new leads by disabling the “Add Lead” button in the Telephony bar
NextGen – Disable the ‘Call Disposition’ Button in the Telephony Bar Restrict access to call disposition by disabling the “Call Disposition” button in the Telephony bar.
NextGen – Show Only ‘Open Opportunities’ in Opportunity Grid Limit the Opportunity Grid to display only Open Opportunities, hiding all other statuses.
NextGen – Show Only Save and Dispose Button in Call Disposition Form Simplify the Call Disposition form by showing only the “Save and Dispose” button.
NextGen – Mask Unknown Phone Numbers in Telephony Bar Hide unknown phone numbers in the Telephony bar to help protect customer confidentiality.
NextGen – Disable the ‘Add Opportunity’ Button in the Telephony Bar Prevent users from adding new opportunities by disabling the “Add Opportunity” button in the Opportunity Grid.

Leadsquared - Telephony

 

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!

Entity Share Option for Telephony

1. Feature Overview

When configuring the Telephony Agent pop-up, you may want to grant access to lead and opportunity details to users that are not lead/opportunity owners. This allows them to have the relevant information available on the pop-up while conversing with leads. This article will help you enable the Entity Share option through the Agent Pop-up.

 

2. Prerequisites

You must be an Admin user to configure the Entity Share option.

 

3. Entity Share Through Agent Pop-up

Navigate to Settings>Telephony Settings>Entity share via popup. You will be presented with the following configurations –

  • Enable lead share via agent pop-up – This configuration allows a non-lead owner to view and/or edit the lead’s details while on a call.
  • Enable Opportunity share via agent pop-up – This configuration allows a non-lead owner to view and/or edit Opportunities while on a call.

Click on Configure to enable them.

telephony entity share

Both configurations have the following permission settings –

  • Enable – Select to enable the configuration.
  • Access Type – Define the access type for the configuration –
    • View – Non-lead owners can only view the lead details.
    • Modify – Non-lead owners can view and modify the lead details.
  • Duration In Min – Specify the duration (in minutes) of lead share allowed while the agent is on the call.

telephony lead share permission

 

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!

LeadSquared WhatsApp Integration with WhatsApp Cloud API

1. Feature Overview

The WhatsApp Cloud API (hosted by Meta) enables you to send and receive WhatsApp messages without the cost of hosting your own servers. If you’re using WhatsApp Cloud API, this article will help you integrate with LeadSquared to avail WhatsApp messaging functionality right within the platform.

We also support WhatsApp integrations through other service providers like Infobip, Zoko, Kaleyra, Wati, and Gupshup.

 

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. Get an approved WhatsApp Business Number and Account.
  2. To enable the WhatsApp Cloud API integration on your account, contact your account manager, or write to support@leadsquared.com.
  3. Submit Message Templates for Approval. To know how to do this, refer to Add WhatsApp Templates to LeadSquared.

 

3. Installation

For installation, refer to WhatsApp Business Messaging Connector.

 

4. Configuration

Once the connector is installed, add and configure your WhatsApp phone numbers to the connector.

4.1 Basic Details

WhatsApp Zoko LeadSquared Integration

Field Description
WhatsApp Business Number Select the country code, and provide your WhatsApp business number. This field is mandatory.
To get your WhatsApp business number, contact your Meta account representative or support team.
Account Name Provide a relevant name for your connector. This field is mandatory.
Allow Lead Generation on incoming message EnableSlider to allow automatic lead creation when you receive messages from unknown mobile numbers.
Lead Source From the dropdown, select a lead source for your leads.

Once you’re done, click Next.

 

4.2 Service Provider

From the available options, select WhatsApp Cloud and click Next.

LeadSquared Whatsapp Integration

 

4.3 Authentication Set-up

On this screen, enter –

LeadSquared Whatsapp Integration

Send Message URL – This URL is available in your Meta Developer Dashboard, under the App where you’ve configured WhatsApp Cloud API, in the sample Curl request to send and receive messages –

  1. Navigate to your Meta Dashboard (https://developers.facebook.com/apps/), and select the concerned App.
  2. Under Products>WhatsApp, click Getting Started.
  3. Under Send and receive messages, scroll down to Step 2: Send messages with the API.
  4. From the sample Curl request, copy the URL. For example –https://graph.facebook.com/v16.0/120345067891011/messages
  5. Paste this URL under Send Message URL in the configuration pop-up in your LeadSquared account.

LeadSquared WhatsApp Integration

WhatsApp Number – WhatsApp number provided by your Meta business 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 – Generate a system user access token from your Meta Business Account.

  1. Navigate to your Meta Business Account (https://business.facebook.com/settings/people).
    1. Under Users, click System users, then click Add to create a new system user.
    2. Under System user role, select Admin.
  2. Select the system user you just created, and click Add assets.
    1. Select the concerned App (where you configured WhatsApp Cloud API functionality), and under Full control, enable the Manage App permission.
    2. Click Generate token, select the concerned App from the dropdown, and set Token expiration to Permanent.
    3. Under Available permissions, enable whatsapp_business_messaging and whatsapp_business_management, then click Generate token.
  3. Copy and save this token in a separate file on your system. This token won’t be visible in the dashboard later.
  4. Paste the token under Permanent Access Token in the configuration pop-up in your LeadSquared account

For more information, see Create a Permanent Access Token (Meta documentation).

LeadSquared WhatsApp Integration

Authentication Header Template – API header used to authenticate WhatsApp API calls.

Leave this field as is. This value is used in the header of the WhatsApp API calls for sending messages from your LeadSquared account.

Get Media URL – If you’re a WhatsApp Cloud user, please leave this field empty. However, if you’re using a third-party service provider that utilizes WhatsApp Cloud, then provide the URL where your service provider store media files sent by leads. This URL allows LeadSquared to access media files sent by your leads, enabling you to access these files directly from your LeadSquared account. To obtain this URL, reach out to your service provider’s account representative.

Notifications Webhook URL – Configure this webhook in your Meta app to get alerted when you receive a message or when a message’s status has changed.

Follow the instructions listed in the Configure a Webhook (Meta documentation).

  1. Navigate to your Meta Dashboard (https://developers.facebook.com/apps/), and select the concerned App.
  2. Under Products>WhatsApp, click Configuration.
  3. Then, find the webhooks section and click Configure a webhook.
    1. Callback URL – Copy the webhook URL from the LeadSquared WhatsApp configuration pop-up, under Notifications Webhook URL, and paste it here.
    2. Verify Token – Enter the following string – LSQCloudApi 
  4. Click Verify and save.

LeadSquared WhatsApp Integration

Once you’re done entering all the details on the LeadSquared WhatsApp configuration pop-up, click Next.

 

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 entered in the selected user boolean field (e.g., for the user Sam, the “Is Employee” user field contains the value “Yes”), the user will be able to send messages through LeadSquared Converse. From the Select User Field dropdown, select a relevant boolean field.
  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 Owner* – 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 messages.

Note:

  • *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

On this screen, provide the following details –

Interakt LeadSquared Integration

  • 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 slider.
  • Show URL Preview in Custom Messages – Enable the sliderSlider 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.
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.

 

5. Sync Templates

You can sync your existing WhatsApp templates directly with LeadSquared from your WhatsApp Business accounts. This reduces the time and effort needed for copying and pasting template data. To sync existing templates –

  1. In your LeadSquared account, navigate to Apps>Apps Marketplace, and search for the WhatsApp Business Connector.
  2. On the connector, hover your cursor over LeadSquared - Settings icon, and click Configure, and select the WhatsApp Cloud account for which you want to sync templates.
  3. On the Authentication tab, enter your WhatsApp Business Account’s ID. This is the account from which you want to sync templates with LeadSquared. Once you’re done, click Save.
  4. Then, navigate to Apps>WhatsApp Templates, and from the Account dropdown, select the WhatsApp Cloud account for which you want to sync templates.
  5. On the top-right side, click the Sync Account button that’s available. This will sync the existing templates in your WhatsApp Cloud account with your LeadSquared account.

Note: 

  • We use the template name as a unique key. If a template already exists in LeadSquared’s WhatsApp templates, it won’t be synchronized from the business account. If you wish to sync such templates, kindly delete them first from your LeadSquared account, and then proceed with the synchronization. Please note that you will need to define the mail merge fields, media files, and URLs again after deletion.
  • Newly synced templates will have the WhatsApp Template Error icon under Action. This means the templates need to be reviewed by you before you Save them. This is to ensure the template fields are mapped to the correct LeadSquared fields. Once this is done, you can begin using this template to send WhatsApp messages to your leads.

LeadSquared WhatsApp

 

6. 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 templatized 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

 

7. 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!

SIERA Sales User Dashboard

1. Feature Overview

SIERA’s Sales User Dashboard gives you analytics and insights into your entire sales pipeline. The dashboard will give you a birds-eye view of your Call Metrics, Activity Metrics, Lead Metrics, and Task Metrics. You can filter each of these metrics to a specific date range and click on different widgets on the report for further data.

siera sales user dashboard

 

2. Prerequisites

SIERA is a paid feature. To enable it for your account, contact your account manager or siera.support@leadsquared.com.

 

3. Sales User Dashboard

Navigate to Reports>SIERA>Dashboards>All Dashboards and click Sales User Dashboard.

Siera sales nav new

 

4. Filter Your Sales User Dashboard

Click Filter to set a date range for metrics on your dashboard.

4.1 Called Date Range

The default date range for this filter is Today. The Called Date Range filter affects the following metrics –

Metric Description
Total Calls Total calls dialed (Inbound + Outbound) in the date range
Total Call Duration The summation of call duration of all calls dialed in the date range
Average Call Duration The average call duration dialed (Total Call Duration / Total Calls) in the date range
Calls Connected Total calls answered (Inbound + Outbound) in the date range
Inbound Missed Calls Total inbound calls missed by the agent in the date range
Outbound Unanswered Calls Total outbound calls not answered by the lead in the date range
Hourly Call Data The hour-wise calls dialed by the agent in the date range
Call Status Breakup Total calls distributed by their status in the date range. 
Leads Called Total leads where the agent attempted to call in the date range
Leads Answered Total unique leads who answered the call in the date range

siera called date range filter

 

4.2 Leads Added Date Range Filter

The default date range for this filter is Today. The Leads Added Date Range filter affects the following  metrics –

Metric Description
Leads Added Total new leads created and assigned to the agent

siera leads added date range filter

 

4.3 Day-wise Call Date Range Filter

The default date range for this filter is the Current Week. The Day-wise Call Date Range filter affects the following metrics –

Metric Description
Day-wise Call Total number of calls placed each day in the date range

siera day-wise date range filter

 

4.4 Lead Pipeline Date Range Filter

The default date range for this filter is the Current Year. The Lead Pipeline Date Range filter affects the following metrics –

Metric Description
Lead Pipeline Date Range Total number of leads in different stages of your lead pipeline in the date range

siera lead pipeline date range

 

4.5 Activity Created Date Range Filter

The default date range for this filter is Today. The Activity Created Date Range filter affects the following  metrics –

Metric Description
Activity Created Date Range Displays a distribution of all the activities done by the agent on their leads in the date range

siera activity date range filter

 

4.6 Task Created Date Range Filter

The default date range for this filter is the Current Year. The Task Created Date Range filter affects the following metrics –

Metric Description
Total Tasks Total tasks created and assigned to the lead in the date range
Overdue Tasks Total tasks overdue in the date range
Tasks Completed Today Total tasks completed today in the date range
Tasks Due Today Total tasks due today in the date range
Tasks Due Tomorrow Total tasks due tomorrow in the date range
Tasks Due This Week Total tasks due this week in the date range
Pending & Overdue Task Distribution Displays a distribution of tasks assigned to an agent by the different tasks type and overdue and pending status

siera task created date range filter

 

5. Filter Behaviour

When filtering your sales dashboard, you will come across the following filter behaviors –

  • Selecting a filter on a metric highlights the widgets it will impact. 
  • Once a filter is applied, the siera filtered icon symbol will appear on the widgets it has impacted. The symbol will be visible for 5 seconds.
  • If a filter is applied by the user, the widgets will show the siera number of filters icon icon along with the subscript of the total filters applied. Clicking on the  siera number of filters icon  icon, shows the filters applied to the widgets. 

siera sales dashboard filter behaviour

 

6. Dashboard Drilldown and Report Redirection

All Widgets can be drilled down at lead, task, activity, or call level to get the exact details​ or data. Clicking on the siera drill down icon redirects the user to the report from where the data is fetched. 

siera sales dashboard drill down

 

7. Add the Sales User Dashboard as Your Custom Report

You can add the SIERA Sales User Dashboard to Your LeadSquared Dashboard  –

  1. Navigate to Reports>SIERA>Dashboards>All Dashboards.
  2. Click on the siera sales dashboard copy link icon icon againt the Sales User Dashboard and click Copy Embed URL.
  3. Paste the link as an external report on the LeadSquared dashboard.
Note: You will need to create a custom dashboard on LeadSquared. Once done, you can add the SIERA Sales User Dashboard as your own report.

siera sales dashboard custom report

 

8. Add the Sales User Dashboard as a Custom Report For Your Users

You can add the SIERA Sales User Dashboard to your users’ LeadSquared Dashboard –

  1. Navigate to Reports>SIERA>Dashboards>All Dashboards.
  2. Click on the siera sales dashboard copy link icon icon againt the Sales User Dashboard and click Copy Embed URL.
  3. Navigate to Settings>Analytics>Dashboards.
  4. Create a dashboard and paste the URL from the previous step.
  5. Navigate to Settings>Users and Permissions>Teams.
  6. Under Actions, Hover your mouse over theseria sales user dashboard actions icon for a Team and click Apply Dashboard.
  7. From the Dashboards drop-down, select the Dashboard you created.
  8. Click Save.
Note: For more information on custom dashboards for Teams, you can read the help article on Assigning Custom Dashboards to Teams.

siera add dashboard for users

 

Any Questions?

If you have questions, let us know in the comments section. We’ll get back to you as soon as we can.

Overwrite Lead Fields Through Dynamic Forms

1. Feature Overview

When a Lead Owner is filling a LeadSquared Dynamic Form, and if the lead already exists, the owner will now have the option to auto-populate the Form with the existing Lead Field details. The owner can also overwrite (or update) the existing Lead Field details through the Form submission. A unique identifier field (for example, an email or phone number) on the Form will be used to check if the lead exists.

forms overwrite Lead fields based on Unique fields

 

2. Prerequisites

 

3. Lead Owners Can Overwrite Existing Lead Fields Values

Navigate to Form Settings>Additional Settings and enable Overwrite lead field based on unique field by togglingtoggle.  You will be presented with three overwrite mechanisms for the Lead Fields on Form submission –

  1. Update All Fields – This will update all the Lead Field values that are present in the Form post the Form submission.
  2. Do Not Update – This will not update any Lead Field values post the Form submission.
  3. Update If Empty – This will update Lead Field values that were empty before the Form submission and the user has now added values for. 
Note: Permission Template settings will be respected first when overwriting any Lead Field details on the Form. If a Permission Template defines that a Sales User cannot update the Lead Fields, then the field values will be read-only after auto-populating.

forms overwrite lead fields

When an existing lead is recognized on the Form through the unique identifier, you will be presented with an option – Would you like to fill field values? Yes | No. You can hover your mouse over View Details to preview the lead details. Click Yes to auto-populate the fields. On successful Form submission, the Lead Field details will be updated according to the overwrite mechanism you have specified.

forms overwrite Lead fields based on Unique fields

 

Any Questions?

If you have any questions related to forms that weren’t answered here, please leave comments below. We’ll be happy to help!

Rename the Opportunity Entity to Reflect Your Business Terminology

1. Feature Overview

Opportunities in LeadSquared represent potential deals. Through opportunity management, you can track various aspects of deals in progress. Users can rename “Opportunity” as per their business needs. For example, an insurance company can rename “Opportunities” as “Policies” and an education organisation can rename them as “Courses” for better adoption among users.

Note:

  • All the admin settings, reports & configurations will continue to use the keyword Opportunity. The name change will not be reflected on these pages.
  • To know more about opportunities, refer to Opportunity Management – Feature Guide.

 

2. Prerequisites

You must be the Administrator of your LeadSquared account.

 

3. Enable Opportunity Rename

  1. Navigate to My Profile>Settings>Profile>Advanced Configurations.
  2. Alongside Enable Opportunity Rename setting, slide the toggle.

LeadSquared - Enable Opportunity Rename

 

4. Rename Opportunity

  1. Navigate to My Profile>Settings>Opportunities>Rename Opportunities.
  2. On the Rename Opportunity tab, under Actions, click the Edit icon.
  3. On the Rename Opportunity pop-up, change the Display Name and Plural Name, and click Save.
  4. On the Confirmation pop-up, click the Confirm button.
  5. You will receive a confirmation notification at the top of the page once the name change has been accepted by the system.

Note: It will take up to one hour for the name change to reflect in your account.

LeadSquared - Rename Opportunity

 

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!

Non-lead Owners Can Create Opportunities Through Dynamic Forms

1. Feature Overview

There are cases where the existing lead might be reaching out to a different Sales User to enquire about a different product. So, a Sales User who is not the lead owner can create an Opportunity on the existing lead through LeadSquared’s Dynamic Form.

Note: This functionality is also available to users on LeadSquared’s Mobile App.

forms opportunity form

 

2. Prerequisites

 

3. Non-lead Owners Can Create Opportunities Through Dynamic Forms

Navigate to Settings>Profile>Advanced Configuration and search for Allow Users without lead access to create opportunities. Click Configure

forms allow Users without lead access to create opportunities

You can select two configuration permissions –

  • Allow sales user to create Opportunity on inaccessible leadsSales users can create opportunities on leads they don’t have access to if a correct lead identifier is passed.
  • Allow sales user to update or overwrite lead fields of inaccessible leads – Sales users can update or overwrite lead fields if the correct lead identifier is passed. 

Click Save once you have selected the permissions.

Note: You can select only the first configuration permission, or the first and second configuration permission together. But, you cannot select only the second configuration permission alone.

form opportunity config permission

On your Form, Navigate to Form Settings>Additional Settings and enable Allow Non-lead Owners to create Opportunities by toggling toggle. Once enabled, Overwrite lead field based on unique fields will also enable automatically and it cannot be disabled.

forms opportunity overwrite lead field based on unique field

If you have selected Allow sales user to update or overwrite lead fields of inaccessible leads in the Advance Configuration Settings, then you can select from the three overwrite mechanisms for the Lead Fields on Form submission –

  1. Update All Fields – This will update all the Lead Field values that are present in the Form post the Form submission.
  2. Do Not Update – This will not update any Lead field value post the Form submission.
  3. Update If Empty – This will update Lead field values that are empty at the time of Form submission. 
Note: Permission Template settings will be respected first when overwriting any Lead fields on the Form. If a Permission Template defines a Sales User cannot update Lead Fields, then the field values will be read-only after auto-populating.

form opportunity overwrite lead field mechanism

When an existing lead is recognized on the Form through a unique identifier field (For example, an email or phone number), the Sales User will be presented with an option – Would you like to fill field values? Yes | No. You can hover your mouse over View Details to preview the lead details. Click Yes to auto-populate the fields. On successful Form submission, an Opportunity will be created on the existing lead, and the existing Lead Field details will be updated according to the overwrite mechanism you have specified.

forms opportunity form

 

4. FAQs

Why is the form not getting submitted when I mark the opportunity task as complete?

  • Issue: When marking an opportunity task as complete, users encounter the error message: “You are not authorized to update the records.” The permissions have already been verified, and the issue does not stem from user permissions.
  • Root Cause: This issue arises when the opportunity owner submits the form, which includes lead, opportunity, and activity fields, but the lead owner is a different user. The user submitting the form does not have edit access to the lead because the lead’s owner is someone else. Although the lead is shared with the user due to the opportunity, the form still attempts to update the lead fields, causing the “You are not authorized to update this record” error.
  • Solution/Workaround: To resolve this, enable the two advanced configurations – Allow sales user to create Opportunity on inaccessible leads and Allow sales user to update or overwrite lead fields of inaccessible leads described above.

 

Any Questions?

If you have any questions related to forms that weren’t answered here, please leave comments below. We’ll be happy to help!

Schedule Automations At Regular Intervals

1. Feature Overview

Schedule your automations to be triggered at regular intervals. You can set up an automation to run every morning and distribute leads based on user availability. You can trigger automations for leads, users, opportunities and non-entities like Lapps. To know more about creating automations, refer to Automation – Feature Guide.

 

2. Prerequisite

You must be the Administrator of your LeadSquared account.

 

3. Schedule Automations At Regular Intervals

  1. Navigate to Workflow>Automation and click Create Automation.
  2. Select a blank template and then select At Regular Intervals.
  3. On the Automation starts at regular intervals pop-up window, enter the following data –
    • Triggers for: Select the entity you want to trigger the automation for – Leads, Users, Opportunities or No Entities.
    • Schedule: Select how you want to schedule the automation – hourly, daily, weekly, or monthly.  You can then select how often you want the automation to be triggered. For example, you can schedule it to be triggered every 2 days at 11 am.
    • Inclusion criteria: Click Add Conditions to select the criteria required to include the relevant entities. The criteria will differ based on the entity you’ve selected. The gif below uses the example of  triggering an automation for all leads in India.
    • Notify on failure: Select the user you wish to notify if the automation does not get triggered.

Click Save and build your automation.

Note:

  • There is an entity limit for the inclusion criteria you set. If you’ve selected the automation to be triggered for Leads, the number of leads that satisfy the inclusion criteria must be within the limit. If not, the automation will not get triggered. Be default the limits are: Hourly- 2500, Daily – 25000, Weekly – 25000, Monthly – 25000. To change this limit, contact your account manager or reach out to support@leadsquared.com.
  • If there no leads that satisfy the inclusion criteria, the automation will not get triggered.
  • Only the Triggers for and Schedule field will be available for non entities.

LeadSquared - Schedule Automations At Regular Intervals

 

4. Troubleshooting

Issue: The At Regular Interval (CRON) Automation did not trigger on any leads

Issue Description: The automation did not trigger over any leads with the trigger action set to “At Regular Interval,” even though the leads satisfy the inclusion criteria set in the trigger card.

Root Cause: The automation’s trigger action, “At Regular Interval,” has a lead limit of 25,000. If the number of leads satisfying the inclusion criteria exceeds 25,000 at the set interval, the automation will not trigger on any leads.

Solution: Reach out to your account manager to see if a workaround is possible or write to us at support@leadsquared.com.

 

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!

Manage Templates for the Mobile App

1. Feature Overview

Create reusable message templates to ensure efficient communication between sales users and leads. You can also personalize these templates by adding Mail Merge fields. The templates published on the Manage Templates page are available to all sales users on the mobile app. 5 templates are available by default on your LeadSquared account and users can add up to 50 more.

Note: 

  • Templates saved as drafts will not be available on the mobile app.
  • The SMS templates previously created by the user will be available on the mobile app. However, these templates will be removed once the user logs out of their account.
  • To know more about how to send messages on the mobile app, see Make Calls and Send SMS Using the Mobile App.
  • To know more about personalising your messages with mail merge fields, see Mail Merge.

 

2. Prerequisite

You must be the Administrator of your LeadSquared account.

 

3. Create Message Templates

  1. Navigate to My Profile>Settings>Mobile App>Manage Templates.
  2. Click Create Template.
  3. Enter the Template Name.
  4. In the box under Template, enter your message template.
  5. To add mail merge fields on the template, under Available Mail Merge, copy the fields and paste them on the message template.
  6. Once you’re done, you can save the template as a draft or publish it.

Note: The template can contain a maximum of 1000 characters.

LeadSquared - Create Message Templates

 

4. Manage Message Templates

To perform actions on your template, alongside the template, click settings icon .

  • To preview the template, click Preview.
  • To edit the template, click Edit.
  • To delete the template, click Delete.
  • To publish the drafted template, click Publish.
  • To unpublish the published template, click Unpublish.

LeadSquared - Actions on manage templates

 

5. Use Templates on the Mobile App

5.1 Show Templates on Mobile App

Templates are enabled on the mobile app by default. To manually enable/disable the Templates feature on your mobile app –

  1. On the Dashboard, tap LeadSquared - Mobile app menu.
  2. Tap Setting icon.
  3. Under Personalise, tap Templates.
  4. Next to Show Template, tap slider icon.

On this page, alongside the available templates –

  • To preview the template, tap view icon.
  • To send the template as a message to leads directly from this page –
    • Tap share icon.
    • Enter the lead’s name.
    • Tap Share.
Note: The Show Template toggle is enabled by default on the mobile app.

LeadSquared - Show Templates on Mobile App

 

5.2 Send Messages Using Templates

To send messages to your leads using the available templates –

  1. Tap Leads.
  2. Tap on a name card to view the Lead Details page.
  3. Tap Contact and select either Whatsapp or Message.
  4. Alongside the template you want to use, click share icon
  5. Click Share and click OK on the carrier charges notification.
  6. You will be redirected to your SMS app. Tap Enter here.
Note: To know more about how to send messages on the mobile app, see Make Calls and Send SMS Using the Mobile App.

LeadSquared - Send Messages Using Templates

 

5.3 Send Emails Using Templates

  1. On the Dashboard, tap LeadSquared - Mobile app menu.
  2. Tap Setting icon.
  3. Under Personalise, tap Templates.
  4. Alongside the relevant template, tap share icon.
  5. Enter the lead’s name.
  6. Tap Share and select Email.

LeadSquared - Show templates on mobile

 

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!