Leadsquared

Leadsquared CRM is a marketing automation and sales execution platform that helps businesses increase closing rates and easily manage their pipelines. Integrating with Smartflo helps with call-related activities inside CRM that increase your business’s productivity and lead scoring.

Instructions

Follow the steps below to integrate Smartflo with Leadsquared.

  1. Login to your Smartflo account.

  1. Click on Integrations under the Services tab.

  1. Move over to the Leadsquared integration and click on Enable.

  1. Log into your LeadSquared account.

  1. Click Apps > Apps Marketplace

  1. Verify it contains the LeadSquared Universal Telephony Connector; if not, then install it.

  1. Configure the settings by clicking the configure icon.

  1. The below configuration page appears. Now, add Virtual Number in the format +91-XXXXXXXXXX and give a name to it.

  1. Next, enable the Agent popup API and click Save button.

  1. Under Click 2 Call, ensure the fields have the following details:

FieldValue
URLhttps://api-cloudphone.tatateleservices.com/v1/click_to_call/{Auth_Token}
HTTP MethodPOST
Response KeywordOK, Success
Request TypeJSON
Data Template{"destination_number":"@customerNumber","agent_number":"@agentNumber","caller_id":"@virtualNumber"}
Response TypeJSON

Use the following details for Custom Header:

FieldValue
NameAuthorization
ValueBearer:Auth_Token

Follow the steps below to generate Auth_Token

a. Login to your Smartflo account.

b. Click on Account API under the Services tab.

c. Click on Generate Token.

d. Give a token name and click on Save.

e. Click on Copy Token to copy the value.

  1. Now, click on Manage Users.

  1. Edit the user by clicking on the cog icon present next to it.

  1. Ensure the Show Phone Call Popup under Other Details is stated as Yes. If not, then you can change the settings by clicking Edit.

  1. Go to User Settings.

  1. Click on API and Webhooks.

  1. The API and Webhooks page display the "Access Key" and "Secret Key".

The above highlighted API host URL, access key and secret key will be used while configuring the webhooks. The secret key is supposed to be confidential and should not be shared with anyone.

  1. Login to your Smartflo account.

  1. Click on Webhook under Services

  1. Create four webhooks by clicking Add Webhook.
  • Agent Pop up to get screen prompt when a prospect/lead call you.
  • Call Log API LS(Incoming-Answered) to manage logs for incoming answered calls.
  • Call Log API LS(Incoming-Missed) to manage logs for incoming missed calls.
  • Call Log API LS (Outgoing) to manage logs of outgoing calls.

  1. Create the First Webhook by entering the below mentioned details.

FieldValue
NameAgent Pop up LS
DescriptionAgent Pop up LS
TriggerDialed on Agent
URLhttp://{host}/v2/Telephony.svc/ShowAgentPopup?accessKey={AccessKey}&secretKey={SecretKey}

Note: Host refers to the API host URL, AccessKey is your unique access key and SecretKey is your unique secret key
RequestPOST
Call TypeInbound
Content Typeapplication/json
My NumbersChoose the virtual number from the list
Time zoneChoose the time zone

Enter the below code in Response Body:

{
"SourceNumber": "$caller_id_number",
"DestinationNumber": "$agent_number",
"DisplayNumber": "$caller_id_number",
"Direction": "inbound"
}

Click Save button once all the details have been added.

  1. Create the Second Webhook by entering the below mentioned details Call Log API:

FieldValue
NameCall Log API LS Incoming Answered
DescriptionCall Log API LS Incoming Answered
TriggerCall answered by Agent (Hangup)
URLhttp://{host}/v2/Telephony.svc/ShowAgentPopup?accessKey={AccessKey}&secretKey={SecretKey}

Note: Host refers to the API host URL, AccessKey is your unique access key and SecretKey is your unique secret key
RequestPOST
Call TypeInbound
Content Typeapplication/json
My NumbersChoose the virtual number from the list
Time zoneChoose the time zone

Enter the below code in Response Body:

{
  "SourceNumber": "$caller_id_number",
  "DestinationNumber": "$answered_agent_number",
  "DisplayNumber": "$call_to_number",
  "StartTime": "$start_stamp",
  "EndTime": "$end_stamp",
  "CallDuration": "$duration",
  "Status": "$call_status",
  "CallNotes": "Enquired about product",
  "ResourceURL": "$recording_url",
  "Direction": "Inbound",
  "CallSessionId": "$call_id"
}

Click Save button once all the details have been added.

  1. Create the Third Webhook by entering the below mentioned details Call Log API:

FieldValue
NameCall Log API LS Incoming Missed
DescriptionCall Log API LS Incoming Missed
TriggerCall answered by Agent (Hangup)
URLhttp://{host}/v2/Telephony.svc/ShowAgentPopup?accessKey={AccessKey}&secretKey={SecretKey}

Note: Host refers to the API host URL, AccessKey is your unique access key and SecretKey is your unique secret key
RequestPOST
Call TypeInbound
Content Typeapplication/json
My NumbersChoose the virtual number from the list
Time zoneChoose the time zone

Enter the below code in Response Body:

{
  "SourceNumber": "$caller_id_number",
  "DestinationNumber": "$first_missed_agent_follow_me_number",
  "DisplayNumber": "$call_to_number",
  "StartTime": "$start_stamp",
  "EndTime": "$end_stamp",
  "CallDuration": "$duration",
  "Status": "$call_status",
  "CallNotes": "Enquired about product",
  "ResourceURL": "$recording_url",
  "Direction": "Inbound",
  "CallSessionId": "$call_id"
}

Click Save button once all the details have been added.

  1. Create the Fourth webhook by entering the below mentioned details Call Log API:

FieldValue
NameCall Log API LS Outgoing
DescriptionCall Log API LS Outgoing
TriggerCall hangup (Missed or Answered)
URLhttp://{host}/v2/Telephony.svc/ShowAgentPopup?accessKey={AccessKey}&secretKey={SecretKey}

Note: Host refers to the API host URL, AccessKey is your unique access key and SecretKey is your unique secret key
RequestPOST
Call TypeInbound
Content Typeapplication/json
My NumbersChoose the virtual number from the list
Time zoneChoose the time zone

Enter the below code in Response Body:

{
    "SourceNumber": "$answered_agent_number",
    "DestinationNumber": "$call_to_number",
    "DisplayNumber": "$caller_id_number",
    "StartTime": "$start_stamp",
    "EndTime": "$end_stamp",
    "CallDuration": "$duration",
    "Status": "$call_status",
    "CallNotes": "Enquired about product",
    "ResourceURL": "$recording_url",
    "Direction": "$direction",
    "CallSessionId": "$call_id",
    "AgentName": "$answered_agent_name"
}

Click Save button once all the details have been added.

📙 Leadsquared integration provides the below-listed functionalities of Smartflo

  • Click To Call (Outbound Calls)
  • Agent Extension
  • Call Notes or Call Description
  • Call Detail Records

Follow the steps below to start using Leadsquared on Smartflo.

  1. Log In to the app.

  1. To use the Click to Call functionality, click on the number to which you want to make a call.

You’ll see the following pop-up.

Click on Call to make a call.

You’ll see the following message once the call has been made successfully.

  1. To view the Call Detail Records, click on Activity History.

The CDR gives the following details.

How to Use The Integration:

Leadsquared integration provides the below-listed functionalities of Smartflo.

  • Click To Call (Outbound Calls)
  • Agent Extension
  • Call Notes or Call Description
  • Call Detail Records

Follow the steps below to start using Leadsquared on Smartflo.

  1. Log In to the app.

  1. To use the Click to Call functionality, click on the number to which you want to make a call.

You’ll see the following pop-up.

Click on Call to make a call.

You’ll see the following message once the call has been made successfully.

  1. To view the Call Detail Records, click on Activity History.

The CDR gives the following details.