# Edifact

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

Frends has tasks for performing all core Edifact operations.

By leveraging Frends' task-based approach, you can configure and customize Edifact integrations according to your specific 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 Edifact integrations and how they are implemented in Frends.

### Parse Edifact and save data to SQL Server

By using the file trigger and the [`Edifact ConvertToJson`](https://docs.frends.com/tasks/tasks/edifact/converttojson) task we can create an integration that receives incoming Edifact messages, validates them and saves to a database.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-362e2eca150fa4ee2aa7582d7066e5135b9a6235%2Fedifact-parse.svg?alt=media" alt=""><figcaption><p>Parse Edifacts</p></figcaption></figure>

### Create Edifact documents from predefined templates

By using the [`Edifact ConvertToJson`](https://docs.frends.com/tasks/tasks/edifact/converttojson) and [`Edifact CreateFromJson`](https://docs.frends.com/tasks/tasks/edifact/createfromjson) tasks we can create an integration that can create a new Edifact document from an existing template.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-25e9f74aa047451f1f0aca9baca89e6a48017cc7%2Fedifact-create-from-template.svg?alt=media" alt=""><figcaption><p>Create from template</p></figcaption></figure>
