# X12

Frends offers seamless integration with [X12](https://en.wikipedia.org/wiki/ASC_X12), enabling you to effortlessly connect and automate data flows that require reading and manipulating X12 documents.

Frends provides tasks for performing all core X12 operations.

By leveraging Frends’ task-based approach, you can configure and customize X12 integrations according to your specific business requirements. Frends offers a wide range of tasks that facilitate integrations to a variety of systems and protocols.

## Use cases

Below you will find typical use cases for X12 integrations and how they are implemented in Frends.

### Parse X12 Json string

By using the [`X12 ConvertToJson`](https://docs.frends.com/tasks/tasks/x12/converttojson) task, we can create an integration that receives incoming X12 messages, validates them, and saves the data into Json.

### Create X12 documents from Json

By using the [`X12 CreateFromJson`](https://docs.frends.com/tasks/tasks/x12/createfromjson) task, we can create an integration that generates new X12 documents based on predefined Jsons.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-65889011f0aff108a77181dc375cb06180214ab0%2Fx12-process.svg?alt=media" alt=""><figcaption><p>Example process</p></figcaption></figure>
