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
linkedaccess.PNG
linkeddata.PNG
posttweet.PNG
readme.md
save.PNG
slack-auth.PNG
slack-twitter-linkedin.zip
tweetdata.PNG

readme.md

Slack-Twitter-LinkedIn

In this example we will post a message and youtube link into a Slack channel and webMethods will post to Twitter and LinkedIn

Prerequisites

I. Slack account

II. Twitter account

III. LinkedIn account

Set Up

  1. Lets start by creating a new workflow from scartch, you should now see a workflow canvas shown below.

canvas

  1. Double click the start icon, scroll down the list of triggers and select Slack. You will now be able to set a label name for your Trigger. We will select the Trigger to be "New Message in Public Channel". If this is your first time connecting Slack, you will have to click the "+" button and authorize webMethods access to your Slack account. Last you will have to enter your Slack Channel ID you wish to use. Click "Save", "Test", and "Done" once the test is complete.

slack-auth

  1. Click and drop the Twitter icon from the list of application on the right panel onto the canvas. Connect the start icon to the Twitter icon and also connect the Twitter icon to the end icon. Repeat the same steps for the LinkedIn icon. Your canvas should now look like the below example.

canvas

  1. Double click the Twitter icon and from the list of Actions select "Post Tweet". You will now have to click the "+" sign and enter your account credentials to allow access, when finished click "Next".

posttweet

  1. From the mapping screen we will now enter the Trigger Text into the Tweet Action field. Click the "Next" button and Test your configured Data. When test has passed click the "Done" button.

tweetdata

  1. Double click the LinkedIn icon and from the list of Actions select "Share On LinkedIn". You will now have to click the "+" sign and enter your account credentials to allow access, when finished click "Next".

linkedaccess

  1. From the mapping screen we will now enter the Trigger Text into the Comment Action field. We will also select the Trigger from_url under the attachments dropdown into the URL Action field. Click the "Next" button and Test your configured Data. When test has passed click the "Done" button.

linkeddata

  1. It is very important to remeber to save your workflow in order to start executing the workflow!

save

  1. To test the workflow now, post a message and a youtube url into your specified Slack channel, you will see the workflow execute, posting the message and youtube video to your Twitter and LinkedIn accounts.
You can’t perform that action at this time.