Yammer User Invite Version 2

This handler invites a user to your Yammer network. If the inputted access token belongs to a verified admin in a paid Yammer network, external email domains can be included. If not, only email addresses for official company domains will be allowed. Any errors that happen during this process will be caught and re-raised by the handler.

Note: This handler requires a verified admin account in a paid Yammer network! (If you are an admin and still getting an error with the message "Attempt to access a protected resource failed" make sure that you are also verified.)

How to retrieve your Access Token

  • These instructions can also be found on developer.yammer.com/authentication under client-side authentication
    1. Start by creating a client application at https://www.yammer.com/client_applications
    2. Fill in the required information and create the application
    3. Using the client id you retrieved from the application, paste this url into your browser, making sure to replace [:client_id]:
      • https://www.yammer.com/dialog/oauth?clientid=[:clientid]&redirecturi=127.0.0.1&responsetype=token
    4. After submitting that page and authorizing the application, look in the url to find your access token. That url will look like:
      • https://www.yammer.com127.0.0.1/#accesstoken=[:accesstoken]
    5. Paste this Access Token into your info values and you will be all set!

If you have already registered Kinetic Task with your Yammer network, or if you receive a message stating that the "Application Name is already in use", you can view your list of registered applications at: https://www.yammer.com/client_applications Click on your application details to get your client id and client secret.

Parameters

Name Description
User Email The email address of the that should be invited.

Sample Configuration

Name Description
User Email new.user@acme.com

Results

This handler does not return any results.

Changelog

Yammer User Invite V1 (2012-08-02)

  • Initial version. See README for details.

Yammer User Invite V2 (2013-09-09)

  • Changed authentication method as well as transitioned from using the Yammer

gem to using the REST Client gem.


Related Handlers

Yammer Group Create
This handler creates a new group on your Yammer network.
Yammer User Delete
This handler removes a member of your Yammer network.