Invoke Operations Page
The Slack Adapter supports the following invoke (outbound) operations. Note that some operations require a parameter. You specify the parameters, if any, on the next page (Request Parameters page) in the Adapter Endpoint Configuration Wizard.
Also, the scope required for each operation to work successfully must have been defined when you created the connection. See Configure Connection Security and Access.
See the documentation on the Slack.com website for details about these scopes.
| Element | Description | Parameter | Required Scope |
|---|---|---|---|
|
Create Channel |
Creates a channel in Slack. |
None |
channels:write |
|
Get Channel |
Gets information about a Slack channel. |
channel |
channels:read |
|
Invite User To Channel |
Invites a user to a Slack channel. |
None |
channels:write |
|
Remove User From Channel |
Removes a user from a Slack channel. |
None |
channels:write |
|
List Channels |
Lists all channels that belong to a Slack team. |
None |
channels:read |
|
Send Message |
Sends a message to a Slack channel. |
None |
chat:write:user |
|
Schedule Message |
Schedules a message to be sent to a Slack channel. |
None |
chat:write:user |
|
List Scheduled Messages |
Returns a list of scheduled messages. |
None |
No scope required |
|
Delete Message |
Deletes a message. |
None |
chat:write:user |
|
Create File |
Uploads and creates one or more files in Slack using Slack's current external file-upload APIs. |
None |
files:write files:write:user |
|
Get File Info |
Gets information about a team file. |
file |
files:read |
|
Enable File Access |
Enables a file for public/external sharing. |
None |
files:write files:write:user |
|
Revoke File Access |
Revokes public/external sharing access for a file. |
None |
files:write files:write:user |
|
List Files |
Lists and filters team files. |
types channel user |
files:read |
|
Create Private Channel |
Creates a private Slack channel. |
None |
channels:write |
|
Get Private Channel |
Gets information about a private Slack channel. |
channel |
channels:read |
|
Invite User To Private Channel |
Invites a user to a private Slack channel. |
None |
channels:write |
|
Remove User From Private Channel |
Removes a user from a private Slack channel. |
None |
channels:write |
|
List Private Channels |
Lists private Slack channels that the calling user has access to. |
None |
channels:read |
|
Get User Presence |
Gets user presence information. |
user |
users:read |
|
Get User Identity |
Gets a user's identity. |
None |
identity.basic |
|
Get User Info |
Gets information about a user. |
user |
users:read |
|
Get User By Email |
Finds a user with an email address. |
|
users:read.email |
|
List Private Channel Users |
Lists all users in a Slack team. |
None |
users:read |
|
Search Files |
Searches for files matching a query. |
query |
search:read |
|
Search Messages |
Searches for messages matching a query. |
query |
search:read |
Upload and Create a File Request and Response Mappings
The Create File operation uses Slack's current external file-upload APIs instead of the deprecated direct-upload API. Oracle Integration manages the required upload steps internally; no change is required when selecting or configuring the operation in the Adapter Endpoint Configuration Wizard.
The request mapping supports uploading one or multiple files to Slack channels. The previous filetype field has been replaced by snippet_type and highlight_type.
The response mapping returns uploaded file details in the files collection. Map the required file attributes from this collection in downstream processing.
Note:
Important: File-upload integrations created with the previous API are not backward compatible. After upgrading, review and update both request and response mappings before activating the integration.