LIST ALL ATTRIBUTES
This GET endpoint at '/contacts/attributes' lists all available contact
attributes in your account. It responds with attribute details including
name, category (normal, transactional, etc.), t
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_LIST_ALL_ATTRIBUTES])
DELETE AN ATTRIBUTE
Delete a specific attribute from a contact by specifying its category and
name. Categories include normal, transactional, etc. Successful deletion
returns a 204 status. Errors return relevant
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_AN_ATTRIBUTE])
GET ALL FOLDERS
This API endpoint fetches contact folders with pagination and optional sorting.
It supports page size, index, and sorting direction, defaulting values if
unspecified. It returns folder ID, nam
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_ALL_FOLDERS])
CREATE A FOLDER
Endpoint "/contacts/folders" allows creating a contact folder. Send a POST
request with the folder's name in JSON format. On success, returns a 201
status with the created folder's ID. Possibl
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_A_FOLDER])
RETURNS A FOLDER S DETAILS
This endpoint fetches details of a specific contacts folder including ID,
name, and subscriber counts based on the provided `folderGB` input. It returns
folder details or errors for bad reques
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_RETURNS_A_FOLDER_S_DETAILS])
UPDATE A FOLDER
The PUT endpoint `/contacts/folders/{folderId}` updates a contact folder's
name using its ID and a JSON payload. It returns 204 on success, 400 for
bad requests, and 404 if the ID is not found
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_A_FOLDER])