Download Attachment
Description
This step downloads attachments from a ticket in Zoho Desk to a local folder. You provide the ticket ID and the output folder path. Use this step in workflows that retrieve supporting documents from tickets, collect evidence for processing, or archive attachments for compliance.
References:
- https://desk.zoho.com/DeskAPIDocument#Articles_Downloadarticletranslationattachment
- https://desk.zoho.com/DeskAPIDocument#OauthTokens
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name has to be unique in a single workflow. |
| Connection: | ||
| 2 | Base URL | Specify a base URL of Zoho Desk instance. Example:- The field data type is String. This is mandatory. |
| 3 | Client ID | Specify the client ID of Zoho Desk instance.The field data type is String. This is mandatory. |
| 4 | Client Secret | Specify the client secret of the Zoho Desk instance.The field data type is String. This is mandatory. |
| 5 | Accept value as variable/static | Leave checkbox unchecked to accept Refresh Token value from a field in the previous steps of the stream using a drop down list. Else select the checkbox for the Refresh Token field to appear as Text box. |
| 6 | Refresh Token | Retrieve the refresh token from OAuth token API call.The field data type is Secure String. This is mandatory. |
| 7 | Test Connection | Click Test Connection button to verify whether the connection is available or not. |
Input tab:
| No. | Field Name | Description |
|---|---|---|
| 1 | Ticket ID | Specify the ticket ID from which you want to download the attachments.The field data type is String. This is mandatory. |
| 2 | Output Folder Path | Specify the folder to store the downloaded file.The field data type is String. This is mandatory. |
| 3 | Browse | Click to bring up the dialog to select the output folder path. |
| Additional Input tab: | ||
| 4 | Delete Output Folder Contents Before Downloading | Specify Yes to delete output folder contents before downloading else specify No. Allowed values: Yes, No Default value: No |
| 5 | Add DateTimeStamp For Duplicate File | Specify Yes to add Date TimeStamp for duplicate files. Allowed values: Yes, No. Default value: No |
| 6 | Add File To Result | Specify Yes to add the downloaded files to the result set and display the download link on AE, else select No. Allowed values: Yes, No. Default value: No |
Output tab:
| No. | Field Name | Description |
|---|---|---|
| 1 | Total Files | Specify the output field to hold the result of the successful plugin execution. Default value: TotalFiles |
| 2 | Download Files | Specify the output field to hold the result of the successful plugin execution.Default value: DownloadedFiles |
| 3 | Overwritten Files | Specify the output field to hold the result of the successful plugin execution. Default value: Overwrittenfiles |