Post confirmation message to Slack
POST {{slackWebhook}}
If rooftop plants have been watered AND you've provided the webhook, this request will post a confirmation message to Slack.
If you have your own Slack webhook, enter it as a value in the Qodex environment. If you don't have a webhook, this request will not execute.
Request Body
{"username"=>"Postman-watered-my-rooftop-plants", "icon_emoji"=>":corn:", "attachments"=>[{"text"=>"Plants have been watered for {{waterDuration}} seconds", "color"=>"#389f59"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |