Callingly

Learn how to use Callingly with Composio

Overview

SLUG: CALLINGLY

Description

Callingly is a lead response management software that automates immediate call and text follow-ups to new leads, integrating seamlessly with various CRMs and lead sources to enhance sales team responsiveness and conversion rates.

Authentication Details

generic_api_key
stringRequired

Connecting to Callingly

Create an auth config

Use the dashboard to create an auth config for the Callingly toolkit. This allows you to connect multiple Callingly accounts to Composio for agents to use.

1

Select App

Navigate to the Callingly toolkit page and click “Setup Integration”.

2

Configure Auth Config Settings

Select among the supported auth schemes of and configure them here.

3

Create and Get auth config ID

Click “Create Integration”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database. This ID will be used to create connections to the toolkit for a given user.

Connect Your Account

Using API Key

1from composio import Composio
2from composio.types import auth_scheme
3
4# Replace these with your actual values
5callingly_auth_config_id = "ac_YOUR_CALLINGLY_CONFIG_ID" # Auth config ID created above
6user_id = "0000-0000-0000" # UUID from database/app
7
8composio = Composio()
9
10def authenticate_toolkit(user_id: str, auth_config_id: str):
11 # Replace this with a method to retrieve an API key from the user.
12 # Or supply your own.
13 user_api_key = input("[!] Enter API key")
14
15 connection_request = composio.connected_accounts.initiate(
16 user_id=user_id,
17 auth_config_id=auth_config_id,
18 config={"auth_scheme": "API_KEY", "val": user_api_key}
19 )
20
21 # API Key authentication is immediate - no redirect needed
22 print(f"Successfully connected Callingly for user {user_id}")
23 print(f"Connection status: {connection_request.status}")
24
25 return connection_request.id
26
27
28connection_id = authenticate_toolkit(user_id, callingly_auth_config_id)
29
30# You can verify the connection using:
31connected_account = composio.connected_accounts.get(connection_id)
32print(f"Connected account: {connected_account}")

Tools

Executing tools

Python
1from composio import Composio
2from openai import OpenAI
3import json
4
5openai = OpenAI()
6composio = Composio()
7
8# User ID must be a valid UUID format
9user_id = "0000-0000-0000" # Replace with actual user UUID from your database
10
11tools = composio.tools.get(user_id=user_id, toolkits=["CALLINGLY"])
12
13print("[!] Tools:")
14print(json.dumps(tools))
15
16def invoke_llm(task = "What can you do?"):
17 completion = openai.chat.completions.create(
18 model="gpt-4o",
19 messages=[
20 {
21 "role": "user",
22 "content": task, # Your task here!
23 },
24 ],
25 tools=tools,
26 )
27
28 # Handle Result from tool call
29 result = composio.provider.handle_tool_calls(user_id=user_id, response=completion)
30 print(f"[!] Completion: {completion}")
31 print(f"[!] Tool call result: {result}")
32
33invoke_llm()

Tool List

Tool Name: Activate/Deactivate Client Account

Description

Tool to activate or deactivate a client account. use when you need to toggle client access after onboarding or offboarding. example: "activate client 123" or "deactivate client 456".

Action Parameters

client_id
integerRequired
is_active
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Agent

Description

Tool to create a new agent. use when you need to register an agent in callingly after gathering their account id and contact details.

Action Parameters

account_id
integerRequired
email
stringRequired
ext
string
fname
stringRequired
lname
stringRequired
phone_number
stringRequired
timezone
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Outbound Call

Description

Tool to create a new outbound call record. use after gathering call and lead details.

Action Parameters

account_id
integerRequired
category
string
company
string
crm_id
integer
email
stringRequired
first_name
stringRequired
last_name
stringRequired
phone_number
stringRequired
source
string
team_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Client

Description

Tool to create a new client. use when adding a new client to your callingly account.

Action Parameters

company
stringRequired
email
Required
fname
stringRequired
lname
stringRequired
password
stringRequired
phone_number
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Team

Description

Tool to create a new team. use when setting up a team configuration before adding agents.

Action Parameters

account_id
integerRequired
call_mode
string
delay
integer
is_record
integer
is_reschedule
integer
is_retry
integer
is_retry_lead
integer
language
string
lead_retries
integer
lead_retry_schedule
array
name
stringRequired
retries
integer
retry_schedule
array
whispertext
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Webhook

Description

Tool to create a new webhook for call or lead events. use when you need to receive real-time notifications on specific events. example: "create a webhook for call completed events to http://example.com/callback".

Action Parameters

call_direction
string
call_lead_status
string
call_status
string
event
stringRequired
field
string
filter
string
name
stringRequired
number_id
integer
target_url
stringRequired
team_id
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete Agent

Description

Tool to delete an agent. use when permanently removing an agent after confirming the agent id.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete Client

Description

Tool to delete a client. use when you need to remove an existing client from your account after confirming its id.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete Webhook

Description

Tool to delete a webhook. use when permanently removing a webhook by its id.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Agent Schedule

Description

Tool to retrieve the availability schedule for a specific agent. use when you need to know which days and times the agent is available.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Call

Description

Tool to retrieve details of a specific call by its id. use when you need detailed metadata of a call record after confirming call id.

Action Parameters

call_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Lead

Description

Tool to retrieve details of a specific lead by its id. use when you need full lead details before follow-up actions.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Team

Description

Tool to retrieve details of a specific team. use after obtaining the team id to fetch its configuration details.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Webhook

Description

Tool to retrieve details of a specific webhook by its id. use when you need to inspect a webhook's configuration before modifying or deleting it.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List Calls

Description

Tool to list calls. use when you need to retrieve multiple call records with optional filters such as date range, team, and pagination after identifying the need for a collection of calls.

Action Parameters

end
string
limit
integer
page
integer
start
string
team_id
integer

Action Response

data
arrayRequired
error
string
successful
booleanRequired

Tool Name: List Clients

Description

Tool to list clients. use when you need to retrieve all clients associated with your account.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List Leads

Description

Tool to list leads based on provided filters like date range or phone number. use after confirming filter criteria when bulk lead retrieval is needed.

Action Parameters

account_id
integer
end
string
phone_number
string
start
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List Teams

Description

Tool to list teams. use when you need to retrieve all teams associated with your account.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List Team Users

Description

Tool to retrieve a list of agents associated with a specific team. use when you need to inspect the team's users before further agent management tasks.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List Users

Description

Tool to retrieve a list of agents. use when you need to see all agents available under the authenticated account, optionally filtering by a specific client account.

Action Parameters

account_id
integer

Action Response

data
arrayRequired
error
string
successful
booleanRequired

Tool Name: List Webhooks

Description

Tool to list configured webhooks. use when you need to retrieve all webhooks configured in your account to review or manage them.

Action Parameters

account_id
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Remove Team Agent

Description

Tool to remove a specific agent from a team. use when you need to disassociate an agent from a team after confirming both team and agent ids.

Action Parameters

agent_id
integerRequired
team_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update Agent

Description

Tool to update an existing agent's details. use when you need to modify agent information post-creation.

Action Parameters

account_id
integer
donotdisturb
integer
donotdisturb_until
string
ext
string
fname
string
id
integerRequired
lname
string
phone_number
string
timezone
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update Agent Schedule

Description

Tool to update an agent's availability schedule. use when you need to set or override an agent's daily availability times.

Action Parameters

id
integerRequired
schedule
arrayRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update Team Agent Settings

Description

Tool to update settings (priority, capacity) for a specific team agent. use when adjusting an agent's priority or call capacity after team configuration.

Action Parameters

agent_id
integerRequired
cap
integerRequired
priority
integerRequired
team_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update Team Users

Description

Tool to update the list of agents assigned to a team. use when reassigning team members before call dispatch.

Action Parameters

agents
arrayRequired
id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update Webhook

Description

Tool to update an existing webhook's configuration. use when you need to change settings like target url or filters after confirming webhook id.

Action Parameters

call_direction
string
call_lead_status
string
call_status
string
event
string
field
string
filter
string
id
integerRequired
name
string
number_id
integer
target_url
string
team_id
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired