Interact with Slack
Use these recipes to create a channel for communication on the Slack application and post a message to a specific Slack channel, respectively.
Note:
These recipes are available in the Integration Store as:- REST — Slack | Create Channel
- REST — Slack | Post Message
Oracle provides these recipes as samples only. These recipes are meant only for guidance, and are not warranted to be error-free. No support is provided for these recipes.
Overview
- Create a public or private channel for communication on the Slack application.
- Post a message to a public or private Slack channel.
- For the REST — Slack | Create Channel recipe, you must supply the name and type for the new channel you want to create as the payload. The Slack Adapter in the recipe is subsequently invoked, and it creates the channel as specified in your Slack workspace. The response containing the channel-creation details is returned to you.
- For the REST — Slack | Post Message recipe, you must supply the massage you want to post and the name of the channel you want to post the message in as payload. The Slack Adapter in the recipe is subsequently invoked, and it posts the message in the specified Slack channel. The response containing the message-post details is returned to you.
Integration Name | Description | REST Commands and Example Payloads |
---|---|---|
Create Channel |
Creates a public or private channel for communication on the Slack application. |
REST API Command:
Example Request Payload:
Example Response Payload:
|
Push Notification |
Posts a message to a public or private Slack channel. |
REST API Command:
Example Request Payload:
Example Response Payload:
|
System and Access Requirements
- Oracle Integration
- Slack
Install, Configure, and Run the Recipes
For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes.
Configure the Oracle REST Trigger Connection and the Oracle Slack Connection present in the recipe package. You only need to configure these connections once. Both the Slack recipes mentioned in this topic use the same connections.
You must supply the following information when you configure these connections.
Connection Name | Parameters |
---|---|
Oracle REST Trigger Connection |
The connection parameters are already configured for you. Test and save the connection. |
Oracle Slack Connection |
Security
For more details, see Create a Slack Adapter Connection in Using the Slack Adapter with Oracle Integration. |
Related Documentation