> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/field-service-and-workforce-scheduling/email-attachments-handler.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Email Attachments Handler

This skill is responsible for all the document handling, document attachment, and creating new documents.

| Business area                          | Action type                                |
| -------------------------------------- | ------------------------------------------ |
| Field Service and Workforce Scheduling | Updates IFS Cloud data after user approval |

## Overview

The IFS Cloud integration retrieves and validates customer, location, asset, service, organization, and contract details, then creates the service request, additional scopes, notes, SLA commitments, and supporting documents.

## How it works

{% stepper %}
{% step %}
Get request email attachments: extract the attachment s3 file path from this tool.
{% endstep %}

{% step %}
Create document holder: Call this after email attachment.
{% endstep %}

{% step %}
Upload s3file to document: this tool is responsible for the document uploading into s3.
{% endstep %}

{% step %}
Determine the recommended outcome or next action.
{% endstep %}

{% step %}
Return structured results and any escalation guidance.
{% endstep %}
{% endstepper %}

## Key capabilities

* Email-based job intake.
* Duplicate request detection.
* Customer & asset resolution.

{% hint style="info" %}
This skill keeps a human in the loop. It previews every change and updates IFS Cloud only after a user approves it.
{% endhint %}

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component | Projection                           |
| --------- | ------------------------------------ |
| IFS Cloud | DocReferenceObjectAttachmentHandling |

## Version compatibility

| Projection                           | Supported IFS Cloud releases |
| ------------------------------------ | ---------------------------- |
| DocReferenceObjectAttachmentHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Write paths require explicit user confirmation or authorization where configured.
