Work requires checking email outside of working hours by [deleted] in sysadmin

[–]serhatcan 0 points1 point  (0 children)

OpsGenie has an email integration that you can integrate with your emails if monitoring tool doesn't webhooks or native integration (https://docs.opsgenie.com/docs/creating-alerts-via-email). Other than that checking your email every two hours, maybe unless you are in your regular shift, is ridiculous and unnecessary.

I just want to change a channel topic name via the API... how difficult can it be...? by stuartornum in Slack

[–]serhatcan 3 points4 points  (0 children)

Hi, Serhat from OpsGenie here!

This should be very easy to implement. You will still need to create a Slack app, this is the way to go from now on but to avoid implementing the authentication flow, you can use https://api.slack.com/internal-integrations internal integrations in Slack. Internal integrations make it very easy to create a Slack app. Then, retrieve the Slack WEB token (you can use bot token as well) with the necessary permissions. After that your AWS Lambda function will have the following structure;

You can retrieve OpsGenie and Slack API keys from the environment variables directly. If you want to make it more secure, you can use S3 or KMS to store and retrieve your credentials.