Communication

Slack

36min

With Slack modules in Make, you can create, update, delete, retrieve, watch, and/or search for messages, files, channels, reactions, users, reminders, and/or statuses.

To get started with Slack, create an account at slack.com/getting-started.

Refer to the Slack API documentation for the list of available endpoints.

Slack Terminology



Private Channel

formerly Group

Direct Message

formerly IM

Channel

Referred to as Conversation in the API documentation and Channel in the Slack application

Connect Slack to 

To establish the connection:

  1. Log in to your Make account, add a Slack module to your , and click Create a connection.
    Note: If you add a module with an instant tag, click Create a webhook, then Create a connection.
  2. Depending on the module you add, you may be prompted to choose the Connection type: Slack (user) or Slack (bot). If not, continue to step 4.
    Note: Slack Watch modules only function with User connections at this time. If you would like to create a webhook with an interactive bot, you must use the Custom Webhook module.
  3. Optional: In the Connection name field, enter a name for the connection.
  4. Optional: Click Show Advanced settings and enter your custom app client credentials or add additional scopes.
    To create client credentials, see the Create Custom App and Client Credentials in Slack section.
  5. Click Save.
  6. If prompted, authenticate your account. If your account has multiple Slack workspaces, select the relevant workspace in the top-right corner and grant access to Make.

You have successfully established the connection. You can now edit your and add more Slack modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

Note: Some modules may require additional permissions extension. If so, you will be asked to authorize the required permissions.

Create Custom App and Client Credentials in Slack

To create a custom app and client credentials:

  1. Log in to your Slack account and go to the Your Apps page.
  2. Click Create New App.
  3. Select From scratch.
  4. Enter a name for your app, select a workspace, and click Create App. This brings you to the Basic Information page of your new app.
  5. Scroll down to the App Credentials section. Copy your Client ID and store it in a safe place.
  6. In the Client Secret field, click Show, copy your secret, and store it in a safe place.
  7. In the left sidebar, click OAuth & Permissions.
  8. Scroll down to the Redirect URLs section, click Add New Redirect URL, enter the redirect URL listed below for User and/or Bot, and click Add > Save URLs.
    • User - https://www.integromat.com/oauth/cb/slack2
    • Bot - https://www.integromat.com/oauth/cb/slack3
  9. In the Scopes section, add Bot Token Scopes or User Token Scopes. You can add scopes for both types to one custom app.
  10. Click Add an OAuth Scope and select scopes in the dropdown menu. Repeat this for all desired scopes. For a list of required scopes for each module, see the Scopes list below.

Note: If you change permission scopes in your Slack app after creation, you will be prompted in the Slack My Apps pages to reinstall your app.

You now have the client credentials to connect to Make.

Messages

You can watch public and private channel messages, watch direct and multiparty direct messages, watch scheduled messages, search for messages, list scheduled messages, retrieve private and public channel messages, list replies, create, update, schedule, and delete a message using the following modules.

Files

You can watch, list, retrieve, download, upload, create and delete files using the following modules.

Channels

You can list, retrieve, list members, set the topic, set the purpose, join a channel, leave a channel, create, archive, and unarchive a channel using this module.

Reactions

You can list, add, and remove a reaction using the following modules.

Stars

You can add and remove stars using the following modules.

Saved Items

You can save an item and remove the saved item using the following modules.

Pins

You can pin and unpin a message using the following modules.

Users

You can watch, search, list, retrieve, invite and kick a user using the following modules.

Reminders

You can list, retrieve, create, complete, and delete a reminder using the following modules.

Events

You can watch new events using the following module.



Profile

You can set a status in events using the following module.

Other