Prod deploy. Defaults to ap-southeast-2
SLACK_AUTH_TOKEN="<slack_auth_token_goes_here>" sls deploy --stage prod
- Create a trigger for a "New Channel" event from "Slack"
- Setup an action of a POST "Webhook"
- Configure the webhook with the URL of your API Gateway
- Set the payload type as "json"
- Set the unflatten option to "false"
- Configure the header
x-api-key
with your API key