GET PIPELINE STAGES
This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_PIPELINE_STAGES])
GET A PIPELINE
Access deal pipeline details by ID. Fetch the name, ID, and stages of a
specific pipeline to manage deals effectively. Returns data in JSON format.
Error codes included for invalid requests.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_A_PIPELINE])
GET ALL PIPELINES
This endpoint (`/crm/pipeline/details/all`) retrieves all pipeline details,
including names, IDs, and stages. It returns an array of pipeline objects
on success or error codes for invalid requ
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_ALL_PIPELINES])
GET DEAL ATTRIBUTES
This endpoint (`/crm/attributes/deals`) fetches deal attributes, returning
an array of attribute details including internal name, label, type, options,
and if required.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_DEAL_ATTRIBUTES])
GET ALL DEALS
The `GET /crm/deals` endpoint fetches a list of deals with optional filters
(name, company, contact IDs), supporting pagination (`offset`, `limit`)
and sort order, returning deal details and l
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_ALL_DEALS])
CREATE A DEAL
Endpoint '/crm/deals' allows for deal creation with required name & optional
attributes like owner, amount, pipeline, & stage. Supports JSON requests
& returns the created deal ID with 201 or
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_A_DEAL])
GET A DEAL
This GET endpoint fetches details for a deal using its ID, including attributes
and linked contacts/companies. It requires an 'id' parameter and returns
status codes 200, 400 for invalid IDs,
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_A_DEAL])
DELETE A DEAL
This endpoint allows for the deletion of a specified deal by its ID. Upon
successful deletion, a 204 status is returned. Errors are detailed with
specific codes and messages for issues like in
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_A_DEAL])
UPDATE A DEAL
This endpoint updates a deal's details using its ID, requiring a path 'id'
parameter and a JSON body with the information. Success returns a 204 code;
errors have specific codes/messages for i
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_A_DEAL])