View as Markdown
Zoho WorkDrive icon

Zoho WorkDrive ACTION

Download File to Tmp Direcory

Download a file to the /tmp directory. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho WorkDrive account once, then configure and run Download File to Tmp Direcory from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "zoho_workdrive-download-file",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_workdrive: { authProvisionId: "apn_xxxxxxx" },
    teamId: "Team ID",
    folderType: "Folder Type",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Download File to Tmp Direcory inputs
Property Type Description
teamId Team ID string
The unique ID that represents a team.
Required Dynamic
folderType Folder Type string
Whether to retrieve team folders or privatespace folders
Required Dynamic
folderId Folder ID string
The unique ID of the folder where file is located. Select a folder to view its subfolders.
Required Dynamic
syncDir SyncDir dir
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
zoho_workdrive-download-file
Version
0.0.8
App
Zoho WorkDrive
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes