Communication
Slack
7 min
slack is a business communication platform that provides real time messaging, file sharing, and project collaboration possibilities with slack modules in {{product name}} , you can create, update, delete, retrieve, watch, and/or search for messages, files, channels, reactions, users, reminders, and/or statuses requirements to use the slack app in {{product name}} , you must have a slack account connect slack and {{product name}} slack workspace owners may restrict regular slack members from creating connections without approval or limit them to installing only internal apps or those listed in the slack marketplace make is not available in the slack marketplace as it has not been approved by the slack team due to its extensive functionality if you encounter errors while creating a slack connection, contact your slack workspace owner (or admin) to review the workspace settings and disable the corresponding restrictions read more about these configurations here to create the connection log in to your {{product name}} account, add a slack module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection 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 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 webhooks docid 1yhunj8jvzyxip9cf3ps1 module optional in the connection name field, enter a name for the connection optional click show advanced settings and enter your custom app client credentials or add additional scopes to create client credentials, see the slack /#obtain your client credentials in slack section click save 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 {{product name}} you have successfully established the connection you can now edit your {{scenario singular lowercase}} and add more slack modules if your connection requires reauthorization at any point, follow the connection renewal steps here some modules may require additional permissions extension if so, you will be asked to authorize the required permissions set up a slack webhook the slack app has an instant watch new events module that uses a webhook to instantly trigger a {{scenario singular lowercase}} in {{product name}} when an event occurs to set up the webhook add a slack watch new events instant module to your {{scenario singular lowercase}} and click create a webhook optional enter a name for the webhook in the webhook name field select the event type you want to watch i n the connection field, select a connection for the webhook if you haven't created a slack connection yet, refer to the slack /#connect slack and section above optional select the slack channel you want to watch click save you don't have to set up this webhook in slack, as it is attached automatically and requires no additional actions when the event occurs in slack, {{product name}} will immediately be notified and start your {{scenario singular lowercase}} obtain your client credentials in slack if you want to establish a connection with your client credentials, you need to create a custom app in your slack account and retrieve the credentials there to do that to obtain the client credentials log in to your slack account and go to the your apps page click create an app select from scratch 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 scroll down to the app credentials section copy your client id and store it in a safe place in the client secret field, click show , copy your secret, and store it in a safe place in the left sidebar, click oauth & permissions 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 in the scopes section, add bot token scopes or user token scopes you can add scopes for both types to one custom app 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 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 {{product name}} templates you can look for slack templates in make's template gallery , where you'll find thousands of pre created {{scenario plural lowercase}} slack resources slack api documentation