> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# File: Attachment

> This reference explains the File: Attachment task.

This reference explains the File: Attachment task.

The attachment task attaches a document file in the workflow data payload to a specified account, subscription, or invoice. If Invoice Settlement is enabled, files for credit memos and debit memos can be attached.

The document file to upload must be available in the data payload. It can be generated from upstream tasks or directly uploaded to the workflow.

Files with the following extensions are supported: .pdf, .csv, .png, .xlsx, .xls, .doc, .docx, .msg, .jpg, .txt, .htm, .html, .eml, .pptx, .gif, .rtf, .xml, .jpeg, .log, .cls

The maximum size of an attachment is 4 MB. The maximum number of attachments on one record is 25. The actual number of attachments that can be uploaded to a record depends on the number of attachments that are already on the record.

## Task settings

* In the **Configuration** tab, select the object and the ID of the record that you want to attach files to. Optionally you can add some notes.
* In the Attachment tab, select the files that you want to upload. You can rename the files that you want to upload by typing the new names in the file name fields. Liquid expressions are allowed in file names. For a list of common Liquid expression examples, see [Common Liquid expressions in Workflow](/docs/platform/extensibility/workflow/create-and-manage-workflow-definitions/workflow-reference/use-liquid-expressions-in-workflow).

  By default, a timestamp will be appended to each file. The timestamp will be replaced with the runtime timestamp.

  ![Attachment task configuration](/_fern-img/105af6c86a404dede18e2bdbc3c4a86fdb0af59b31f71e9d612c5a3aa1e464db.webp)
* **Concurrency Mode**: Controls whether Workflow processes tasks in a single or multi-threaded manner for this task type. Select **Sequential** to single-thread, or **Parallel** to allow multi-threaded processing.

  If you select **Parallel**, the **Max Concurrency** setting controls the maximum number of threads for this task type that can be utilized. You can specify a value from 1 up to the allowed maximum for this task type. A value of 1 behaves the same as Sequential processing.