Specify your ClientID and ClientSecret as inputs to the /OAuth/InitializeOAuth Choreo. Your application can send the user to the AuthorizationURL returned by this Choreo. A CallbackID is also returned by the InitializeOAuth Choreo.

Once the user has authorized access to your app, complete the OAuth process by passing the CallbackID to the /OAuth/FinalizeOAuth Choreo.

At this point, you should have a valid short-lived AccessToken and RefreshToken. The AccessToken is all you'll need to get started running the Box Choreos.

When your access token expires, you can use the /OAuth/RefreshToken Choreo to generate a new one. Note that refresh tokens are valid for 14 days. If your app does not use the refresh token before it expires, you'll need reinitialize the OAuth process.

We recommend keeping important credentials out of your code by storing them on Temboo. This also reduces memory consumption and makes it easy to update them without changing your code.

Supply Some Inputs

Give the process an input value e.g., "New York City".

You'll find notes for valid inputs by scrolling to the bottom of the page.

Supply Some Inputs

Fill in the desired Subject, FromAddress, ToAddress, and MessageBody.

Supply Some Inputs

Fill in the desired From, Subject, To, and MessageBody.

Supply Some Inputs

Fill in the desired Values and SpreadsheetID.

Supply Some Inputs

Fill in the desired From, To and Body.

Supply Some Inputs

Fill in the Text input with “Press 1 to change the state of your pin”. This is the message that will be translated to speech in the phone call alert. Fill in the desired ByeText, To, and Body. Set MaxDigits to 1.

Test your inputs in the browser

Click 'Generate Code' to test that your inputs are valid.

Set an Output Trigger

Set a condition based on your actuator values if your Yun should call based on an output.

Select Your Language

Select from the list of boards that come pre-shipped with Temboo's libraries.

Voila! Your Code Is Ready

Download your code and you’re ready to run.

Google requires that you enable 2-step verification and generate an App password to use this Choreo. If you’d like to authenticate using OAuth credentials, you should use the Google.Gmailv2 Choreos.

Obtain Your Client ID

We recommend checking out this video before getting started with OAuth.