[dynamic_help_sidebar root="leads"]

Universal Data Sync (UDS) | No Code Integration Platform – Getting Started

1. Feature Overview

Universal Data Sync (UDS) enables effortless no code integration and data synchronization between two systems, such as marketing platforms, e-commerce systems, CRM tools, accounting software, and more.

With UDS, you can create an application and setup multiple data flows within it, enabling you to consolidate and manage all data flows for a single provider or purpose, within one unified group.

Benefits:

  1. No-Code Integration Flow Builder: Eliminate developer dependency and configure data synchronization workflows in minutes.
  2. Versatile Trigger Support: Activate workflows through predefined LeadSquared events, custom triggers, periodic schedules, or on-demand actions, offering unmatched flexibility.
  3. Enhanced Authentication Module: Easily connect with any application using advanced authentication methods, including key-based access and OAuth protocols.
  4. Advanced Data Flow Control: Manage data inflow efficiently by processing it in a queued sequence, responding to API callers after partial processing, or selectively executing workflow steps based on predefined conditions.
  5. Flexible Settings: Define success and error statuses based on your business rules, regardless of API response codes, for greater customization.
  6. Comprehensive Logs: Gain access to detailed journey logs, ensuring complete visibility and preventing data leaks.
  7. Real-Time Notifications & Alerts: Receive instant alerts for errors, with the ability to quickly retry failed requests for uninterrupted operations.
Note: The Universal Data Sync connector (UDS) was formerly known as Universal Lead Capture connector (ULC).

LeadSquared Universal Data Sync Connector

 

2. Example Use Cases

  1. Seamlessly capture leads from multiple sources such as websites, marketing portals, or third-party vendors.
  2. Automatically pull data from third-party systems at regular intervals to create leads, opportunities, activities, and more.
  3. Once a deal is marked as closed, automatically transfer deal-related data to external systems like SAP, ERP, or other third-party platforms.
  4. Design workflows to handle scenarios such as checking if an opportunity exists in LeadSquared—updating it if found or creating a new opportunity if not.
  5. Develop APIs to return tailored responses to API callers in real time after executing specific API calls or applying business logic.

 

3. Prerequisites

  • You must be an Administrator user, or access must be shared to you by an Admin user.
  • The Universal Data Sync Connector is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • UDS (Universal Data Sync) includes usage limits and restrictions based on your account’s plan, please refer to your Plan Details.

 

4. How it Works

With the Universal Data Sync (UDS) connector, you can manage multiple data flows for a single provider under one app. For instance, whether you’re integrating Razorpay, Zoom, or any other service, you can create inbound and outbound data flows within a single app. Each data flow is made up of multiple actions where you configure APIs to sync data between systems.

In addition, UDS allows you to add data transformation logic and chain actions, meaning the response from one API can be used as input for the next. This flexible structure helps you efficiently manage all your integrations with a provider in one central location, simplifying data synchronization and automation.

Apps>Flows>Actions –

  1. Create an App for each Data Source.
  2. Within each app, configure one or more flows.
  3. Within each flow, configure one or more actions.

 

5. Install the Connector

To install the Universal Lead Capture app –

  1. From the main menu, navigate to Apps>Apps Marketplace,
  2. Search for Universal Data Sync, and click Install.
    • Alternatively, you’ll find the app listed under the Lead Capture tab.
  3. Once the connector is installed, hover your cursor over settings, and click Configure.
  4. On the Configure Universal Data Sync pop-up, from the Select Role dropdown, choose the user roles for which you want to give connector configuration and actions permission.
    • If you choose to not give permissions to other user roles, then skip this step, and directly click Save.
  5. Once you’re done, click Save. The connector is successfully installed.

To access and configure each individual connector, navigate to Apps>Universal Data Sync.

LeadSquared Lead Capture App

 

6. Next Steps

Explore the UDS documentation –

 

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!

Universal Data Sync (UDS) – Create an App

1. Feature Overview

Universal Data Sync (UDS) enables effortless, no-code integration and data synchronization between two systems, such as marketing platforms, e-commerce systems, CRM tools, accounting software, and more.

To integrate your third-party data sources with LeadSquared, create an app for each service (e.g., Razorpay, Outlook, Calendly, etc.). An App serves as a container where you can configure and manage multiple data flows associated with a specific provider or purpose. It centralizes workflows, making it easier to organize, monitor, and maintain all related processes. This article explains how to create your first app on UDS.

If you’re new to UDS, see Getting Started with UDS.

 

2. Prerequisites

  • You must be an Administrator user, or access must be shared to you by an Admin user.
  • The Universal Data Sync Connector is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • The UDS connector must be installed on your account before you can create apps. For installation related information, see Getting Started with UDS.

 

3. Create Apps

  1. On the main menu, navigate to Apps>Universal Data Sync.
  2. Click Create Application.
  3. Enter a name, region, description and upload a logo for your app.
  4. Click Save Details.

LeadSquared Apps and Integrations

 

4. Other Actions

  • App Settings – Make changes to your app. Add new data flows or edit existing ones.
  • Delete Application – Deletes the application and all data flows, authentication settings, and actions under it.

Universal Data Sync Connector

 

5. Next Steps

Once you’ve created an app, define the global variables – Define Global Variables for an App.

 

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!

Define Global Variables for an App in UDS

1. Feature Overview

When setting up your flows, you may need to use credentials or tokens that remain consistent across flows. UDS supports this through Global Variables, which can be defined within an App. Global Variables provide a secure space to store and reuse values like authentication tokens, API keys, or passwords across multiple flows and flow actions within the same application.

For sensitive information, such as credenitals, you can mark the variable as a password type, ensuring it is securely stored and encrypted. These values remain hidden even in logs, offering enhanced security.

By using Global Variables, you simplify configuration, reduce redundancy, and centrally manage credentials and other reusable data across your flows.

If you’re new to UDS, see Getting Started with UDS.

Note:

  • All variable are stored in a secure, masked format to ensure the highest level of security.

 

2. Prerequisites

  • You must be an Administrator user, or access must be shared to you by an Admin user.
  • The Universal Data Sync Connector is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • You must first create an App within UDS before you define global variables. For more information, see Create an App on UDS.

 

3.  Global Variable Types

UDS supports different types of global variables, each serving a specific purpose:

System Variables

These are available by default and provide context-specific information related to your UDS environment or LeadSquared account. You don’t need to configure them manually.

Custom Variables

These are created by users to store values such as tokens, credentials, or any reusable data needed across flows.

 

4. System Variables

These are predefined variables related to LeadSquared and UDS. They can be directly used in flows to dynamically render their actual values during execution.

Here’s a description of the system varaibles:

Variable Display Name Description Variable Schema
ORG_ID Identifier for an organization ID {{global_variable.ORG_ID}}
LSQ_BASE_ENDPOINT Base endpoint URL for LSQ (For example, if your account is in india region, it will have value https://api-in21.leadsquared.com) {{global_variable.LSQ_BASE_ENDPOINT}}
LSQ_ACCESS_KEY Access key of System User of your Leadsquared Account . This data will be passed in encrypted format.

Note: This is an internal user, you cannot locate this user inside Manage users list.

{{global_variable.LSQ_ACCESS_KEY}}
LSQ_SECRET_KEY Secret key of System User of your Leadsquared Account . This data will be passed in encrypted format.

Note: This is an internal user, you cannot locate this user inside Manage users list.

{{global_variable.LSQ_SECRET_KEY}}
APPLICATION_NAME Name of your UDS Application where this variable is used. {{global_variable.APPLICATION_NAME}}
APPLICATION_ID ID (unique identifier) of your UDS Application where this variable is used. {{global_variable.APPLICATION_ID}}
DATAFLOW_NAME Name of the UDS flow where this variable is used. {{global_variable.DATAFLOW_NAME}}
DATAFLOW_ID ID (unique identifier) of the UDS flow where this variable is used. {{global_variable.DATAFLOW_ID}}
WEBHOOK_URL Webhook URL of the UDS flow where this variable is used. {{global_variable.WEBHOOK_URL}}
LEAD_ID Unique identifier for a lead (prospect ID), available when the trigger inside UDS is set to ‘Automation/Webhook‘ and data is sent from Automation/webhook. {{global_variable.LEAD_ID}}
REQUEST_ID Identifies the individual request pushed for execution.

In the case of bulk or scheduled triggers—where multiple records are fetched or received for processing from the source—BATCH_REQUEST_ID represents the root-level identifier, while REQUEST_ID refers to each specific request within that batch being processed.

{{global_variable.REQUEST_ID}}
BATCH_REQUEST_ID Represents the root-level identifier for requests.

In bulk or scheduled triggers—where multiple records are fetched or received for processing from the source—BATCH_REQUEST_ID identifies the overall batch, while REQUEST_ID refers to each specific request within that batch being processed.

If your trigger receives the individual data to be processed then
BATCH_REQUEST_ID is same as REQUEST_ID

{{global_variable.BATCH_REQUEST_ID}}
REQUEST_CALLER_SRC Represents the context of the UDS flow execution.

Typically follows the format: connector-ulc-{{YourOrgID}}-{{Your UDS Application ID}}-{{Your UDS FlowID}}.

Use this value when calling your APIs to retain contextual information in your API logs.

{{global_variable.REQUEST_CALLER_SRC}}

5. Custom Global Variables

These are created by users to store values such as tokens, credentials, or any reusable data needed across flows.

Currently, UDS supports three ways to set the value of a Custom Variable:

  • Custom – Manually enter the value you want to assign to the variable. Ideal for static tokens or fixed configuration values.
  • Call an API- Configure a custom API call to dynamically fetch the value. This is useful when the variable value (e.g., token) changes periodically. You can also define how frequently the API should be called, especially for time-bound or expiring values.
  • OAuth – Use a predefined list of supported applications to complete the OAuth flow. Once authenticated, UDS will automatically fetch and manage the token required to call the app’s APIs.

To add a custom variable

  1. Navigate to the Global Variables section within your app and click the Add New button.
  2. Provide a Display Name for your variable. Supported characters: Uppercase letters (A–Z), lowercase letters (a–z), numbers (0–9), hyphen (-), underscore (_), and spaces.
  3. Choose the appropriate data type based on the kind of value you intend to store (e.g., Text, Number, Password).
  4. Optionally, add a short description to help identify the purpose of this variable.
  5. Choose how to set the value. UDS supports three methods for assigning the value of the variable:
    • Custom: Manually enter a static value for the variable.
    • Call an API: Refer to section 6.2
    • OAuth: Refer to section 7
  6. Click Save.

 

6. How to Configure a Custom Global Variable of Type API

For example, let’s say we need to call an API to generate an authentication token to securely connect to a third-party application. The API requires a AccessKey and SecretKey parameters in the request, and returns the AuthToken in the response. We’ll create 3 variables –

  1. For Access_Key and Secret_Key, we’ll select the value of the variable as Custom and hard-code the values.
  2. For the Auth_Token, we’ll select the value of the variable as Call API, and configure the API to pass the AccessKey and SecretKey in the request and populate the AuthToken from the response.
Note:

  • If you already have a cURL command, you can paste it to automatically populate the method, endpoint, headers, and body fields.
  • Alternatively, you can manually define the API request by specifying the method, URL, headers, and request body.
  • If your API requires input values—such as a client ID or other parameters—you can either hardcode the values or create supporting variables. These supporting variables can be assigned values by mapping them to existing global variables. This enables dynamic value passing and avoids hardcoding, making your configuration more secure and maintainable.

LeadSquared Apps and Integrations

6.1 Call API Settings

After selecting Call API, configure the API. This involves 3 steps –

1. Input cURL Request –

  1. Click Edit Details and enter the API cURL request.
  2. Scroll down and click Save & Next.

2. Variables – 

  1. The parameters are automatically populated based on your cURL request.
  2. Change the Type of the parameter if required.
  3. Under the Mapping column, map the parameters from the cURL request to the global variables you’ve created, or type the values in manually and press enter.
  4. Use the delete icon under the Actions column to remove unwanted parameters.
  5. Scroll down and click Save & Next.

3. API Configuration –

This section is auto-populated based on your cURL request. If required, you can make changes to the API configurations here –

  1. Edit the request method (Post, Get, etc.).
  2. On the top right section, click View Merge Fields. You’ll see the list of parameters and LeadSquared system global variables (e.g., LEAD_ID, ORG_ID, LSQ_SECRET_KEY, APPLICATION_ID, etc.). You can append these parameters to the API query string or the the request body.
  3. On the Headers tab, click Add New to add headers to the API request. Enter the required key-value pairs.
  4. Navigate to the Body tab and review the request body. If required, change the request format (e.g., Click the View Merge Fields link to copy and add additional parameters.
  5. Click Save & Close when you’re done.

uds any api setup for call api

6.2 Response Mapping For Success

Response Mapping for Success allows you to define the structure of your API’s success response, specify which key’s value from the response should be stored in the defined variable, and set how long this value should be cached to avoid multiple calls (if required in case of time bound token expiry).

6.2.1 Data Key Selection

Here you need to provide a sample response for configured API so the system understands the response structure. and then specify the exact key or path in the response that holds the value you want to extract and store in the global variable.

6.2.2 Success Criteria

This section allows you to customize what success means for your API requests. By default, any response with a 2xx status code is treated as successful.

While this works for most standard scenarios, it may not be sufficient for all APIs. In some cases, an API might return a 4xx or 5xx status code even when the operation was actually successful from your workflow’s perspective. Alternatively, the response body may contain specific keywords or flags that indicate success, regardless of the status code.

With custom success conditions, you can define logic that evaluates both the status code and content of the response. This gives you complete control over how success is interpreted within your workflow.

Example:

Lets say your API returns following response body with response status code as 400

{
  "status": 400,
  "message": "Previous token is not expired",
  "AuthToken": "xxxxxxxxxxxxxxxxxx"
}

Here’s how you can configure success response mapping

error response mapping in uds new

6.3 Response Mapping For Errors

This section allows you to set the definition of error for your workflow and retry logic.

By default, any response outside the 2xx status code range is considered an error.

While this works for most standard scenarios, some APIs may return a 2xx status even when the operation has actually failed. In such cases, relying solely on status codes may not accurately reflect the true outcome.

Custom Error Conditions let you define logic that evaluates both the response status code and the content. This gives you complete control over how errors are identified within your workflow.

Note: If you want to use retry logic, you must define at least one error condition, even for responses that already fall outside the 2xx range. This ensures your retry behavior remains accurate and intentional.

Example: 

Lets say your API returns following response body with response status code as 200

{
  "status": 200,
  "message": "error"
}

uds error response mapping

The Call API configuration is now complete. The hard coded Access_Key and Secret_Key variables will now be passed in the third-party API request body, and the Auth_Token variable will be populated with the value from the API response.

LeadSquared Integration and Apps

 

7. How to Create Custom OAuth Variables

OAuth allows you to securely connect LeadSquared with external applications using your login credentials.

Note: At present, the providers listed below are supported:

  • Zoho Desk
  • Zoho CRM
  • Google Contacts

If your preferred app isn’t listed in your account, you can request it by emailing support@leadsquared.com.

Steps to Configure OAuth

  1. Create a custom OAuth variable.
  2. In OAuth Settings, ensure the desired provider is enabled.
  3. Under the Connect Provider tab, select the provider from the dropdown.
  4. Grant LeadSquared the necessary read/write permissions.
  5. Click Sign In to securely authenticate with the provider.
  6. Once signed in, click Save to complete the setup.

creating oauth variable in UDS

 

8. FAQs

1. How does Auto-retry work?

If retry is configured, the system will make up to 3 attempts at an interval of 10 seconds until a successful response is received.

2. If I have added multiple conditions in success/response mapping, how will they be evaluated?

When multiple success or error conditions are added, they are evaluated using an OR logic. This means if any one of the conditions is met, the request will be marked as success or error, accordingly.

 

9. Next Steps

After defining the global variables, let’s Create a Flow.

 

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!

Universal Data Sync (UDS) – Create a Data Flow

1. Feature Overview

With UDS (Universal Data Sync), you can create an application and set up multiple data flows within it—allowing you to consolidate and manage all data flows related to a single provider or use case in one unified workspace.

This article will guide you through creating and managing data flows within a UDS App.

Note: New to UDS? Start with Getting Started with UDS to understand the basics before proceeding.

 

2. Prerequisites

  • You must be an Administrator user, or access must be shared to you by an Admin user
  • The Universal Data Sync Connector is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • Create data flows only once you’ve configured global variables for your app.

 

3. Creating a Data Flow

To create a data flow –

Click on + Flow. A pop-up will appear asking if the flow involves any of the following:

  • Trigger flow with data formats other than JSON
  • File operations
  • Schedule data sync

If you select Yes, and then proceed you’ll be directed to the older Universal Data Sync connector (formerly called Universal Lead Capture or ULC). For more information on creating the data flow, see Integrate Your Custom Data Source with LeadSquared.

created inbound flow in uds

If you select No, the flow will proceed within the current UDS interface.

create outbound flow in uds

 

4. Flow Related Actions

  • Edit FlowEditing a flow lets you update its configuration, including the trigger, actions, and other related settings.
  • Duplicate – Allows you to create a duplicate copy of the flow.
  • View Logs –Track the execution history of your data flows. View detailed logs of flows, including timestamps, statuses, and any errors encountered during the integration process. This helps you monitor and troubleshoot data sync activities efficiently.
  • Rename – Rename the flow and description.
  • Advanced Settings let you control your flow’s trigger and behavior. You can configure processing limits, apply IP restrictions, and choose to encrypt webhook requests and responses in logs for added security. Refer to section 5 for more details. 
  • Delete Flow – Delete the data flow, including all actions configured under it.
  • Copy Webhook – Copy the webhook generated for the data flow and use it to create a LeadSquared webhook or automation, or to call the webhook from a custom source (e.g., Postman).

other actions on flows

 

5. Advanced Options

To configure advance options on the flow, click the advance config option menue icon against the flow and select Advanced Options (this setting can also be access from the flow details page). The following advanced options are available for flows:

  • Processing Limit – Flow processing limit controls how many requests can be processed per minute. You can set and customize these limits to fit your needs. For example, with a limit of 1000 requests per minute, a maximum of 1.4 million requests can be processed daily.
  • Data Encryption – By default, data encryption is disabled. You can enable this option to secure sensitive data in both requests and responses.
  • IP Restrictions – Manage access to your flows by whitelisting or blacklisting IP addresses. You can add individual IPs or a range. Blacklisted IPs take precedence over whitelisted ones – if an IP address appears on both lists, it will be denied access.
  • Logger Parameters – Logger Parameters let you capture key values (like IDs or sources) from incoming requests and include them in your flow logs. This helps identify and track specific executions more easily. For more information, refer to Logger Parameters in UDS.

new advanced option on flow

 

6. Create More Data Flows

UDS allows you to create and manage multiple inbound and outbound data flows under a single application, consolidating all provider integrations in one place.

multiple data flows

 

7. Next Steps

After creating and naming the data flow, next Select a Trigger.

 

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!

Universal Data Sync (UDS) – Select a Trigger

1. Feature Overview

With UDS, you can create an application and configure multiple data flows within it. Each data flow consists of two key components:

  1. Trigger
  2. Action 

trigger is the starting point of a data flow—it initiates execution whenever a specific event occurs and then actions are performed.

This document provides an overview of the various trigger options in UDS, along with relevant configuration details. You can choose from the following trigger types in UDS, depending on your use case:

  • LeadSquared Webhooks
  • LeadSquared Automation
  • Custom / HTTPS Trigger

navigate to trigger selection in UDS

 

2. Prerequisites

  • You must be an Administrator user, or access must be shared to you by an admin user.
  • The Universal Data Sync Connector is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • You must first create and name your data flow before selecting a trigger. For more information, see Create a Data Flow.

 

3. LeadSquared Webhooks

Use this option to initiate a workflow based on standard LeadSquared webhook events such as:

  • Lead Created
  • Lead Updated
  • New Activity on Lead{select the activity}
  • Activity Updated on Lead{select the activity}
  • Opportunity Created
  • Opportunity Updated

Once you have selected the trigger, you can save and move to the next page where you will get the UDS end point which can be configured inside Leadsquared webhooks. Follow the setup instruction mentioned next to webhook URL to configure the UDS webhook on the mentioned event.

Note: 

  • For any trigger event other than the above, use the Custom Trigger option.
  • If there’s a mismatch between the event selected in UDS and the actual event on which data is received, your workflow will enter an error state.
  • UDS Webhook endpoint only supports, GET & POST method for invocation.
  • ickey in the webhook url is the authentication parameter for the webhook. Without it or if passed incorrect, the call will fail.
  • A new ickey is generated on page refresh, but old keys remain active.
  • ickey value can be also passed in the header or as x-access-token.
  • Webhooks are restricted to be called directly from the browser or UI due to security reasons.

trigger selection through automation in UDS

 

4. LeadSquared Automations

Choose this option if you want to start a workflow from within a LeadSquared Automation. You can trigger flows on the same events listed above:

  • Lead Created
  • Lead Updated
  • New Activity on Lead{select the activity}
  • Activity Updated on Lead{select the activity}
  • Opportunity Created
  • Opportunity Updated

Once you have selected the trigger, you can save and move to the next page where you will get the UDS end point, which can be configured on Leadsquared webhooks. Follow setup instruction mentioned next to webhook to configure on mentioned event.

Note:

  • For any trigger event other than the above, use the Custom Trigger option.
  • If there’s a mismatch between the event selected in UDS and the actual event on which data is received, your workflow will enter an error state.

trigger selection through automation in UDS

 

5. Key Difference for Leadsquared Wehook and Automation

While both Webhooks and Automations can trigger a UDS flow, Automations offer more control. You can define complex conditions, add filters, and decide when and what data to send to UDS—making it ideal for advanced workflows.

 

6. Custom / HTTPS Trigger

Use this option when you want to trigger a UDS flow from any system. You can make an HTTPS request to the UDS-generated webhook URL. Here You’ll need to manually provide a sample payload. This sample payload will act as a reference for mapping during action configuration.

Once you’ve selected the trigger, you can save and move to next where you will be able to get the UDS end point which can be configured at your source system.

Note: If there’s a mismatch between the structure of the sample payload provided in UDS and the actual data received, your workflow will enter an error state.

set up custom https trigger

 

7. TCP Trigger

UDS supports TCP (Transmission Control Protocol) as a Trigger. This allows LeadSquared to integrate with healthcare and legacy systems that rely on socket-based communication instead of REST/HTTPS APIs.

Configure TCP Trigger

 

8. FAQs

1. Can I use the Custom trigger even if my event is Lead Create in Leadsquared, which is already available under the LeadSquared Automation trigger?

Yes, you can. However, there are a few differences to consider:

  • LeadSquared Automation/webhook Trigger: UDS automatically resolves the payload structure and LSQ field mapping during action configuration. You don’t need to provide any additional sample data.
  • Custom Trigger: You’ll need to manually provide a sample payload that represents the data sent to the webhook. Based on this, UDS will generate the mapping fields for use in your actions.

Use the Custom trigger when you want more flexibility, want to capture any data point received over webhook and dealing in high volume.

 

8. Next Steps

Once you’ve configured a trigger, configure the actions you wish to execute.

 

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!

Universal Data Sync (UDS) – Create Actions Overview

1. Feature Overview

In Universal Data Sync (UDS), Actions are the building blocks of a workflow. When a trigger initiates a workflow, one or more actions are executed sequentially or conditionally to perform tasks such as API calls, transformations, or returning a custom response to the API caller.

 

2. Prerequisites

  • You must be an Administrator user, or access must be shared to you by an Admin user
  • The Universal Data Sync Connector is a paid feature. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • Before creating actions, you must select a trigger for your data flow. For more information, see Select a Trigger.

 

3. Action Types

At present, UDS supports the following action types:

  • Templated Actions – Predefined, ready-to-use actions that don’t require you to deal with API complexities. Simply map the fields and proceed.
  • API Action – Custom actions that let you connect to any external API by configuring the request and handling the response manually.
  • Return Response Action – Used to send a custom response back to the webhook caller. Ideal for webhooks or synchronous integrations.
  • TCP – UDS supports TCP (Transmission Control Protocol) as an Action. This allows LeadSquared to integrate with healthcare and legacy systems that rely on socket-based communication instead of REST/HTTPS APIs.

 

4. How to Add an Action

  • Click on + Action on panel and select form available action and complete the configuration.
  • Click on + Return (or use the + icon) to add a Return Response card

how to add a uds action

 

5. Action Conditions

Conditions can be configured for each action to determine whether it should execute based on incoming data or system variables. These conditions are evaluated at runtime using context variables.

Example Condition:

lead.mx_Payment_Amount > 10000

This condition ensures the action only executes if the payment amount is greater than 10,000.

action conditions

 

6. Rearrange Actions

You can rearrange the sequence of actions within a flow by dragging and dropping them. This allows you to control the exact order in which tasks execute. Rearranging actions is especially important in synchronous flows, where execution order impacts the response logic.

rearrange actions

 

7. Action Controls

The following controls are available for managing actions:

  • DisableSkips execution of the action for new requests. Requests already received will continue to be processed even after the action is disabled.
  • Edit – Modify the configuration of the action
  • RenameEdit the name and description of the action. Some of the templated actions may not support renaming. Renaming an action will affect the response mappings in other actions that reference it.
  • Duplicate – Clone the action with the same configuration
  • Delete – Remove the action from the workflow

Even when renaming is restricted, descriptions of actions can always be edited to improve readability.

action controls

 

8. Action Advanced Options

The Advanced Options section in UDS Actions provides additional configuration settings that control how an action is executed. It currently includes two options: Action Timeout and Data Encryption.

You can find this option either by opening the actions’ configuration page, or if it’s a lead action template, you can find it under the action controls.

8.1 Action Timeout

The Action Timeout setting defines how long an action will wait for a response from the connected API before timing out.

  • Default Timeout: 10 seconds
  • Maximum Timeout: 30 seconds

If the API does not respond within the configured duration, the system considers it a timeout and automatically retries the request up to two times.

For example, if the timeout is set to 10 seconds and the first request doesn’t receive a response, the system will retry the call twice more. This ensures reliability when interacting with slower APIs while maintaining optimal flow performance.

Note: Increasing the timeout beyond the default value may lead to longer execution times and overall flow slowness. It’s recommended to keep APIs optimized to respond within 10 seconds.

8.2 Data Encryption

The Data Encryption option allows users to encrypt the request and response data for an action. This is particularly useful when dealing with sensitive information, such as Aadhaar verification, eKYC, or PAN checks.

  • When enabled, all request and response data for that action will be encrypted.
  • Encrypted data will not be visible in logs or during flow execution review.
  • Once enabled, encryption cannot be disabled for that action.

This option helps ensure data privacy and compliance when handling sensitive business or personal information within UDS flows.

Actions Advanced Options

 

9. Execution Behavior

The execution pattern of a flow varies depending on whether the Return Response card is used.

Scenario Execution Behavior
No Return Response Action Entire flow executes asynchronously
With Return Response Action Pre-return actions are synchronous; post-return are asynchronous

This pattern ensures that critical sync responses (like lead IDs or acknowledgments) can be delivered instantly, while less time-sensitive operations are queued.

 

10. Recommendations While Creating API Actions

  • Store credentials at the app level using global variables to ensure reusability across multiple flows.
  • Avoid hard-coding credentials directly in the action configuration to maintain security and portability.
  • Use system variables wherever possible when working with LeadSquared APIs to leverage built-in context and reduce manual effort.

 

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!

Chatbot Analytics

1. Feature Overview

The Analytics screen displays key metrics for all chatbots in your account. It shows crucial metrics like total messages, average response time, total handovers to agents, and more. These insights help you assess bot performance and identify areas for improvement. Use this data to optimize engagement and improve response efficiency.

LeadSquared Chatbot Analytics

 

2. Prerequisite

You must be an admin user to access the Analytics page.

 

3. View Analytics

To view the Analytics page –

  1. Navigate to Apps>Chatbot, and click Get Started.
  2. On the Chatbot screen, click Analytics.

LeadSquared Chatbot

 

4. Understand the Analytics

The following metrics are available on the Analytics page –

4.1 Top Bar

  • From the All Bots dropdown, select the chatbot whose analytics you want to view. The All Bots option shows the average metrics for all chatbots in your account.
  • Use the predefined date range options (e.g., Today, Last Week, Last 12 Weeks) to filter the analytics.
    • If required, you can also add a custom date range.
Note: You can choose a custom date range of up to 6 months from the current date.

LeadSquared Chatbot Analytics

4.2 Summary Metrics

All these metrics are displayed for the selected date range, and for the chosen bot –

  • Total Messages – The total number of messages your bot sent to your leads.
  • Total Sessions – The total number of bot sessions started. A session begins when either the bot initiates a conversation or a customer sends the first message.
  • Unique Sessions – The total number of unique customers (leads) who interacted with the bot.
  • Total Fallback Messages – The total number of fallback messages the bot sent.
  • Workflows Completed – The number of times the Final Node was triggered inside the selected bot.
  • Average Response Time – Displays the average time your bot takes to respond to a lead’s message.
  • Drop Rate – Shows the number of times a lead dropped off from a chat. This is calculated using the number of times the Final Node was not triggered during a chatbot journey.
  • Active Users – The number of leads who are currently having a conversation with the bot.
  • Total AI Positive Feedbacks – The number of thumbs-up votes the bot received.
  • Total AI Negative Feedbacks – The number of thumbs-down votes the bot received.
  • Total Handover Count – The number of chats that were handed over to an agent in your organization.
Note: Summary metrics are visually represented as graphs at the bottom of the Analytics page.

LeadSquared Chatbot Analytics

4.3 Other Metrics

Most Frequent Messages – Lists the most common messages sent by leads to the bot.

LeadSquared Chatbot Analytics

Most Fallback Messages – Lists the most common lead messages that triggered the bot’s fallback response.

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

AI Knowledge Base Chatbot

1. Feature Overview

This AI-powered chatbot 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 or website links. Using this information, it addresses lead queries not covered in the original flow, while still following the Journey-based flow that you have configured.

Note:

  • The AI Knowledge Bot relies on a journey-based bot. You can either create a new journey bot and enable the AI feature or activate it on an existing journey bot that’s live in your account.
  • The difference between the AI Help Bot and AI Knowledge Bot is with the AI help bot, you had to manually add questions, answers, and utterances for the bot to address queries. Whereas with this bot, you simply upload resources, and the bot will analyze the content to educate itself and answer any questions related to the uploaded material.
  • Rate each response using the thumbs-up or thumbs-down option. Your feedback helps improve the system and trains the AI model to generate better answers.

LeadSquared Chatbot_AI Knowledge Base

 

2. Use Cases

  • AI-Powered Customer Support – Upload FAQs, manuals, and help docs to enable instant, AI-driven self-service.
  • Sales Enablement & Lead Nurturing – Equip sales teams with AI-driven responses from product playbooks and case studies.
  • Educational & Learning Support – Answer student queries using AI-powered insights from academic materials.
  • Healthcare & Patient Assistance – Provide instant patient support with AI-driven responses from FAQs.

 

3. Prerequisites

  • You must install the Chatbot connector. To enable it on your account, contact your account manager, or write to support@leadsquared.com.
  • You must get the AI Knowledge Bot feature enabled on your account. To do this, contact your account manager, or write to support@leadsquared.com.
  • You might come across a few terms for the first time in LeadSquared, so it’s important to familiarize yourself with the Glossary list for the Chatbot.

 

4. Create a Bot

Once the Knowledge bot is activated on your account, begin by building a Journey bot. Once the bot is ready –

  1. On your LeadSquared account, navigate to Apps>Chatbot, and click Get Started.
  2. On the Dashboard screen, from the left panel, click AI Knowledge Base, and then click Add Content.
  3. In the Add Content pop-up, enter the URL of the website where your content is stored. The bot will analyze the content on this website to educate itself.
    • Alternatively, click Browse to upload files* from your computer. The bot will analyze the content in these files to educate itself.
    • You can add multiple sources at once.
  4. Click Train Bot, then click Add Content, and allow the bot a few minutes to train itself.
  5. Once the status changes to “Trained”, navigate to the Bots screen.
  6. Alongside the bot with which you want to integrate the Knowledge Base (KB), under Actions, clickLeadSquared - edit territory allocation.
  7. On the Edit Bot pop-up, alongside Enable AI, enable the slider LeadSquared Service CRM, and under Add Context, add your organization’s name.
  8. Then, click Save. This bot will now use the resources you’ve added to the KB to address lead queries.

Note:

  • Once published, you can link this bot to an existing journey-based bot. If a lead asks a question not covered in the flow or triggers a fallback, the system checks this bot for answers and responds accordingly.
  • You can create multiple Knowledge Bases, and the bot will combine information from all of them to answer lead queries.
  • *The following file types are supported –
    • PDF
    • CSV
    • XLSX
    • DOCX
  • If you’re adding a website URL, entering just the homepage URL is enough. The bot will automatically crawl through all the linked pages within the website and learn from their content.

LeadSquared Chatbot_AI Knowledge Base

 

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!

How to Remove Extra Activity Types from the Add Activity Button on the Mobile App

Scenario: Users want to remove extra activity types appearing in the Add Activity dropdown on the LeadSquared Mobile App, which are not visible on the Web App.

LeadSquared Mobile App Customization

Solution: To resolve this issue, you can enable the advanced setting Remove Quick Add Activity Button. This ensures that only processes deployed on the Add Activity Button appear in the mobile app, removing any extra or default activity types.

Steps to Enable:

  1. Log in to your LeadSquared account.
  2. Navigate to Settings>Profile>Advanced Configuration.
  3. Use the search bar to locate the setting Remove Quick Add Activity Button.
  4. Enable this setting.

LeadSquared Advanced Configurations

Outcome After Enabling:

  • The Add Activity Button on the Mobile App will no longer show extra or default activity types.
  • Only processes specifically deployed on the Add Activity Button will be visible on the mobile app.

LeadSquared Mobile App Customization

Why can a Sales User view leads they don’t own?

Issue: A Sales User (User A), who is not the lead owner, can view leads assigned to another user (User B).

Possible Causes:

  • Opportunity Ownership -If User A is the opportunity owner of an opportunity associated with a lead owned by User B, User A will automatically have “View” access to that lead. This is intended behaviour, as opportunity ownership grants visibility into the related lead details.
  • Lead Share – If User B has shared the lead with User A, User A will have access to the lead for a limited duration.
  • Sales Groups – If User A is the sales group manager, he will have to all the leads owned by User B.

Resolution: Check the opportunity ownership, lead share and sales group settings to discern why the user has access to another sales user’s leads.

LeadSquared Unified Login for SSO

1. Feature Overview

The Unified Login Experience for all LeadSquared users is soon to be available. This eliminates the need to access multiple URLs (such as run.leadsquared.com, marvin.leadsquared.com, login.leadsquared.com, etc) by providing a single, consolidated URL for seamless login and improved accessibility.

What does this mean for you?

Starting 13th December 2024, all users will transition to the new login experience. If your LeadSquared account uses SSO (Single Sign-On), you must update the SSO configuration with the new URLs listed in this article.

Note: Failure to update these URLs will restrict you from logging into your LeadSquared accounts. It is mandatory to make these changes before 13th December, 2024.

 

2. Actions to Take

To ensure uninterrupted access, based on your region, update the SSO configuration for each account with the following URLs –

Note:

  • Do not remove the existing URLs from your SSO. Instead, add the new URLs listed below.
  • If you’re using Azure AD, refer to the Single Page Application section to know how to update the URLs listed below.
  • If you’re using Okta OIDC, refer to the OIDC section to know how to update the URLs listed below.
  • If you’re using Okta SAML, refer to the SAML section to know how to update the URLs listed below.
  • Where applicable, you must provide both the default URL and the region-specific URLs.
  • To find which region you’re located in, see How to Check my Region.
Region SSO Provider URLs
Default Okta (OIDC) https://identity.leadsquared.com
Okta (SAML) https://identity.leadsquared.com/api/auth/r1/v1/SSO/GenericSAML
Azure AD https://identity.leadsquared.com 
India (Mumbai) Okta (OIDC) https://identity-in21.leadsquared.com
Okta (SAML) https://identity-in21.leadsquared.com/api/auth/r21/v1/SSO/GenericSAML
Azure AD https://identity-in21.leadsquared.com
India (Hyderabad) Okta (OIDC) https://identity-in22.leadsquared.com
Okta (SAML) https://identity-in22.leadsquared.com/api/auth/r1/v1/SSO/GenericSAML
Azure AD https://identity-in22.leadsquared.com 
USA Okta (OIDC) https://identity-us11.leadsquared.com
Okta (SAML) https://identity-us11.leadsquared.com/api/auth/r11/v1/SSO/GenericSAML
Azure AD https://identity-us11.leadsquared.com
Ireland Okta (OIDC) https://identity-ir31.leadsquared.com
Okta (SAML) https://identity-ir31.leadsquared.com/api/auth/r31/v1/SSO/GenericSAML
Azure AD https://identity-ir31.leadsquared.com
Canada Okta (OIDC) https://identity-ca12.leadsquared.com
Okta (SAML) https://identity-ca12.leadsquared.com/api/auth/r1/v1/SSO/GenericSAML
Azure AD https://identity-ca12.leadsquared.com
Singapore Okta (OIDC) https://identity.leadsquared.com
Okta (SAML) https://identity.leadsquared.com/api/auth/r1/v1/SSO/GenericSAML
Azure AD https://identity.leadsquared.com

 

Any Questions?

If you have questions, go ahead and start a discussion in the comments section below. We’ll get back to you ASAP!

Bulk Delete Data

1. Feature Overview

The Bulk Delete Data feature allows you to delete system & core activities, and custom activities from your account in a single action. This feature lets you efficiently manage your storage by removing older data that your business no longer requires.

Note: This feature allows you to delete up to 200,000 activities in a single request.

Leadsquared - Bulk Delete Data

 

2. Prerequisites

  • To enable this feature, contact your account manager, or write to support@leadsquared.com.
  • You must be an admin to access this feature.

 

3. How it Works

  1. In the first step, create a bulk delete request and select the custom activity you want to delete. You can either delete the activities under all entities or a particular Opportunity Type.
  2. Select a date range (30 days, custom range, etc.) outside of which you want to delete this activity.
    • Only activities modified outside the selected date range will be deleted.
    • Activities modified within the date range will remain in your account.
      • For example, suppose today’s date is April 30th and you want to delete the “Document Collection” activity, and you select a 30-day date range. In that case, only activities modified before April 1st (more than 30 days ago) will be deleted. Activities modified within the last 30 days, regardless of their creation date (such as a Document Collection activity posted on February 15th but modified on April 18th), will remain in your account.

 

4. View Activity Distribution by Activity Type Report

Before you bulk delete the activities, you can navigate to the Activity Distribution by Activity Type report and view the count of activities in each activity type. This helps you make better decisions and avoid mistakes.

  1. Navigate to Analytics from your LeadSquared Dashboard.
  2. In the search bar, look for “Activity Distribution by Activity Type”.
  3. In the report, under Activity Created On dropdown, select the relevant date range and click Apply. For instance, if today’s date is March 31, 2025 and you select Last 90 Days, all the activities created between January 1, 2025 and March 31, 2025 will be displayed.

Leadsquared - Bulk Delete Data

 

5. Create Bulk Delete Data Request

To export and delete data –

  1. Navigate to My Profile>Settings>Data Management and Privacy>Bulk Export & Delete Data.
  2. On the Bulk Delete Data grid, click New Request.
  3. On the New Bulk Delete Request popup, from the Activity Type dropdown, select the activity type you want to delete.
  4. From the Activities with ‘Modified On’ date older than dropdown, select the date range for which you want to delete the activities. Only activities modified outside the selected date range will be deleted.
    • For instance, if the current date is April 30th and you select 30 days, activities modified before April 1st will be deleted.*
    • You can also select Custom and enter a custom date range to  delete activities modified outside this range.
  5. Once you’ve entered the relevant information, click Delete.

Note:

  • *Activities modified within the last 30 days, regardless of their creation date (e.g., Document Collection activity posted on February 15th but modified on April 18th), will remain in your account.
  • You can select only one custom activity type at a time.
  • Core Activities, Service CRM Ticket Activities and Account Activities will not be displayed in the Activity Type dropdown.

On the Confirm popup –

  1. You’re shown a summary of what you’ve selected to be deleted, which includes –
    • The activity type you’ve selected
    • The data that will be deleted (All Activity field data and All Activity & CFS Attachments)
  2. Before proceeding with data deletion, click the checkbox.
    • This is to confirm your understanding of region-specific compliance guidelines.
  3. Then, click Confirm and Proceed.
Note: Before initiating a request, ensure you are complying with your applicable regulatory guidelines. Storage periods vary based on factors such as industry regulations, the type of data processing, and applicable legal requirements.

Leadsquared - Bulk Delete Data

Repeat Delete Request

You can set a delete request to run on a recurring basis. This allows data associated with a specific entity to be automatically deleted at regular intervals. To configure a recurring delete request –

  1. After selecting the data you want to delete, enable the Repeat this request toggle on the New Bulk Delete Request popup.
  2. From the Repeat every dropdown, choose how often the delete request should run.

Leadsquared - Bulk Delete Data

 

6. Bulk Delete Data Under a Particular Opportunity Type

You can bulk delete activity data for a specific Opportunity Type without affecting Lead data. While creating the bulk delete request, select the required Opportunity Type from the dropdown and complete the remaining steps as described earlier. Only data associated with the selected Opportunity Type will be deleted.

Leadsquared - Bulk Delete Data

 

7. Bulk Delete Data Grid

After creating the request, it will appear on the Bulk Delete Data Grid with the following details –

Leadsquared - Bulk Delete Data

Element Description
Entity Name Name of the activity.
Recurrence Indicates whether the bulk delete request is set to run once or repeat automatically at a defined interval
Created By The name of the user who created the request.
Created Date The date and time when the request was created.
Status The status of the request –

  • Success – The request has been successfully executed.
  • Failed – The request has failed.
  • In Queue – The request has been created and is awaiting execution.
  • In Progress – The request is currently being executed.
  • Revoked – The user has cancelled the request while it was in the queue.

You can also perform the following actions from the actions grid –

7.1 View Report

Once the request is completed, you can download and view a report anytime.

  1. On the Bulk Delete Data grid, under Actions, click the LeadSquared - Settings icon gear icon.
  2. Select View Report. The report will be automatically downloaded as a CSV file to your device.

Leadsquared - Bulk Delete Data

7.2 Revoke Request

All requests are processed during off-business hours. You can revoke the requests you’ve made when it’s in the ‘In Queue’ status.

  1. On the Bulk Delete Data grid, under Actions, click the LeadSquared - Settings icon gear icon.
  2. Select Revoke, and on the Revoke Request popup, click Cancel Request.
Note: The Revoke action will only be visible for requests with the status ‘In Queue’.

Leadsquared - Bulk Delete Data

 

8. Errors

8.1 Another Request Already Exists

You can create only one request at a time for a single activity type. For example, in the image below, “WhatsApp Message” cannot be processed because an existing request to delete the this activity is already in the queue. Attempting to create another request for the same activity type will result in an error message – “Another request for this Activity Type already exists.”

Leadsquared - Bulk Delete Data

8.2 Access Denied

Only admins have access to the Bulk Delete Data page. If users with other roles attempt to access the page, they will see an “Access Denied” error message.

Leadsquared - Bulk Delete Data

 

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!