---
title: Process
description: Learn how to use EIPs
documentId: ipaas-eips-process
locale: en-US
---

The **Process** EIP adds custom logic within an integration flow, such as:

* Attaching or removing files when sending emails.
* Uploading files to a URL using *multipart/form-data*.

## Examples

* **Adding attachments**

```yaml
    - setHeader:
          name: "SensediaAttachmentName"
          expression:
            constant: "invoice.pdf"
      - process:
          ref: "#class:com.sensedia.ipaas.camel.processor.AddAttachmentProcessor"
```

* **Removing attachments**

```yaml
            - setHeader:
                name: "SensediaAttachmentName"
                expression:
                  constant: "*"
            - process:
                ref: "#class:com.sensedia.ipaas.camel.processor.RemoveAttachmentProcessor"
```

In the `constant` field of the `setHeader` *step*, you can specify the name of the file to be removed or use `*` to remove all attached files.
