If{"GeneratedReportId":{"type":"integer","description":"The GeneratedReportId parsed from the Amazon response."},"Report":{"type":"multiline","description":"The report contents."},"ReportProcessingStatus":{"type":"string","description":"The status of the report request parsed from the Amazon response."},"ReportRequestId":{"type":"integer","description":"The ReportRequestId parsed from the Amazon response. This id is used in GetReportRequestList."},"Success":{"type":"boolean"}}then write

/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/

Notes

This Choreo uses your MWS credentials to authenticate your account with Amazon, and returns a tab-delimited flat file report that contains only orders that are not confirmed as shipped.

This Choreo includes an extra feature which allows you to check on the status of your report request and retrieve the report when it's ready. The TimeToWait input variable is the parameter that enables this feature. It is enabled by default becuase the default of value of TimeToWait is set to 10. This indicates that the Choreo will poll for the status of the report request, and retrieve the report when the status indicates that the report is ready for download. If the report is not available after 10 minutes, the Choreo will stop. You can increase the value of this time limit if, for example, your report is large and will take longer to generate. Setting this parameter to 0 will turn off this feature. The documentation for this MWS resource can be found here.

The following fields are parsed from the Amazon responses and returned as Choreo output variables:

GeneratedReportId

Report

ReportProcessingStatus

ReportRequestId

Getting Started

Select Your Board

Select the dev board you want to generate code for.

How Is It Connected?

Tell us how your board connects to the internet.

Set Up Your Sensors

Sense anything. Choose predefined sensors or select other to set up a generic sensor that reads pin voltage.

Set a Choreo Trigger

Use conditional logic to trigger Temboo Choreos based on sensor values.

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.