Online file management for teams
Download a file to the /tmp directory. See the documentation
Upload a new file to your WorkDrive account. See the documentation
The Zoho WorkDrive API interacts with Zoho's cloud-based file management system, enabling automated file and folder operations, team management, and content collaboration. With Pipedream, you can harness this API to create workflows that trigger on specific events, manipulate files and folders, and integrate with other services for a seamless productivity boost.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})