Create List
Create a new list in Affinity to organize contacts or deals.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_LIST])
Add To List
Add a contact or deal to an existing list in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_TO_LIST])
Remove From List
Remove a contact or deal from a specified list in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_FROM_LIST])
Create Opportunity
Create a new opportunity (deal) in Affinity with details like value and stage.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_OPPORTUNITY])
Update Opportunity
Modify an existing opportunity in Affinity, such as changing its stage or value.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_OPPORTUNITY])
Add Note
Add a note to a contact, company, or opportunity in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_NOTE])
Schedule Task
Create a new task in Affinity with a due date and assignee.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULE_TASK])
Complete Task
Mark a task as completed in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COMPLETE_TASK])
Create Organization
Add a new organization (company) to Affinity with specified details.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_ORGANIZATION])
Update Organization
Modify existing organization information in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_ORGANIZATION])
New List Created
Triggered when a new list is created in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_LIST_CREATED])
Item Added To List
Triggered when a contact or deal is added to a list in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ITEM_ADDED_TO_LIST])
Item Removed From List
Triggered when a contact or deal is removed from a list in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ITEM_REMOVED_FROM_LIST])
New Opportunity Created
Triggered when a new opportunity (deal) is created in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_OPPORTUNITY_CREATED])
Opportunity Updated
Triggered when an existing opportunity is modified in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OPPORTUNITY_UPDATED])
Note Added
Triggered when a new note is added to a contact, company, or opportunity in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NOTE_ADDED])
Task Created
Triggered when a new task is created in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TASK_CREATED])
Task Completed
Triggered when a task is marked as completed in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TASK_COMPLETED])
New Organization Created
Triggered when a new organization (company) is added to Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_ORGANIZATION_CREATED])
Organization Updated
Triggered when an existing organization's information is modified in Affinity.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ORGANIZATION_UPDATED])