SEARCH LEADS
The `/v1/api/leads/list` POST endpoint searches for leads in the 'Lead Management'
system, accepts a 'LeadSearchRequest' JSON, and returns matching leads or
error codes (200, 400/500) with bea
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_SEARCH_LEADS])
SEARCH LEADS COUNT
POST /v1/api/leads/pipeline-count: Retrieve the count of leads based on
search criteria. Requires a JSON request body with lead search parameters
and returns a leads count response. Errors ret
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_SEARCH_LEADS_COUNT])
GET THE OPPORTUNITIES FOR A LEAD
Retrieve a lead's potential deals with a GET request to /v1/api/leads/{leadId}/opportunities.
Requires 'leadId' parameter. Responses include an opportunity list, invalid
parameter error, or se
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_GET_THE_OPPORTUNITIES_FOR_A_LEAD])
UPDATE A LEAD OPPORTUNITY
Update an existing lead's opportunity by specifying the leadId. Requires
a JSON request body with details for the opportunity. Responses cover confirmation,
client errors, and server errors. A
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_UPDATE_A_LEAD_OPPORTUNITY])
CREATE A LEAD OPPORTUNITY
Create an opportunity for a specific lead by POSTing to `/v1/api/leads/{leadId}/opportunities`.
Requires leadId in the path and opportunity data in the request body. Responses
include success
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_CREATE_A_LEAD_OPPORTUNITY])
GET LEAD FILES
This POST endpoint retrieves lead files. Users must submit a JSON request
body with lead search parameters. Successful responses return an array of
files; failures give error details. Authenti
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_GET_LEAD_FILES])
DELETE A LEAD FILE
Delete a specific file associated with a lead by providing their respective
IDs. A successful deletion returns a confirmation, while errors yield detailed
messages. Authentication required.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_DELETE_A_LEAD_FILE])
UPDATE A LEAD FILE NAME
PUT /v1/api/leads/{leadId}/rename: Renames a lead file. Requires leadId
and a JSON payload with the new name. Returns success or error messages.
Auth via bearer token.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_UPDATE_A_LEAD_FILE_NAME])
DELETE A LEAD OPPORTUNITY
Delete a lead's opportunity by specifying `leadId` and `opportunityId`.
Success returns a confirmation, while failure results in error messages
for invalid parameters or server errors.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_DELETE_A_LEAD_OPPORTUNITY])
GET LEAD QUOTES
Retrieve quotes for a specific lead by ID. Supports secure requests and
returns a list of quotes or error messages for invalid requests and internal
errors.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_GET_LEAD_QUOTES])
UPDATE A LEAD QUOTE
Update a lead's quote by submitting new details using the PUT method at
'/v1/api/leads/{leadId}/quotes'. Requires leadId and accepts JSON payload.
Responses include success, invalid request, a
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_UPDATE_A_LEAD_QUOTE])
CREATE A LEAD QUOTE
Create a new quote for a specific lead by POSTing data. Requires lead ID
in the path and supports responses for success (200), invalid parameters
(400), and server errors (500).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_CREATE_A_LEAD_QUOTE])
DELETE A LEAD QUOTE
Delete a specific quote associated with a lead by providing unique lead
and quote IDs. Success returns a confirmation, while invalid requests or
server errors provide detailed feedback.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_DELETE_A_LEAD_QUOTE])
UPDATE BUSINESS LEAD
Update business lead
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_UPDATE_BUSINESS_LEAD])
CREATE BIZ LEAD
Create a business lead
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_CREATE_BIZ_LEAD])
GET THE LEAD DETAILS
Fetch information for a specific lead by ID in the Lead Management system.
Requires an integer leadId and can respond with lead details on success
or error messages on invalid parameters or in
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_GET_THE_LEAD_DETAILS])
UPDATE LEAD
Update a personal lead
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_UPDATE_LEAD])
GET LEAD TASKS
Retrieve a list of tasks associated with a specific lead by providing the
lead's ID. The response includes an array of tasks for a valid request or
error messages for invalid parameters or ser
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_GET_LEAD_TASKS])
GET LEAD NOTES
Retrieve notes associated with a specific lead by ID. Supports filtering
through path parameters, with potential errors including invalid parameters
(400) or server issues (500).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_GET_LEAD_NOTES])
CREATE A LEAD NOTE
Create a note for a specific lead by POST to '/v1/api/leads/{leadId}/notes'.
Include the note content in JSON format. Requires a valid 'leadId' and authorization.
Responses indicate success, i
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_CREATE_A_LEAD_NOTE])
CHANGE STATUS FOR LEAD
Endpoint to update lead's status by leadId. Requires leadId in path and
JSON body for new status. Responses include success, invalid parameter,
and internal error messages. Authenticated via b
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_CHANGE_STATUS_FOR_LEAD])
UPDATE LEAD STATUS BY ID
Endpoint updates a lead's status by ID. Accepts JSON payload for status
change, returns 200 on success or error codes 400/500 for issues. Secure
via bearer token.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_UPDATE_LEAD_STATUS_BY_ID])
MOVE LEAD TO SOLD
POST /v1/api/leads/{leadId}/sold: Endpoint to mark a lead as sold by providing
the lead ID. Requires authentication and returns a confirmation message
or error response.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_MOVE_LEAD_TO_SOLD])
CREATE LEAD
Create a personal lead
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_CREATE_LEAD])
BATCH CREATE LEAD
Batch create a personal lead. Please note, maximum 5 leads can be created
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AGENCYZOOM_BATCH_CREATE_LEAD])