UDS Create Actions – Lead Create Action

1. Feature Overview

The Lead Create action template in Universal Data Sync (UDS) App enables you to create new leads in LeadSquared.

This template leverages the LeadSquared V2 Create a Lead API and eliminates the need for manual API configuration.

 

2. Use Case

You want to create a lead in LeadSquared for every incoming request.

 

3. Configure Create a Lead Action

Follow the steps below to configure Create a Lead action –

1. Select Template

Click +Action and choose the Lead Create template.

navigate to create a lead action on uds

2. Select Behavior

In this step, the values will be pre-configured as follows:

  • Source – LeadSquared
  • Entity – Lead
  • Action – Lead Create

lead create select behavior

3. Configure Field Mapping

Map your source fields (from your data source or app) to the appropriate LeadSquared lead fields.

You can do that by selecting the desired Lead fields from the dropdown. Click on + icon, select Entity as Lead, and select the desired field from the dropdown.

For example:

  • First Name → lead.FirstName
  • Email → lead.EmailAddress
  • Phone → lead.Phone
  • Custom fields (Such as address proof) → Corresponding custom lead fields

map variables for create a lead action

Note: You can optionally set static values or use formulas for field transformations.

configure static values and transformation in lead create action

 4. Configure Response Mapping (Optional)

Use this step if you want to:

  • Capture the newly created LeadId and pass it to downstream actions.
  • Handle API success/failure logic conditionally.

Define the fields you want to extract (e.g., `LeadId`, `Status`, `Message`) and mark what should be considered a successful or failed execution.

success and response mapping for lead create action

 

FAQs

1. What credentials are used for making API calls via this system?
API calls made through Lead Action template will use system user credential for authentication.

2. Do these API calls count toward any rate limits?

Yes. API calls made via this template are counted against your v2 API usage limits. Specifically:

  • Daily Limit: All calls contribute to your daily quota.
  • Per 5-Second Limit: Calls also count toward the burst limit of requests allowed every 5 seconds.

3. What happens if I exceed the API rate limits?
If you exceed either the daily or per-5-second limits, further API requests will be rejected until your usage falls within the allowed limits.

4. What are the error scenarios defined
Since we directly call Platform v2 APIs inside the Lead Action template, all standard v2 API error responses will be returned as it is. Refer to the API Reference for error codes.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments