the script uses greythr apis instead of a browser
- Make sure you have node
- install the dependencies using
npm i
- copy "./env.sample" to "./.env" and fill in the values
- Run node main.js
- Go to create workflow on slack
- select webhook event
- create data variable with name
user_email
and typeslack user email
andmessage
and type astext
- click on continue and copy the link and add it to
SLACK_NOTIFICATION_URI
in.env
- add step and select messages > send message to a person
- in the pop-up click select member dropdown select 'user_email' and similarly for message click insert a variable and click on message from the list
- click save
- Click finish up, and fill the form in the pop-up as desired
- click on publish
- Horray! now you will get a message on slack when the script runs