Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
canvas.PNG
connectWorkflow.PNG
github-slack.zip
githubAuthorization.PNG
readme.md
save.PNG
slackAuth.PNG
slackMessage.PNG
slackTest.PNG
successPull.PNG

readme.md

In this project we will create a workflow that will be triggered on a GitHub Pull request and push the status and additional information to a specified Slack Channel.

Setup

  1. Start a new blank workflow

canvas

  1. Click the start button and find GitHub, authorize access to GitHub and select "Push" as the Trigger and select the Repository name you would like to use. Test the trigger and save.

githubAuthorization

  1. Search for Slack on the right hand pannel and drag and drop the slack action icon onto the canvas. Connect Github to Slack and from Slack to the end icon.

connectWorkflow

  1. Open the Slack action icon, configure the action to "Post Message to Channel". Authorize Slack and click the "Next" button.

slackAuth

  1. On the mapping screen, select the slack channel you want GitHub data to be sent to. In the "Text*" field click from the GitHub drop down to personalize the information you want posted into the specified Slack Channel. Click "Next"

salckMessage

  1. It is recomended to "Test" the action and you should see a sample message posted to your slack channel with sample data. Click "Done"

slackTest

  1. It is important to remeber to save your workflow as you edit the canvas.

save

  1. Now it is time to test our workflow. Go to github and execute a Pull request, check your specified Slack channel to see your tailored data. You can also see the execution of the workflow in webMethods with a blue markup.

successPull

You can’t perform that action at this time.