Online file management for teams
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Zoho WorkDrive API is a powerful tool for managing and sharing content
collaboration, storage and documents online. With the API, you can build
solutions to handle document organization, store, process and share enterprise
data securely, in a cloud-based environment. Here are a few examples of what
you can do with the API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_workdrive: {
type: "app",
app: "zoho_workdrive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://workdrive.${this.zoho_workdrive.$auth.base_api_uri}/api/v1/users/me`,
headers: {
Authorization: `Bearer ${this.zoho_workdrive.$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
},
})