This integration pack allows you to integrate with Yammer, the Enterprise Social Network.
The following actions are supported:
authenticate
- Get an authentication URL for the application, use this in a browser to gain a code. Put this code in/opt/stackstorm/configs/yammer.yaml
delete_group
- Removing a groupdelete_message
- Remove a messageemail_message
- Send the contents of a message to yourselfget_group_by_id
- Fetch the group details by IDget_user_by_email
- Fetch a user by emailget_user_by_id
- Fetch a user by idlist_groups
- Get all groupslist_messages
- List all messageslist_messages_in_group
- List all messages in a grouplist_messages_about_topic
- List all messages about a particular topiclist_messages_from_user
- List all messages from a particular userlist_messages_my_feed
- List messages for my feedlist_private_messages
- List the messages in your inboxlist_users
list_users_in_group
like_message
- Like a particular messagepost_message
- Post a message to a user, a group or a topicsuspend_user
- Suspend a user (admins only)
In Yammer you need to setup a client application on (https://www.yammer.com/client_applications).
Copy the example configuration in yammer.yaml.example
to /opt/stackstorm/configs/yammer.yaml
and edit as required, using values from Yammer.
Configure these values:
client_id
- The client ID provided by Yammer for your appclient_secret
- The client secret provided by Yammer for your appexpected_redirect
- The redirect Yammer expects to send you to, configured below.
Once those values have been configured, register the configuration with sudo st2ctl reload --register-configs
,
then run the authenticate
action. This will give you a URL. Navigate to that URL
in a browser and login to Yammer.
This will give you an access code. Configure this in yammer.yaml
:
access_code
- The code generated by viewing the URL provided when runningauthenticate
Run sudo st2ctl reload --register-configs
again, and you can use the rest of the integration