Skip to content

Commit 9304acf

Browse files
committed
Add PAgerduty/Slack example
1 parent f7a913c commit 9304acf

11 files changed

+25
-0
lines changed

pager-slack/pager1.png

25 KB
Loading

pager-slack/pager2.png

39.9 KB
Loading

pager-slack/pager3.png

44.4 KB
Loading

pager-slack/readme.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Pager Duty -> Slack
2+
3+
This examples guides you to trigger Slack comments when Pagerduty issues are triggered. This is straightforward and you should be up and running in a good case about 15 minutes and in a bad case an hour or two to troubleshoot some credential issues.
4+
5+
## Setup
6+
7+
1. Starting from a blank workflow, select the gear at the top of the start icon and choose pagerduty. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/pager1.png)
8+
9+
2. Select the pencil icon and setup the connection to Pagerduty ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/pager2.png)
10+
11+
3. Select the plus sign and enable the connection using the oauth dialog. Credentials to a live Pagerduty account will be required. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/pager3.png)
12+
13+
4. Once the Pagerduty trigger is completed (feel free to test it if you wish to feel certain before moving on), select Slack on the right hand dialog. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack1.png)
14+
15+
5. Drag Slack to the canvas and connect it from Pagerduty and to the end icon. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack2.png)
16+
17+
6. Now select the gear icon over Slack and configure which channel to post onto. This will require setting up or using an existing Slack connection. Again, this can be completed with OAuth. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack3.png)
18+
19+
7. After Slack is authorized, select next. Now you can configure what channel to place the message in and how that message is structured. Rich customization is offered at this step, but for now select a public channel and place some test text to get started. Once the connection is working we can circle back and improve the message to a useful description of the incident, etc. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack4.png)
20+
21+
8. When you choose a channel, you will see it confirmed in the Webmethods.io dialog. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack5.png)
22+
23+
9. Once the message is configured and you select next, you will be given the opportunity to review the message and potentially post it to the channel in a test configuration. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack6.png)
24+
25+
10. Finally, save the flow and test it. You can manually create incidents in Pagerduty and then if all goes well see the information regarding the incident posted in Slack. ![this](https://github.com/SoftwareAG/webmethodsio-examples/blob/master/pager-slack/slack7.png)

pager-slack/slack1.png

16.9 KB
Loading

pager-slack/slack2.png

22.1 KB
Loading

pager-slack/slack3.png

31 KB
Loading

pager-slack/slack4.png

81.1 KB
Loading

pager-slack/slack5.png

86.1 KB
Loading

pager-slack/slack6.png

89 KB
Loading

pager-slack/slack7.png

24.7 KB
Loading

0 commit comments

Comments
 (0)