About the Recipes
Using the Slack recipes, you can:
- Create a public or private channel for communication on the Slack application.
- Post a message to a public or private Slack channel.
To run the Slack recipes, you must configure the connections with the details necessary to access the Slack application. You can then trigger the recipes through a REST request and supply the necessary request payload.
- For the REST — Slack | Create a 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 a 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.
| Recipe Name | Description | REST Commands and Example Payloads |
|---|---|---|
| Create a Channel |
Creates a public or private channel for communication on the Slack application. |
REST API Command: POST: Example Request Payload:
Example Response Payload:
|
| Post a Message | Posts a message to a public or private Slack channel. | REST API Command: POST: Example Request Payload:
Example Response Payload:
|