- Overview
- Adobe Sign
- Alteryx
- Amazon Comprehend
- Amazon Connect
- Amazon Rekognition
- Amazon Textract
- Box
- Release notes
- About the Box activity package
- Fix XAML After Package Update
- Project compatibility
- Setup
- Technical references
- Box Scope
- Commit Session
- Create File Version Session
- Create Upload Session
- Upload Part
- Delete Old Version
- Get Versions
- Promote Version
- Upload File Version
- Copy File
- Delete File
- Download File
- Get File Comments
- Get File Info
- Get File Info Details
- Get File Lock Info
- Lock File
- Move File
- Unlock File
- Upload File
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder Info
- Get Folder Items
- Rename Folder
- Search For Content
- Execute Method
- Cognitive
- DocuSign
- Release notes
- About the DocuSign activity package
- Project compatibility
- Setup
- DocuSign Scope
- Invoke DocuSign Operation
- Create Envelope
- Create Envelope And Send
- Create Envelope From Template
- Create Envelope Recipients
- Get Document
- Get Documents
- Get Envelope
- Get Form Data
- Send Envelope
- Update Envelope
- List Attachments
- List Custom Fields
- List Documents
- List Envelope Status Changes
- List Recipients
- Create Bulk Send List
- Create Bulk Send Request
- Get Bulk Send List
- Get Bulk Send Lists
- Create Template Custom Fields
- Create Template Recipients
- Get Template
- List Templates
- Google Vision
- Jira
- Release notes
- About the Jira activity package
- Project compatibility
- Setup
- Jira Scope
- Execute Method
- Add Attachment
- Delete Attachment
- Download Attachment
- Get Attachments
- Add Comment
- Delete Comment
- Get Comments
- Create Component
- Delete Component
- Get Components
- Search Dashboards
- Create Filter
- Get Filters
- Create Issue Link
- Delete Issue Link
- Get Issue Link Types
- Get Issue Links
- Add Watcher
- Assign Issue
- Clone Issue
- Create Issue
- Delete Issue
- Get Issue
- Get Watchers
- Remove Watcher
- Search Issues Using JQL
- Transition Issue
- Update Issue
- Create Project
- Delete Project
- Get Project Types
- Get Projects
- Update Project
- Get Transitions
- Create User
- Delete User
- Find Users
- Marketo
- Microsoft Dynamics
- Microsoft Dynamics Finance and Operations
- Microsoft Translator
- Microsoft Vision
- Oracle Integration Cloud
- Oracle NetSuite
- Salesforce
- Release notes
- About the Salesforce activity package
- Project compatibility
- Setup
- Quickstart
- Salesforce Application Scope
- Create Bulk API Job
- Get Bulk API Job
- Get Bulk API Job Results
- Start or Abort Bulk API Job
- Assign File
- Download File
- Upload File
- Composite Request
- Delete Record
- Get List View Records
- Get Record
- Insert Record
- Update Record
- Upsert Record
- Execute Report
- Execute SOQL
- Format Column Names
- Format Labels And Values
- Lightning REST API Request
- Search
- SAP BAPI
- ServiceNow
- Slack
- Smartsheet
- Release notes
- About the Smartsheet activity package
- Project compatibility
- Setup
- Technical references
- Quickstart: Working With Rows
- Smartsheet Application Scope
- Attach File
- Attach URL
- Delete Attachment
- Get Attachment
- List Attachments
- Add Comment
- Delete Comment
- Get Comment
- List Discussions
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder
- List Folders
- Add Group Members
- Get Group
- List Groups
- Remove Group Member
- Get Report
- List Reports
- Add Rows
- Copy Rows
- Create Discussion on Row
- Delete Rows
- Get Row
- List Rows
- Move Rows
- Update Rows
- Copy Sheet
- Create Sheet
- Create Sheet From Template
- Download Sheet
- Get Sheet
- List Sheets
- Update Sheet
- Add User
- Get User
- List Users
- Remove User
- Copy Workspace
- Create Workspace
- List Workspaces
- Import Sheet From CSV / XLSX
- Invoke Smartsheet Operation
- Search Activity
- Send Via Email
- Share Object
- SuccessFactors
- Tableau
- Twilio
- Workato
- Workday
Setup
To enable the Slack activities, you must enter authentication details in the Slack Scope activity. These authentication details give a Robot the ability to take action on your behalf and access your permitted data.
To generate and grant the authentication details, and and start building your automation project, complete the following steps:
- Create a new Slack App (no coding required)
- Add app permissions
- Install your app to your workspace
- Build your project
After creating your app, Slack assigns it a unique Client ID, Client Secret (i.e. app credentials), and an OAuth Access Token (for unattended automation) that you'll enter in the Slack Scope activity's authentication properties.
Before using the Slack activities, follow the steps below to generate or collect the required input data for the Slack Scope activity.
1. Create a Slack app
To use the Slack activities, you can create a simple Single-workspace app. The steps and example below assumes that you have, and are a member of, an existing workspace.
-
Sign in to your Slack workspace or have the Slack desktop application open.
- If you sign in using the URL above, you'll need your workspace Slack URL.
-
Go to Your Apps and click the Create New App button.
-
Enter your App Name, select the Development Slack Workspace and click the Create App button.
After you create your app, you're taken to the Basic Information page. This is where you can find the Client ID and Client Secret that you'll need for attended automation authentication in the Slack Scope activity.
Before you copy and paste these into your activity, you should configure the OAuth & Permissions features by following the steps in the next section.
While you technically can, it's not recommended because you would need to share your Client Secret with them.
If you're interested in sharing your app with team members, you can use the unattended automation mode because it relies on a shareable OAuth Access Token.
2. Add app permissions
Adding permissions to your app is done using scopes. Scopes define the API methods this app can call and the information it can access in the workspace it’s installed on. Many scopes are restricted to specific resources like channels or files.
Adding scopes directly to your app is not required if you plan to run attended automation only. If you run attended automation, you select your scopes using the Scopes property in the Slack Scope activity.
Because setting scopes in your app enables both unattended and attended automation, we recommend completing the steps below before you start using the activity package; this allows you to freely switch between the modes.
- In the left-hand navigation, click the OAuth & Permissions.
-
In the Redirect URLs section, click the Add New Redirect URL button and enter your URL.
- If you don't know the URL you should enter, you can leave it empty for now.
-
When you try connecting to your app with the Slack Scope activity for the first time (using attended automation) the activity opens a new web page that displays an OAuth Error. This error includes the redirect URL (i.e., Passed URI) that your workspace is using. You can copy this URL and enter it as your Redirect URL .
-
In the Scopes section, add the permission scopes that you want to assign to your app and click the Save Changes button (see the complete list of the Scopes to add in the next section).
Scopes to add
The following are the scopes required for the different Slack activities. Also included in the table is each scope's mapping to to the Scopes property values from the Slack Scope activity.
Scope |
Activity |
Scopes property |
---|---|---|
Modify your public channels |
Create Channel Invite to Channel Join Channel Leave Channel Remove from Channel Send Message |
PublicChannels |
Modify your private channels |
Invite to Channel Leave Channel Remove from Channel Send Message |
PrivateChannels |
Modify user’s direct messages |
Invite to Channel Leave Channel Remove from Channel Send Message |
DirectMessages |
Make changes user’s group messages |
Invite to Channel Leave Channel Remove from Channel Send Message |
GroupMessages |
Upload and modify files as user |
Send Message |
Files |
Access the workspace’s files, comments, and associated information |
Download File Send Message |
Files |
Access information about user’s public channel |
Get Messages |
PublicChannels |
Access information about user’s private channels |
Get Messages |
PrivateChannels |
Access information about user’s direct messages |
Get Messages |
DirectMessages |
Access information about user’s group messages |
Get Messages |
GroupMessages |
Access user’s public channels |
Get Replies |
PublicChannels |
Access content in user’s private channels |
Get Replies |
PrivateChannels |
Access content in user’s direct messages |
Get Replies |
DirectMessages |
Access user’s group messages |
Get Replies |
GroupMessages |
Send messages as user |
Reply Send Message |
Chat |
Search your workspace’s content |
Search |
(included with DirectMessages and/or GroupMessages) |
Modify user’s profile |
Update Status |
Users |
View the workspace members' email addresses |
Invite to Channel Remove from Channel |
Users |
View the workspace's list of members and their contact information |
Invite to Channel Remove from Channel |
Users |
After selecting your scopes, you're ready to install your app to your workspace by following the steps in the next section.
3. Install your app to your workspace
Depending on how your workspace is administered, you may need to request to install the app.
-
In the OAuth Tokens & Redirects URLs section, click the Install App to Workspace button or Request to Install button.
-
After the app is installed, an OAuth Access Token is generated.
-
Similar to the Client ID and Client Secret, the OAuth Access Token is used for authentication purposes. The differences between the two become applicable when run your automation project.
- If running attended automation, the Slack Scope activity needs values in the Client ID, Client Secret, Scopes properites.
-
If running unattended automation, the Slack Scope activity only needs a value in the OAuth Access Token property.
-
4. Build your project
-
Create a new automation project.
- Open UiPath Studio.
- Under New Project, click Process (this opens a New Blank Process window).
- Enter a project Name, Location, and Description.
-
Click Create.
-
Install the UiPath.Slack.Activities package.
- In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
- Under All Packages, click Go!
- In the Search bar, enter Slack.
-
Click, install, and accept the license for the UiPath.Slack.Activities.
-
For more information about Uipath Studio packages, see Managing Packages in the Studio Guide.
-
You're done!
Now that you have completed the setup, you can start adding the Slack activities to your project.
For a hands-on learning experience and to quickly start using the activities, see the Quickstart guides. These guides provide step-by-step instructions to help you create working samples of the different activities so that you can verify the connection to your Slack workspace and get familiar with the input/output properties.
To learn more about the Slack activities (including example property inputs/outputs), see the Activities page for a complete activity list and links to the activity detail pages.