Skip to main content
Slack logo

Slack

Overview

Slack is a versatile messaging platform that revolutionizes team communication. Seamlessly integrate with Slack to boost productivity, share files, collaborate in real-time, and streamline discussions. Connect your workspace and effortlessly build custom internal tools, automate repetitive tasks, and streamline team collaboration.

Setting up Slack

Create an access token

To get started you'll need a Slack access token. To generate a token:

  1. Log in to Slack
  2. Create an app or select an existing app
  3. Go to OAuth & Permissions and add scopes for the APIs you want to use
  4. From the OAuth page, Install the app in your Slack workspace
  5. Copy the access token to configure your integration's connection

Learn more about Slack API Authentication

Add integration

Once you have an access token, you're ready to set up your Superblocks integration.

  1. In the web app, navigate to the Integrations page
  2. Click on the Slack tile
  3. Name the integration
  4. Paste your credentials into the relevant fields
  5. Optionally, add more configurations to set credentials for different environments
  6. Click Create
tip

Slack connected Now you can use Slack in any Application, Workflow, or Scheduled Job.

Use Slack in APIs

Once your Slack integration is created, you can start calling Slack actions in Superblocks APIs.

Slack actions are REST requests. To learn more about REST requests in Superblocks, see the Building REST requests guide.

Supported actions

Send a message to a channel

Sends a message to a channel.

Schedule a message to be sent

Schedules a message to be sent to a channel.

List all channels in a Slack team

Lists all channels in a Slack team.

Initiate a channel-based conversation

Initiates a public or private channel-based conversation

Invite users to a channel

Invites users to a channel.

Join an existing conversation

Joins an existing conversation.

Open or resume a direct message

Opens or resumes a direct message or multi-person direct message.

Set the topic for a conversation

Sets the topic for a conversation.

Search for messages matching a query

Searches for messages matching a query.

Upload or create a file

Uploads or creates a file.

List all reminders created by or for a user

Lists all reminders created by or for a user

Create a reminder

Creates a reminder.

Mark a reminder as complete

Marks a reminder as complete.

Delete a reminder

Deletes a reminder.

Invite a user to a workspace

Invite a user to a workspace.

Remove a user from a workspace

Remove a user from a workspace.

Set a user to admin

Set an existing guest, regular user, or owner to be an admin user.

List all users in a Slack team

Lists all users in a Slack team.

Find a user with an email address

Find a user with an email address.

Retrieve a user's profile information

Retrieves a user's profile information.

Set the profile information for a user

Set the profile information for a user.

List all User Groups for a team

List all User Groups for a team

Create a User Group

Create a User Group

List all users in a User Group

List all users in a User Group

Update the list of users for a User Group

Update the list of users for a User Group
and 10 more

Example usage

Scheduled Jobs

Send a report to Slack with an overview of the day's user based events daily.

Use a scheduled job to query Rockset and send out a daily report to Slack

Generic HTTP Request

Every SaaS integration in Superblocks comes with a built in Generic HTTP Request Action. This is a powerful action you can use to call Slack API endpoints not in the Superblocks supported actions.

To use this action simply add the method, path, required query parameters, and body for the desired endpoint.

info

Learn more about REST requests in Superblocks in our Building REST requests guide.

Generic HTTP Requests use the authentication set up and base URL you've configured for your integration, making it an easy for your team to extend Superblocks Integrations to meet their needs.