# 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`](/tasks/tasks/edifact/converttojson.md) task we can create an integration that receives incoming Edifact messages, validates them and saves to a database.

<figure><img src="/files/N2NVe4mSe1bEhNEyAlHg" alt=""><figcaption><p>Parse Edifacts</p></figcaption></figure>

### Create Edifact documents from predefined templates

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

<figure><img src="/files/p8IE7IkgZN8wHvB1wghY" alt=""><figcaption><p>Create from template</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.frends.com/tasks/tasks/edifact.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
