protocol / netops

Netops is a group of Infra Engineers, Software Developers, or any other Labber who is currently working on designing, deploying, or maintaining infrastructure within their project, working group, or special interest group. This repo is to organize common goods for all of NetOps.
MIT License
5 stars 1 forks source link

[General] Create Slack workflows #19

Open wdbaruni opened 2 years ago

wdbaruni commented 2 years ago

What is the goal?

I want to be able to send messages to bacalhau-monitoring channel in filecoin workspace from AWS lambda, which can be done through webhooks.

Why do you need this?

Send a message whenever our alarms breach some thresholds

What else do we need to know?

I have permission in PL workspace and I was able to complete the integration as follows:

  1. Create bacalhau-monitoring channel
  2. Click on Integrations / Add a Workflow / Create / Start from scratch / Webhook
  3. Added the webhook variables that I'll be sending along with my request from AWS Lambda
  4. Formatted the message output and copied the webhook URL

DRI: myself

wdbaruni commented 2 years ago

I am also hoping to get enough permissions to update or create new webhooks for that channel, as it wouldn't scale if I needed to cut an issue every time I needed to make a change

stongo commented 2 years ago

AFAIK per channel permissions are not possible :(