Post to Slack

POST {{webhook}}

Post formatted restaurant choices to Slack. Include voting instructions if there's more than one choice.

Side note: This is the last request in the collection for a reason. Posting to Slack is the main side effect of this collection, and we don't want it to happen more than once. When a monitor is created for this collection, an abnormal failure of the monitor will trigger a retry. By putting this request last, we get some failure tolerance in case there is an abnormal failure of one of the previous requests and avoid an undesired duplication of the collection's primary side effect.

Make sure webhook is set in your environment. To get a webhook url, create a Slack app, activate incoming webhooks, and add a webhook for your team.

Environment Variable NameRequired?Description
webhookYESAn incoming webhook url.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring