Create Message
Compose and send a new message in a specified channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_MESSAGE])
Update Message
Edit an existing message in a channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_MESSAGE])
Delete Message
Remove a specific message from a channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_MESSAGE])
Create Channel
Create a new channel in the workspace.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHANNEL])
Archive Channel
Archive an existing channel in the workspace.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ARCHIVE_CHANNEL])
Invite User To Channel
Add a user to a specific channel in the workspace.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INVITE_USER_CHANNEL])
Remove User From Channel
Remove a user from a specific channel in the workspace.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_USER_CHANNEL])
Set Channel Topic
Update the topic of a specified channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_CHANNEL_TOPIC])
Set User Status
Update the status and status emoji for a user.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_USER_STATUS])
Upload File
Upload a file to a specified channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPLOAD_FILE])
Create Reminder
Set a reminder for a user at a specified time.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_REMINDER])
Create Poll
Create a new poll in a specified channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_POLL])
Pin Message
Pin a message to a channel for easy reference.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PIN_MESSAGE])
Unpin Message
Remove a pinned message from a channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNPIN_MESSAGE])
Add Reaction
Add an emoji reaction to a specific message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_REACTION])
New Message Posted
Triggered when a new message is posted in a channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_POSTED])
Message Updated
Triggered when an existing message is edited.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_UPDATED])
Message Deleted
Triggered when a message is deleted from a channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_DELETED])
Channel Created
Triggered when a new channel is created in the workspace.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANNEL_CREATED])
Channel Archived
Triggered when a channel is archived in the workspace.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANNEL_ARCHIVED])
User Joined Channel
Triggered when a user joins a channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_JOINED_CHANNEL])
User Left Channel
Triggered when a user leaves a channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_LEFT_CHANNEL])
Channel Topic Changed
Triggered when the topic of a channel is updated.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANNEL_TOPIC_CHANGED])
User Status Changed
Triggered when a user updates their status or status emoji.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_STATUS_CHANGED])
File Uploaded
Triggered when a file is uploaded to a channel or direct message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_UPLOADED])
Reminder Due
Triggered when a reminder is due for a user.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMINDER_DUE])
Poll Created
Triggered when a new poll is created in a channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POLL_CREATED])
Message Pinned
Triggered when a message is pinned to a channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_PINNED])
Message Unpinned
Triggered when a pinned message is removed from a channel.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_UNPINNED])
Reaction Added
Triggered when an emoji reaction is added to a message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REACTION_ADDED])