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

# Upload file to Applied Epic record

> Attach a file from your Workflow to an Applied Epic record, such as an account, policy, or claim.

The Upload File to Record action attaches a file from your Workflow to a record in Applied Epic. Use it to file a generated summary on a policy or save an email attachment to a client's account.

> [!NOTE]
>
> **Prerequisites**: A [Workflow](https://docs.cassidyai.com/workflows/overview.md) with an earlier step that
> produces a file, the Applied Epic connection set up in connector settings, and
> a role with the **Applied Epic** privilege. See [Applied Epic for
> Workflows](https://docs.cassidyai.com/integrations/applied-epic/workflows#before-you-start).

**1. Add the Upload File to Record action**

While editing a [Workflow](https://docs.cassidyai.com/workflows/overview.md), click the **+** button between existing steps. Select **Upload File to Record** from the Applied Epic actions to add it to your Workflow.

![Workflow Add an Action panel with Applied Epic selected, listing the Applied Epic actions](https://mintcdn.com/cassidy/Tae8lZ_BfOSuIUVK/images/integrations/applied-epic-workflows-add-action.png?fit=max\&auto=format\&n=Tae8lZ_BfOSuIUVK\&q=85\&s=dcbc925da8939d81c9197710d144a267)

**2. Check the connection**

The action uses your agency's Applied Epic connection. If it shows **Set up in connector settings**, ask an admin to set up Applied Epic first.

**3. Select the type**

Use the **Type** dropdown to choose the kind of record to attach the file to, such as **Account**, **Policy**, or **Claim**.

**4. Enter the record ID**

In **Record ID**, enter the ID of the record to attach the file to, or insert it as a variable from your trigger or an earlier step.

![Upload File to Record action with the Account type, a record ID, a file, and a description](https://mintcdn.com/cassidy/Tae8lZ_BfOSuIUVK/images/integrations/applied-epic-workflows-upload-file-to-record.png?fit=max\&auto=format\&n=Tae8lZ_BfOSuIUVK\&q=85\&s=c2012137e74854fa24ee41eb87e8aae7)

**5. Select the file**

In **File**, select the file to upload from your trigger or an earlier step. The action uploads one file at a time, so use a loop for a list of files. Files can be up to 500 MB.

**6. Add details (optional)**

* **Description**: a short label for the attachment, up to 125 characters. Uses the file name when left empty.
* **Comments**: comments saved with the attachment, up to 500 characters.
* **Folder ID**: the Epic attachment folder to file the attachment in.

**7. Use the result**

Later steps can use **Attachment ID**, **Record ID**, and **File Name**.

## Related

* [Download Applied Epic file](https://docs.cassidyai.com/integrations/applied-epic/download-file.md)
* [Look up Applied Epic record](https://docs.cassidyai.com/integrations/applied-epic/look-up-record.md)
* [Applied Epic for Workflows](https://docs.cassidyai.com/integrations/applied-epic/workflows)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.