# Updated TOPdesk Get Attachment Action with New Output Options

**URL:** <https://community.autommate.com/t/updated-topdesk-get-attachment-action-with-new-output-options/83>\
**Category:** Announcements\
**Tags:** announcements, how-to\
**Created:** [August 29, 2025, 4:34pm UTC](https://community.autommate.com/t/updated-topdesk-get-attachment-action-with-new-output-options/83 "2025-08-29T16:34:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarp.acikelli](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.autommate.com/sarp.acikelli/32/93_2.png) [@sarp.acikelli](https://community.autommate.com/u/sarp.acikelli)\
**Post date:** [August 29, 2025, 4:34pm UTC](https://community.autommate.com/t/updated-topdesk-get-attachment-action-with-new-output-options/83/1 "2025-08-29T16:34:53Z")

</div>

## 🎯 Goal

With the release of **TOPdesk library v1.7.0** , the **Get Attachment** action has been updated to improve usability, handle large files more gracefully, and provide more flexible output options.

## 🧰 When to Use

- When retrieving attachments from **TOPdesk incidents & Operator Changes & Operator Changes Activity**.

- When you need to either:

## 🚀 What’s New in v1.7.0

### 🔄 Changes

- ❌ Removed old `base64 file content` outputs (less efficient, harder to manage).

- ✅ Added **Output Type Selection** with two options:

- 📏 Added **60MB file size limit** : attachments larger than 60MB are skipped automatically to avoid flow breaks.

### ⚠ Important Note

Since attachments can now be saved in **Mate Drive** , remember to add a **“Delete from Mate Drive”** action at the end of your automation to keep storage clean.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/autommate/original/1X/91e9cfcbeeb9f76aaa169a6194489c3c4ce9cae4.png)

## ⚙ Architecture / Flow

- **Connector** : TOPdesk → Get Attachment

- **Output** :

- **Next Step** : Optional cleanup with `Delete from Mate Drive`.

## ✅ Output Examples

**Option 1 – Array of Download Links**

```auto
[
  {
    "description": null,
    "downloadUrl": "/tas/api/incidents/id/11111111-2222-3333-4444-555555555555/attachments/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/download",
    "entryDate": "2025-01-15T14:45:30.000+0000",
    "fileName": "test_document.docx",
    "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "invisibleForCaller": false,
    "operator": {
      "id": "99999999-8888-7777-6666-555555555555",
      "name": "API, DemoUser"
    },
    "person": null,
    "size": 123456
  }
]

```

**Option 2 – Save to Mate Drive**

```auto
[
  {
    "entry_date": "2025-02-18T11:20:45.000+0000",
    "file_content": "C:\\Program Files\\DemoApp\\repository\\11111111-2222-3333-4444-555555555555\\dummy_document.docx",
    "file_name": "dummy_document.docx"
  }
]

```

## 🔎 Troubleshooting

- If attachments above **60MB** do not appear → check logs; they are automatically skipped.

- If saving to Mate Drive fails → verify the **Storage Folder Path** exists (`mate:/attachments` by default).

- Always ensure **Delete from Mate Drive** is included if files should not persist.

## 💡 Best Practices

- Prefer **download links** if you only need references to files.

- Use **Mate Drive** only if the automation requires file manipulation.

- Clean up files with **Delete from Mate Drive** at the end of flows.

- Keep folder paths structured (e.g., `mate:/attachments/incidents`).

## 🔗 Related

- [[Delete from Mate Drive Action Guide]](https://docs.autommate.com/userguide/libraries/utility/mate-drive#delete-from-mate-drive)

- [[TOPdesk Connector Overview]](https://docs.autommate.com/userguide/libraries/integration/topdesk)
