Use SlackBot with OpenAI Python

Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
🔗 Connect and Use SlackBot
1. 🔑 Connect your SlackBot account
2. ✅ Select an action
3. 🚀 Go live with the agent
What do you want to do?
Actions
admin.apps
- Approve an app installation in a workspace
admin.apps.approved
admin.apps.requests
admin.apps.restricted
admin.conversations
admin.conversations.ekm
admin.conversations.restrictAccess
admin.emoji
admin.inviteRequests
admin.inviteRequests.approved
admin.inviteRequests.denied
admin.teams.admins
admin.teams
admin.teams.owners
admin.teams.settings
admin.usergroups
admin.users
admin.users.session
api
apps.event.authorizations
apps.permissions
apps.permissions.resources
apps.permissions.scopes
apps.permissions.users
apps
auth
bots
calls
calls.participants
chat
chat.scheduledMessages
conversations
dialog
dnd
emoji
files.comments
files
files.remote
migration
oauth
oauth.v2
pins
reactions
reminders
rtm
search
stars
team
team.profile
usergroups
usergroups.users
users
users.profile
views
workflows
Main

API actions for SlackBot for AI assitants/agents

Language
JS
PYTHON
Framework

Stars

Remove A Star From An Item

Removes a star from an item.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_REMOVE_A_STAR_FROM_AN_ITEM])

Team

Get Current Team S Access Logs

Gets the access logs for the current team.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_GET_CURRENT_TEAM_S_ACCESS_LOGS])

Get Billable Team User Info

Gets billable users information for the current team.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_GET_BILLABLE_TEAM_USER_INFO])

Fetch Current Team Info With Optional Team Scope

Gets information about the current team.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_FETCH_CURRENT_TEAM_INFO_WITH_OPTIONAL_TEAM_SCOPE])

Get Current Team Integration Logs

Gets the integration logs for the current team.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_GET_CURRENT_TEAM_INTEGRATION_LOGS])

Team.profile

Retrieve Team Profile Details

Retrieve a team's profile.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_RETRIEVE_TEAM_PROFILE_DETAILS])

Usergroups

Create A Slack User Group

Create a User Group
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_CREATE_A_SLACK_USER_GROUP])

Disable An Existing Slack User Group

Disable an existing User Group
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_DISABLE_AN_EXISTING_SLACK_USER_GROUP])

Enable A Specified User Group

Enable a User Group
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_ENABLE_A_SPECIFIED_USER_GROUP])

List User Groups For Team With Options

List all User Groups for a team
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_LIST_USER_GROUPS_FOR_TEAM_WITH_OPTIONS])

Update An Existing Slack User Group

Update an existing User Group
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_UPDATE_AN_EXISTING_SLACK_USER_GROUP])

Usergroups.users

List All Users In A User Group

List all users in a User Group
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_LIST_ALL_USERS_IN_A_USER_GROUP])

Update User Group Members

Update the list of users for a User Group
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_UPDATE_USER_GROUP_MEMBERS])

Users

List Accessible Conversations For A User

List conversations the calling user may access.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_LIST_ACCESSIBLE_CONVERSATIONS_FOR_A_USER])

Delete User Profile Photo

Delete the user profile photo
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_DELETE_USER_PROFILE_PHOTO])

Get User Presence Info

Gets user presence information.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_GET_USER_PRESENCE_INFO])

Retrieve A User S Identity Details

Get a user's identity.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_RETRIEVE_A_USER_S_IDENTITY_DETAILS])

Retrieve Detailed User Information

Gets information about a user.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_RETRIEVE_DETAILED_USER_INFORMATION])

Users Info

Gets information about a user.<<DEPRECATED use retrieve_detailed_user_information>>
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_USERS_INFO])

List All Slack Team Users With Pagination

Lists all users in a Slack team.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_LIST_ALL_SLACK_TEAM_USERS_WITH_PAGINATION])

Users List

Lists all users in a Slack team.<<DEPRECATED use list_all_slack_team_users_with_pagination>>
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_USERS_LIST])

Find User By Email Address

Find a user with an email address.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_FIND_USER_BY_EMAIL_ADDRESS])

Users Lookup By Email

Find a user with an email address.<<DEPRECATED use find_user_by_email_address>>
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_USERS_LOOKUP_BY_EMAIL])

Mark A User As Active Deprecated

Marked a user as active. Deprecated and non-functional.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_MARK_A_USER_AS_ACTIVE_DEPRECATED])

Set User Profile Photo With Cropping Options

Set the user profile photo
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_SET_USER_PROFILE_PHOTO_WITH_CROPPING_OPTIONS])

Manually Set User Presence

Manually sets user presence.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_MANUALLY_SET_USER_PRESENCE])

Users.profile

Retrieve User Profile Information

Retrieves a user's profile information.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_RETRIEVE_USER_PROFILE_INFORMATION])

Users Profile Get Profile Info

Retrieves a user's profile information.<<DEPRECATED use retrieve_user_profile_information>>
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_USERS_PROFILE_GET_PROFILE_INFO])

Set Slack User Profile Information

Set the profile information for a user.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_SET_SLACK_USER_PROFILE_INFORMATION])

Views

Open A View For A Slack User

Open a view for a user.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_OPEN_A_VIEW_FOR_A_SLACK_USER])

Publish Static View For User

Publish a static view for a User.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_PUBLISH_STATIC_VIEW_FOR_USER])

Push View To Root View Stack

Push a view onto the stack of a root view.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_PUSH_VIEW_TO_ROOT_VIEW_STACK])

Update An Existing Slack View

Update an existing view.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_UPDATE_AN_EXISTING_SLACK_VIEW])

Workflows

Mark Workflow Step As Completed

Indicate that an app's step in a workflow completed execution.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_MARK_WORKFLOW_STEP_AS_COMPLETED])

Indicate Workflow Step Failure

Indicate that an app's step in a workflow failed to execute.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_INDICATE_WORKFLOW_STEP_FAILURE])

Update Workflow Extension Step Configuration

Update the configuration for a workflow extension step.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_UPDATE_WORKFLOW_EXTENSION_STEP_CONFIGURATION])

Main

Receive Message

Triggered when a new message is posted to a Slack channel.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_RECEIVE_MESSAGE])

Receive Thread Reply

Triggered when reply is added to a message in a thread.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_RECEIVE_THREAD_REPLY])

Reaction Removed

Triggered when a reaction is removed from a message.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_REACTION_REMOVED])

Reaction Added

Triggered when a new message is posted to a Slack channel.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_REACTION_ADDED])

Channel Created

Triggered when a new channel is created in Slack.
from composio_openai import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SLACKBOT_CHANNEL_CREATED])

Frequently asked questions

What is Composio.dev?

Composio.dev is a cutting-edge framework for building AI applications, designed to make the process of developing AI solutions super easy and fun! It's a collection of powerful tools and libraries that simplify the process of creating AI applications, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support SlackBot?

Composio.dev seamlessly integrates with SlackBot, making it a breeze to leverage its capabilities within the Composio.dev platform. You can use SlackBot to call functions on various platforms like Google, GitHub, and others, allowing you to incorporate different services into your AI applications with ease. It also supports user login via OAuth2 and can work with other popular frameworks such as LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with SlackBot and openAI_python?

When using SlackBot and openAI_python, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate SlackBot with openAI_python?

Integrating SlackBot with openAI_python is super easy with Composio.dev! You can use the Composio.dev API to call functions from both SlackBot and openAI_python, allowing you to tap into their capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with the language you're most comfortable with and integrate these powerful tools into your projects seamlessly.

What is the pricing for SlackBot and openAI_python?

Both SlackBot and openAI_python are completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes them accessible for developers and organizations of all sizes, whether you're a student working on a personal project or a startup building the next big thing. You can get started with these powerful tools without worrying about breaking the bank.

What kind of authentication is supported for SlackBot and openAI_python?

SlackBot and openAI_python support OAuth2 authentication, ensuring secure and authorized access to their functionalities. You can use the Composio.dev API to handle authentication and call functions from both SlackBot and openAI_python seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add SlackBot to my project?

Absolutely! You can easily incorporate SlackBot into your project by utilizing the Composio.dev API. This API allows you to call functions from both SlackBot and openAI_python, enabling you to leverage their capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add these powerful tools to your project with ease.

What is the accuracy of SlackBot and openAI_python?

SlackBot and openAI_python are designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. The comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for SlackBot and openAI_python?

SlackBot and openAI_python can be used for a wide range of AI applications, making them versatile tools for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. They're particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, these tools can help you bring your ideas to life.

How does SlackBot handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and SlackBot takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. SlackBot provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using SlackBot for your AI development needs.

Can I customize SlackBot and openAI_python for my specific needs?

Absolutely! SlackBot and openAI_python are highly customizable and extensible, allowing you to tailor their functionality, models, and configurations to meet your specific requirements. Whether you're building a chatbot, a content creation tool, or any other AI-powered application, you can customize these tools to fit your unique needs. Additionally, Composio.dev provides a flexible platform for integrating and orchestrating various AI tools and services, enabling you to create custom AI solutions that are tailored to your project.

What kind of support and documentation is available for SlackBot and openAI_python?

SlackBot and openAI_python have comprehensive documentation and a supportive community, making it easy for you to get started and find answers to your questions. Composio.dev also provides extensive resources, including tutorials, guides, and a dedicated support team to assist you throughout your AI development journey. Whether you're a beginner or an experienced developer, you'll have access to the resources you need to make the most of these powerful tools.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents🧪