Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)

Slack
9.1

Slack is a cloud-based platform that brings all your collaboration and messaging tool needs together, for both individuals and companies.

Overview
Copy

Slack is a versatile tool for messaging, sharing files, and collaboration within teams. It allows you to create channels for organized communication, react to important events, and configure the platform to suit your team’s unique tech stack. Whether it's integrating with other tools, automating workflows, or simply enhancing team communication, Slack provides a comprehensive environment tailored to your specific needs.

API Information
Copy

The Base URL used for the Slack connector is https://slack.com/api. More information can be found on their main API documentation (v1) site. Details regarding their API limitations can be found here.

Templates
Copy

These Templates provide pre-configured (best practice) examples of how to work with Slack and integrate it with other services.

PLEASE NOTE: We strongly advise users to read the Authentication and Notes on Using Slack sections to avoid common pitfalls before using any templates. This will help ensure a smooth setup and prevent common errors during integration.

Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Send Slack alert on workflow failure
Workflow
Universal
Beginner

Sends a notification to a Slack channel each time a given workflow fails

Details
Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Slack keyword alert
Workflow
Security
Intermediate

Monitors Slack channel messages for specific keywords and alerts a dedicated channel

Details
Artisan IMG > Salesforce (salesforce) (dd966f42-81e8-4770-a3d8-d095ca41ab45)
Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Notify Slack when Salesforce Opportunity is "Closed Won"
Workflow
Sales
Beginner

Sends a celebratory Slack notification to a chosen channel when an opportunity is successfully closed in Salesforce

Details
Artisan IMG > BambooHR (bamboohr) (134605bd-dd4e-41e9-9178-da8556ddbeb3)
Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Artisan IMG > Greenhouse (greenhouse) (3cddbb11-e165-4a2f-bd1c-1f1a58fc83f0)
Create new hire in Bamboo when 'hired' in Greenhouse
Workflow
HR
Intermediate

Set up new hires in Bamboo when marked as 'hired' in Greenhouse, and alert the team on Slack

Details
Artisan IMG > G Suite (g-suite) (9a084bc6-e165-4c41-9134-46e7f93457a8)
Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Create Google Account
Workflow
HR
Intermediate

Automatically creates a G-Suite account for new hires

Details
Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Artisan IMG > Salesforce (salesforce) (dd966f42-81e8-4770-a3d8-d095ca41ab45)
Create Salesforce accts / opps with Slack modal
Workflow
Sales
Intermediate

Presents users with a referral form in Slack to create a new account / opportunity in Salesforce

Details
Artisan IMG > Zendesk (zendesk) (360aeaf0-42aa-49c1-bda5-d04f69ee7ac4)
Artisan IMG > Slack (slack) (6632c308-2cd1-4f68-8128-e521e552a66b)
Notify Slack with Zendesk ticket info
Workflow
Sales
Intermediate

When a Zendesk ticket is created or updated, send appropriate info to Slack

Details

Authentication
Copy

Version 10
Copy

When using the Slack connector for the first time, you need to create a new authentication.

Name your authentication and specify the type (Personal or Organizational).

The next page optionally asks for User Scope and Slash Command Signing Secret.

  • User scope: You can set additional permission scopes for users if needed, following Slack's Permission scopes document.

    Add only user scopes to this field; adding other scopes will cause authentication failure.

    After adding the user scope, ensure that the Use user token field in the Advanced properties section of Slack's properties panel is set to true. If this is not set to true, the user scope will not be applied.

    The channels:write user scope, for example, allows you to send messages as a user rather than as a bot.

    For a detailed understanding, refer to the User Scope vs. Extra Permission Scopes section.

  • Slash Command Signing Secret: This is only necessary if you intend to use Slash commands and want an added layer of security. Slash commands can work without signing secrets.

    IMPORTANT:

    • This is not a mandatory part of the authentication process.

    • This is also not necessary when working with Slash commands.

    You only need this field if you require an extra security layer for your a Slash command.

    Refer to the Slash Command Signing Secret section for instructions on how to obtain your Slash command signing secret. Feel free to skip this field if it is not needed for your use case.

The next step is to select your service permissions. Basic permissions are pre-selected for your convenience. Feel free to check or uncheck the permissions based on your specific use case.

The last optional field allows you to set additional permission scopes for users, following Slack's Permission scopes document. For a detailed understanding, refer to the User Scope vs. Extra Permission Scopes section.

Do not add user scopes to this field; adding user scopes will cause authentication failure.

Once done, click Create authentication. 

In the dialog box, choose the workspace from the top right, and then click Allow.

Return to the authentication field in the workflow builder properties panel, and select the newly created authentication from the available dropdown options. Your connector authentication setup for Slack version 10 is now complete.

Version 9.1
Copy

When using the Slack connector for the first time, you need to create a new authentication.

Name your authentication and specify the type ('Personal' or 'Organizational').

The next page optionally asks for the Slash Command Signing Secret.

This is only necessary if you intend to use Slash commands and want an added layer of security. Slash commands can function without signing secrets.

IMPORTANT:

  • This is not a mandatory part of the authentication process.

  • This is also not necessary when working with Slash commands.

You only need this field if you require an extra security layer for your a Slash command.

Refer to the Slash Command Signing Secret section for instructions on how to obtain your signing secret. Feel free to skip this field if it is not needed for your use case.

The next step is to select your service permissions. For your convenience note that the basic permissions are already pre-selected. Feel free to check or un-check the permissions based on your use case.

The last field allows you to set additional permission scopes for users if needed, following Slack's Permission scopes document. For a detailed understanding, refer to the User Scope vs. Extra Permission Scopes section.

Do not add user scopes to this field; adding user scopes will cause authentication failure.

Once done, click Create authentication. 

In the dialog box, choose the workspace from the top right, and then click Allow.

Go back to your settings authentication field (within the workflow builder properties panel), and select the recently added authentication from the available dropdown options . Your connector authentication setup for Slack's version 9.1 is now complete.

Return to the authentication field in the workflow builder properties panel, and select the newly created authentication from the available dropdown options. Your Slack connector authentication setup for version 9.1 is now complete.

Slash command signing secret
Copy

To locate your slash command signing secret:

Go to the Slack API page and click Your apps in the top right corner. On the next page select an app from your available list or create a new one if necessary.

You will be redirected to the Basic Information page of your App. Scroll down to the App Credentials section.

Your Signing Secret (i.e., Slash Command Signing Secret) can be found in this section.

User Scope vs. Extra Permission Scopes
Copy

The User Scope field is available from version 10.

Ensure that you create distinct authentications for sending messages as a Bot and as a User.

User scope

Extra permission scopes

Acceptable scopes

accepts scopes that are relevant to both Users and Users + Bots

accepts scopes athat are relevant to both Bot and Bot + Users

Requirement

Use when need to send message as a User

Use when need to send message as a Bot

Forbidden scopes

Does not accept Bot scopes; providing them leads to authentication failure.

Does not accept User scopes; providing them leads to authentication failure.