{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4263,"path":"build-workflows/workflow-studio/move-email-attachments-action.md","title":"Move Email Attachments to Record action","bundle":null,"doc_type":null,"release":"australia","body":"\n# Move Email Attachments to Record action\n\nMove attachments from an email to a record so that the files are available to your users when they view the record.\n\n## Roles and availability\n\nAvailable 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.\n\n## Inputs\n\nProvide 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.\n\n-   **Email Record**\n\n    Data type: **Record**\n\n    Email \\[sys\\_mail\\] record containing one or more attachments that you want to move. You must enable email receiving to have valid email records. For more information about email services and setup, see [Email Administration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/email-administration-landing.md).\n\n-   **Target Record**\n\n    Data type: **Record**\n\n    Record to which you want to move one or more attachments. You can use the [Look Up Record action](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/lookup-record-flow-designer.md) to find an appropriate target record.\n\n\n## Output\n\nThis action has no outputs. Instead it updates the source Email Attachment \\[sys\\_email\\_attachment\\] record to move any attachments to the target record.\n\n## Move email attachments to incident record\n\n\\[Omitted image \"example-move-email-attachments-to-record.png\"\\] Alt text: Move Email Attachments to Record configuration\n\nThis example extends the sample flow for inbound email flow handling to add the Move Email Attachments to Record action. This examples assumes that you have previously set up your instance to receive emails, and that there are one or more email records with attachments. The Email Record input uses the data pill for the email that triggers the flow. The Target Record input uses the data pill for the incident record that was updated in flow step 1.\n\n\\[Omitted image \"example-move-email-attachments-to-record-execution-details.png\"\\] Alt text: Execution details of Move Email Attachments to Record\n\nIn this example, the Email Record was a received email that contained multiple attachments. The runtime value is the Sys ID reference to the received email record. The Target record was incident record INC0010220, which was updated by the email in flow step 1.\n\n**Parent Topic:**[Workflow Studio actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/flow-actions.md)\n\n"}}