View as Markdown
Zoho CRM icon

Zoho CRM ACTION

Download Attachment

Downloads an attachment file from Zoho CRM, saves it in the temporary file system and exports the file path for use in a future step.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho CRM account once, then configure and run Download Attachment 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_crm-download-attachment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_crm: { authProvisionId: "apn_xxxxxxx" },
    module: "Module",
    recordId: "Record ID",
  },
})

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 Attachment inputs
Property Type Description
module Module string
Module where the record will be created. Use the List Modules action to get the list of available modules.
Required Dynamic
recordId Record ID string
The ID of the record. Use the List Objects action to get the list of available records.
Required Dynamic
attachmentId Attachment ID string
The ID of the attachment
Required Dynamic
syncDir SyncDir dir
Optional

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_crm-download-attachment
Version
0.2.4
App
Zoho CRM
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes