---
sourceDocument: Brazil Build workflows
sourceDocumentLink: https://www.servicenow.com/docs/r/build-workflows

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Copy Attachment action

# Copy Attachment action {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Copy Attachment action

The Copy Attachment action enables ServiceNow users to duplicate an attachment from the Attachments \[sysattachment\] table and add it to a specified target record within the platform.
This action is available as a core function in Workflow Studio and is designed to be used within flows, allowing automation of attachment copying between records.
Show full answer Show less  

## Key Features

* **Role-based access:** Available to users with the `flowdesigner` or `admin` roles for adding and configuring the action within flows.
* **Input flexibility:** Accepts a source attachment record and a target record as inputs. Users can manually select records or utilize lookup actions to dynamically identify attachments and target records.
* **Integration with lookup actions:** The Copy Attachment action works in tandem with the Look Up Attachment and Look Up Record actions to convert Sys ID values into usable records for copying.
* **Automation support:** Can be incorporated into flows for automated attachment copying, including handling multiple attachments by combining with For Each flow logic.

## Usage Example and Practical Application

A typical use case involves copying attachments from an incident record to an associated problem record. The process includes:

* Using the Look Up Attachment action to find the attachment in the source incident record.
* Converting the returned Sys ID into a record data pill via the Look Up Record action.
* Locating the target problem record using another Look Up Record action.
* Executing the Copy Attachment action with the identified source attachment record and the target problem record.

This approach ensures that the source attachment is properly referenced as a record, and the target record is correctly specified, enabling seamless copying. For multiple attachments, the flow can be enhanced with iteration logic.

## What to Expect

When implemented in your flows, the Copy Attachment action allows you to automate the transfer of attachments between records efficiently, improving record completeness and reducing manual effort. It does not produce outputs but relies on input records identified through complementary lookup actions to function correctly.  
Copies an attachment from the Attachments \[sys_attachment\] table to a target record.

## Roles and availability {#copy-attachment-flow-designer__section_pwq_rb5_kcb}

Available as a Workflow Studio ServiceNow core action. Users with the flow_designer or admin role can add an action to a flow and define configuration details.

## Inputs {#copy-attachment-flow-designer__section_lx4_cfl_kyb}

Provide a value for each input that your flow needs. To add dynamic values, you can also drag and drop pills from the Data panel or select them from the pill picker.{#copy-attachment-flow-designer__inputs-description}

Source Attachment Record \[Attachment\]
:   Data type: Record

    Attachment record containing the attachment you want to copy. You can either manually select a record from the Attachment \[sys_attachment\] table or look up the attachment record.
    You can use the [Look Up Attachment action](https://www.servicenow.com/docs/ZbPXni5Hcb1jnqvbWmtbMw "Looks up an attachment associated with a record and returns the Attachment Sys ID as a data pill.") to provide one or more Sys ID values of attachments with a given file name in a specific source record. If you use the Look Up Attachment action, you must also use a [Look Up Record action](https://www.servicenow.com/docs/~fyTNH~STm5cKmkAbIfwQA "Look up a record from any table based on defined conditions.") to convert the Sys ID value returned by the Look Up Attachment action into a usable record data pill. See the example section for an illustration of converting the Sys ID output
    of the Look Up Attachment action into a record data pill.

Target Record
:   Data type: Record

    Record where you want to add a copy of the attachment. You can use the [Look Up Record action](https://www.servicenow.com/docs/~fyTNH~STm5cKmkAbIfwQA "Look up a record from any table based on defined conditions.") to find an appropriate target record.

Table
:   Data type: Table Name

    Table containing the target record. This system sets this input value for you if you select a data pill for the target record.

## Outputs {#copy-attachment-flow-designer__section_mx4_cfl_kyb}

This action has no outputs.{#copy-attachment-flow-designer__outputs-description}  

## Copy attachments from incident records to a problem records {#copy-attachment-flow-designer__example_hqj_3wh_sbc}

This example copies attachments from the trigger incident record into an associated problem record. This example assumes that there is only one source attachment to copy. If you need to copy multiple attachments, add a For Each
flow logic. The flow first uses the Look Up Attachment action to find the attachment within the trigger incident. The Sys ID value of produced by this action is used as an input in the Look Up Record action in step 3. The flow
next looks up a problem record associated with the incident record.

In this example, the Source Attachment Record input gets its value from the Look Up Record action for the Attachment \[sys_attachment\] table, because you can't use the string output of the Look Up Attachment action directly. The
Target Record input gets its value from the Look Up Record action for the Problem \[problem\] table. The Table input inherits its value from the Target Record data pill.

The execution details for flow step 3 show that the Look Up Record action has found a specific attachment record. This record is used as the input for flow step 4 Copy Attachment.

The execution details for flow step 4 show that both input values use the output data pills of Look Up Record actions. The Source Attachment Record input uses the data pill from flow step 3, and its runtime value is a specific
Attachment record. The Target Record input uses the data pill from flow step 2, and its runtime value is a specific problem record.

