What steps do I follow to complete the LeadSquared-MyOperator integration?

What steps do I follow to complete the LeadSquared-MyOperator integration?

⚡Quick answer -

  1. Before you start, install and configure the Universal Telephony Connector (UTC) in LeadSquared.
  2. In MyOperator, enable Webhook V2 and Click-to-Call, use a Serial Wise or Balanced dial method, and add each agent’s mobile number in LeadSquared’s Agent Phone Numbers field.
  3. On the LeadSquared CRM integration page in MyOperator, enter the Company ID, Token, Secret Key, Service Number, IVR ID and the Call Log API URL from UTC, then click Integrate.
  4. Add the Webhook V2 with the Call Summary and Call Responded events, then set up Click-to-Call in UTC with the Click2Call URL and data template.
    1. When a call happens, LeadSquared shows a pop-up, creates a lead if none exists and logs the call activity automatically. Users sync automatically.


1. Prerequisite checklist

Item

Where to find it

Required?

MyOperator plan

____

SUV and Above (New Plans)
Growth and Scale (Old Plans)

Company ID

MyOperator → APIs & Webhooks → Integrations → Developer API → Calling API → Manage

Yes

API Token

MyOperator → APIs & Webhooks → Integrations → Developer API → Calling API → Manage

Yes

Webhook V2 enabled
  MyOperator → APIs & Webhooks → Integrations →    Webhooks V2
   Yes
Secret Key
Same Developer API page 
yes
Service number
Your MyOperator display number, 10 digits without +91
  yes
IVR ID 
Call → Outgoing → Campaign (Peer-to-Peer campaign)
yes

Universal Telephony Connector

LeadSquared Marketplace

install this first

Click2Call enabled

MyOperator → calls → outgoing

Yes

Agent e-mail address

MyOperator → Manage → Users

must match with LeadSquared “User E-mail”

Phone number

MyOperator → Manage →Users

must match with LeadSquared “Agent Phone Number”

Note* Dial method should be serial-wise or Balanced. We don't support Simultaneous call distribution.


2. CRM field-mapping details

MyOperator field

LeadSquared activity field

caller_number

Phone

agent_email

Owner Email

call_duration

Duration (sec)

recording_url

Custom field “Recording”

direction

Call Type


3. How the integration works

Incoming-call sequence

  1. A pop-up appears on the agent’s screen.
  2. If no lead exists for the caller, a new lead is created automatically.
  3. The call activity is created under the lead.
  4. Routing needs the optional Input Node webhook (5.6). If the caller already has a mapped lead owner, the call goes straight to that owner. Otherwise the caller hears the normal IVR flow from the beginning.

Outgoing-call sequence (Click2Call)

A pop-up appears on the agent’s screen, and the activity is created under the lead.

Click-to-Call
  1. The agent clicks the call button in LeadSquared.
  2. The call first routes to the agent’s registered mobile number. When the agent answers, MyOperator connects the customer.
  3. A pop-up shows in LeadSquared and the call activity is logged against the lead.


4. Step-by-step setup

4.1 Install and configure UTC (do this first). Without UTC the integration cannot work, so finish this before opening the integration form.

  • In LeadSquared, open Apps (top right) → Apps Marketplace.
  • Search for Universal Telephony Connector and install it if it isn’t installed.
  • Click Configure, then hover over the settings icon and click Configure.
  • Click Add New Connector, choose the Connector Type “LeadSquared Generic Telephony Connector”, name it and click Add.
  • Virtual number: add your MyOperator display number as +91-XXXXXXXXXX. It must be the same as the display number configured in MyOperator.

4.2 Open the integration page. MyOperator Panel → APIs & Webhooks → Integrations → select LeadSquared CRM (https://in.app.myoperator.com/integrations/all-integrations).

4.3 Enter the details

  • Company ID, Token, Secret Key: go to APIs & Webhooks → Integrations → Developer API and click Manage under Calling API. Copy the Company ID, the Authentication value (this is the MyOperator Token) and the Secret Key.
  • Service Number: your MyOperator display number, 10 digits only, without +91. Check the exact number the integration expects before submitting. Don’t assume an outgoing DID or display number works unless the integration supports it.
  • IVR ID: go to Call → Outgoing → Campaign and copy the Campaign ID (IVR ID) of the Peer-to-Peer campaign. It must belong to a Peer-to-Peer campaign. If none exists, create one first.

4.4 Call Log API URL. In LeadSquared, go to Apps → Apps Marketplace → Universal Telephony Connector → Configure. Under API Details, copy the Call Log API URL and check which type it is.

  • No x-api-key in the URL: paste it as it is into the Call Log API field on the MyOperator integration page and click Integrate.
  • URL contains ?xapikey=xxxxxxxx:
    1. Go to LeadSquared → Settings → API & Webhooks → Async API and copy the Async API Key.
    2. Replace the value after ?xapikey= in the URL, for example https://domain/api/telephony/logcall?xapikey=1234567.
    3. Enable Async API in LeadSquared.
    4. Paste the URL into the Call Log API field and click Integrate.

4.5 Configure Webhook V2. Wait for the success page, then:

4.6 Lead owner mapping with the Input Node (optional). This routes repeat callers straight to their lead owner.

  • In MyOperator, go to Call → Design Call Flow, create or edit a flow and choose Advanced Call Flow.
  • Add a Time-Based Call Flow node and set the Welcome Message.
  • Add an Input Node, open its configuration and click Edit.
  • Under Webhook Configuration click Add New. Set Webhook Type to Incall (Input & Response Node) and URL to https://connect.myoperator.com/api/1.1/wf/ls_input_node, then click Save.
  • Select the saved webhook URL from the dropdown, finish the rest of the IVR flow, then save and publish.
  • Logic: if the caller is mapped to a lead owner, the call goes to that owner. If not, the caller follows the normal IVR flow.

4.7 Configure Click-to-Call in LeadSquared. Go to Apps → Apps Marketplace → Universal Telephony Connector → Configure → Click 2 Call.

{
"entity":"@entityId",
"caller":"@leadPhone",
"agent":"@AgentNumberWithoutCC",
"service_number":"@VirtualNumberWithoutCC"
}
  • Save the configuration.


5. Final go-live checklist

☑ Webhook V2 and Click-to-Call enabled.

☑ Webhook V2 returns HTTP 200 OK in Logs → Webhook Deliveries

☑ Click2Call test rings agent + logs call

☑ LeadSquared pop-ups show for inbound and outbound calls.

☑ Recording URL visible in activity note


6. Expected outcomes & SLA

• Users are synchronized automatically; no manual user sync is required.

• Phone displays in Settings → Users → Agent Phone Number.

• Click-to-Call button active; calls log under the correct owner.


7. Edge cases & limitations

Issue

Behaviour

Fix

Duplicate activities

Two After-Call hooks enabled

Disable the extra hook

Popup blocked

No inbound pop-up

Allow pop-ups for *.leadsquared.com

Agent not matched

Activity owner “Unknown”

Make sure the agent's mobile number is in the Agent Phone Numbers field in LeadSquared and is the same as in MyOperator. Numbers entered only in the Phone, Mobile or Telephone fields may not work for Click-to-Call and routing.

8. Troubleshooting & escalation

Problem → Quick fix

• Click2Call silent → Token expired → regenerate API Token.

Check that UTC is installed and configured, the Click-to-Call settings are correct, the agent’s mobile number is in the Agent Phone Numbers field, and the MyOperator service number is set in the UTC connector.

• Activities missing → Confirm Webhook V2 uses https://connect.myoperator.com/api/1.1/wf/ls_call_v2 with the events Call Summary and Call Responded. Check webhook 4xx errors & resend test payload.

• No recording URL → Recording disabled → enable in Number settings.

  • Calls not routing to the assigned lead owner → Check that the Input Node feature is enabled, the Input Node webhook is configured correctly, and the lead owner mapping exists in both LeadSquared and the MyOperator user list.
  • Manual user sync needed? → No. Users sync automatically.

Still blocked? Email support@myoperator.com with Company-ID, call SID, and timestamp (SLA 4h).


Keywords - LeadSquared integration steps, MyOperator Click2Call, Universal Telephony Connector, webhook URLs, call activity logging