When working with Real-Time lead sources either directly from your internal websites and landing pages or purchased from a 3rd party lead vendor it is super easy to post them into the CallTools system and call them efficiently and effectively based on your requirements.
This guide is meant to show you how to set up this posting properly, and what to share with your vendors to get you the data you need into CallTools in the right format required.
API References
https://developers.calltools.com/
https://app.swaggerhub.com/apis-docs/CallTools/call-tools_rest_api/v2.1.1
You can also email integrations@calltools.com at any time for help with your integration request.
Prerequisites and Setup
API Key Management
You may choose to use a single API Key for all posting to the system and simply change some of the variables for each vendor, or you may want a unique API Key on a per-vendor basis for more granular control of who can post to your system and the ability to shut off an API Key as needed. For this example, we will create a single API key with the proper permissions, but you can choose to replicate this process on a per-vendor level if you would like.
Create Vendor User Role
We will want to create a role with permissions only necessary for vendors to access what they need to post data to your CallTools Platform.
- Click Account
- Click Roles
- Click Create Role
- Name the Role - Vendor API
- Select the Following Permissions
- Contact Tag Write
- Contacts Write Create
- Contacts Write Update
Create Manager User
To generate an API Key it must be tied to a manager user. This is because the API will inherit the permissions from this user based on the role in the previous step which controls which data can be accessed from the system.
- Click Account
- Click Users
- Click Create User
- Click Add Single User
- Complete The Following Fields
- First Name
- Last Name
- Username
- Password
- Is Manager = True
- Role - The role you created in the previous step in this case we labeled as "Vendor API"
Create API Key
In this step, we will create the API Key that will be used to access the CallTools Platform
- Click Integrations
- Click API Keys
- Click the Blue "Create API Keys" button in the top right of the screen
- Name The API Key - In this case, we will name it "Vendor API"
- Select the User as the Manager User we created in the previous step
- Click the Blue "Save" button
Create Tag (Optional but Recommended)
We recommend creating a unique tag in CallTools for any real-time lead posting source so you can easily track and report against it using our "Tag Performance Report" and other reports in the platform.
- Click Data
- Click Tags
- Click the blue "Create New Tag" button in the top right of the screen
- Name the Tag and click the blue "Save" button
Take Note of the Tag ID Number as we will reference this later.
Real-time Lead Handling Metod
Once all of this has been created you must decide if you are looking to work these leads via a HOT LEAD BUCKET or USER DISTRIBUTION QUEUE. Please review below which makes the most sense for your company and create either the bucket or user distribution queue so we can reference the id in our posting instructions.
HOT LEAD BUCKET
Using this method you would apply a Hot Lead Bucket to your active outbound dialing Campaign(s). As soon as the lead hits the system and enters that bucket it jumps to the top of the campaign and live filters as the next lead to dial. This happens within seconds of the lead hitting the system so long as the hot lead bucket is not full with other leads.
For Posting this Method requires a Bucket to be created
- Click Data
- Click Buckets
- Click the blue button int the top right of the Screen "Create Bucket"
- Name the Bucket
- Optional: Enable "Filter for State Calling Hours & Holidays"
- Click the Blue Save Button
NOTE: You may only need 1 Hot Lead Bucket you will post all of your real-time leads to so you may not need to create one if you have one already.
Keep track of your "Bucket ID" for use in your posting instructions
USER DISTRIBUTION QUEUE
This method will allow you to determine a list of agents that you want to be eligible to receive the freshly posted lead. This then presents a banner on those agent's screens and the first to click the button to claim it gets the lead and then can do a manual dial to it.
For Posting this Method requires a User Distribution Que to be created
-----------
NOTE: If you do not see this option you may need to enable this feature by doing the following.
- Click Account
- Click Features
- Scroll to the bottom right "Data Section"
- Check the box next to "User Distribution Queues"
- Click the blue "Save" button in the bottom right of the screen
----------
- Click Data
- Click User Distribution Queues
- Click the blue "Create New" button in the top right of the screen
- Name the Queue and set all parameters (Learn More About User Distribution Queues Here)
- Click the blue "Save" button at the bottom of the screen
Keep track of your "User Queue ID" for use in your posting instructions
Posting Instructions
Now that we have set up everything we will need to reference to send the data to the proper places we can prepare our posting instructions. These can vary based on the custom fields and data types you have available.
-----------------------------------------------
Posting URL
https://east-1.calltools.io/api/contacts/
NOTE: This URL will vary based on the login page that you use to access the CallTools System. Please replace "east-1" to match the URL you use the access the CallTools System.
Header
Key
Authorization
Value
Token bbc723b49b884743479d4719075fa14kj521d73a4
(The word "Token" and a " "space should be in the value along with the API Key)
Body
buckets = THIS WILL BE THE ID FROM ABOVE IF USING BUCKETS
tags = THIS WILL BE THE ID FROM ABOVE
user_queue = THIS WILL BE THE ID FROM ABOVE IF USING USER DISTRIBUTION QUEUES
(These Values are Static and should be posted on every lead)
Key
first_name
last_name
address
city
state
zip_code
home_phone_number
email
-----------------------------------------------
The field mapping values can be found by visiting the following.
- Click Data
- Click Contact Fields
- Under the "Name" column for the field, it will be the label you need for the API.
Comments
0 comments
Article is closed for comments.