Dynamic work & collaboration software
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Smartsheet API gives developers access to Smartsheet platform features and
data, enabling you to build custom applications and integrations that extend
the functionality of Smartsheet. With the Smartsheet API, you can create
powerful integrations that are tailored to your specific business needs.
Using the Smartsheet API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smartsheet: {
type: "app",
app: "smartsheet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smartsheet.com/2.0/users/me`,
headers: {
Authorization: `Bearer ${this.smartsheet.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})