Actions11
Download Embedded Image
AI-generatedOverview
This node operation downloads an embedded image from a specified ticket in ManageEngine ServiceDesk Plus. It allows users to either save the image to a specified local path or retrieve the image data as a base64 string. This is useful for automating the extraction and storage of embedded images from ticket descriptions for further processing or archival.
Use Case Examples
- Automatically download embedded images from support tickets to a local directory for backup.
- Retrieve embedded image data as base64 to embed in reports or other systems.
Properties
| Name | Meaning |
|---|---|
| Ticket ID | ID of the ticket containing the embedded image, used to identify the source ticket for the image download. |
| Image ID | ID of the embedded image to download, used to specify which image within the ticket to retrieve. |
| Download Path | Optional local file path where the downloaded image will be saved. If not provided, the image data is returned as base64. |
Output
JSON
success- Indicates if the image download was successful.ticketId- The ID of the ticket from which the image was downloaded.imageId- The ID of the embedded image that was downloaded.downloadPath- The local file path where the image was saved, if specified.data- Base64 encoded string of the image data if no download path was specified.message- Status message describing the result of the download operation.
Dependencies
- ManageEngine ServiceDesk Plus API
- An API authentication token credential
Troubleshooting
- Ensure the provided Ticket ID and Image ID are correct and exist in the ServiceDesk Plus system.
- If specifying a download path, verify that the path is valid and writable by the n8n process.
- Common errors include network issues, authentication failures, or invalid IDs, which will be returned in the error message field.