aws-health-aware icon indicating copy to clipboard operation
aws-health-aware copied to clipboard

AHA - Deprecated Slack Integrations / new Triggers Integration

Open dgregan-flutter opened this issue 1 year ago • 1 comments

Hi,

Currently the HealthAwareStack-LambdaFunction function that sends AHA data to Slack looks for the following "hooks.slack.com/workflows" & "hooks.slack.com/services" with the URL provided in the CFN parameter SlackWebhookURL and used in Lambda env variable slack_url as per https://github.com/aws-samples/aws-health-aware/blob/main/handler.py#L88-L123

However Slack has done some deprecations around webhooks and it seems that newly created Slack workflow webhooks have web request URLs like https://hooks.slack.com/triggers/123232 as per the screenshot Screenshot 2024-07-11 at 09 54 51

This leads me to believe that the lambda function code needs to be updated to check for "hooks.slack.com/triggers" to be able to invoke these new workflow URLs.

dgregan-flutter avatar Jul 11 '24 08:07 dgregan-flutter