> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Attachment Actions

> Workflow actions for uploading, linking, and managing attachments in Blink case management.

## Create Attachment

Adding an Attachment to a Case by filling in the following parameters in the step.

<div className="integrations-table">
  | Parameter                        | Description                                                                                                                                                                                                            |
  | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | File Identifier                  | The file identifier of the attachment. You can create a file identifier using the [Download File from an URL Action](/docs/workflows/building-workflows/actions/utility-actions/file-actions#download-file-from-a-url) |
  | Name                             | The Attachment Name                                                                                                                                                                                                    |
  | Attachment Type                  | The type of Attachment                                                                                                                                                                                                 |
  | Description                      | A brief explanation explaining the Attachment                                                                                                                                                                          |
  | Linked Cases                     | The Case's ID linked to this Attachment                                                                                                                                                                                |
  | Custom Fields (JSON Format)      | Add a Custom Field in JSON format. Please note that this applies only if you have manually added a [custom record column](/docs/case-management/manage-tables#adding-custom-column) to the subject table.              |
  | **Advanced**- Linked Observables | The Name and ID of the Observable you want to link to this Attachment.                                                                                                                                                 |
  | **Advanced**- Linked Alerts      | The Name and ID of the Alert you want to link to this Attachment.                                                                                                                                                      |
  | **Advanced**- Linked Tasks       | The Name and ID of the Tasks you want to link to this Attachments.                                                                                                                                                     |
  | **Advanced**- Linked Cases       | The Name and ID of a different Case you want link to this Attachment.                                                                                                                                                  |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/UGyZ3yX79lqyx4Hr/img/CaseManagement/AddAttachments.gif?s=f111e2b8993bc271abbdb17c473d09d9" width="800" height="264" data-path="img/CaseManagement/AddAttachments.gif" />
</Frame>

## Download Attachment

Download an Attachment from a Case by filling in the following parameters in the step.

<div className="integrations-table">
  | Parameter     | Description                                                                                 |
  | ------------- | ------------------------------------------------------------------------------------------- |
  | Attachment ID | The ID of the Attachment. It can be the `id` or the `attachment_id` field of the attachment |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/BRfSL_EOO1Uh43ic/img/CaseManagement/DownloadAttachment.png?fit=max&auto=format&n=BRfSL_EOO1Uh43ic&q=85&s=e63fa9504f9ea5d100bc88974fa2517d" width="2408" height="782" data-path="img/CaseManagement/DownloadAttachment.png" />
</Frame>

## Delete Attachment

Deleting an Attachment from a Case by filling in the following parameters in the step.

<div className="integrations-table">
  | Parameter     | Description                                                                                 |
  | ------------- | ------------------------------------------------------------------------------------------- |
  | Attachment ID | The ID of the Attachment. It can be the `id` or the `attachment_id` field of the attachment |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/BRfSL_EOO1Uh43ic/img/CaseManagement/DeletingAttachment.png?fit=max&auto=format&n=BRfSL_EOO1Uh43ic&q=85&s=ed5e1300880b6a63bf8a728bb11de441" width="2399" height="794" data-path="img/CaseManagement/DeletingAttachment.png" />
</Frame>

## Update Attachment

Updating an already existing Attachment in a Case by filling in the following parameters in the step. This action overwrites all of the attachment's data.

<div className="integrations-table">
  | Parameter                   | Description                                                                                                                                   |
  | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
  | Attachment ID               | The ID of the Attachment. It can be the `id` or the `attachment_id` field of the Attachment                                                   |
  | Name                        | The updated Name of the Attachment.                                                                                                           |
  | Attachment Type             | The type of Attachment.                                                                                                                       |
  | Description                 | A brief explanation explaining the Attachment.                                                                                                |
  | Custom Fields (JSON Format) | Add a Custom Field in JSON format. Please note that this applies only if you have manually added a custom record column to the subject table. |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/sb7Z70HzlwQjgWp7/img/CaseManagement/UpdateAttachment.png?fit=max&auto=format&n=sb7Z70HzlwQjgWp7&q=85&s=8151b7b4b15e4b7097766bc9e0a58e1b" width="2401" height="796" data-path="img/CaseManagement/UpdateAttachment.png" />
</Frame>
