Unify Logo Footer.svg
Unify Automations
Logo
EDI Tools

EDI Tools

Logo

4 mins READ

The EDI Tools node parses and generates EDI B2B documents in X12 and EDIFACT formats so automations can participate in trading-partner exchanges without hand-coding the format.

Overview

EDI Tools is a built-in node for working with Electronic Data Interchange documents — the structured B2B message format used between trading partners for purchase orders, invoices, ship notices, and similar business transactions. It supports both major standards: X12 (common in the United States) and EDIFACT (common internationally). Four operations are available: parse an inbound EDI document into JSON, generate an outbound EDI document from JSON, retrieve high-level information about a document, and fetch the schema for a given transaction set. Use it to automate supplier onboarding, order management, logistics, and any other workflow that exchanges EDI documents with external partners.

Screenshot 2026-08-29 at 14.15.30 1.png
Screenshot 2026-08-29 at 14.15.30 1.png

Operations

Choose one operation per node instance from the four available actions.

Operation

Description

Parse

Converts an inbound EDI document (X12 or EDIFACT) into a JSON object for use in subsequent nodes.

Generate

Builds a well-formed EDI document from a JSON input, producing the correctly formatted output string.

Get Info

Retrieves high-level information about an EDI document — such as its standard, release, and transaction set — without fully parsing the content.

Get Schema

Returns the schema definition for a specified transaction set, useful for understanding expected structure before parsing or generating.

Standards and Setup

EDI Tools covers both major EDI standards across their common releases and transaction sets.

  • X12 — the dominant standard in the US, covering releases 004010 through 005010. Common transaction sets include the 850 (purchase order), 810 (invoice), 856 (advance ship notice), 997 (functional acknowledgement), and others.

  • EDIFACT — the international standard, covering releases such as D96A and D99B. Common message types include ORDERS, INVOIC, DESADV, and similar.

When configuring a Parse or Generate operation, you need to tell the node what document shape to expect or produce. Two approaches are available:

  • Set up from a sample: Provide an example EDI document and the node infers the standard, release, and transaction set automatically. This is the fastest path when you have a real document from your trading partner.

  • Manual specification: Specify the standard, release, and transaction set yourself. Use this when you do not have a sample document or when you need to lock the configuration to a specific release regardless of what arrives.

Delimiters

EDI documents use specific separator characters — segment terminators, element separators, and sub-element separators — to divide data. The defaults differ between X12 and EDIFACT, and individual trading partners sometimes use non-standard delimiters in their documents.

Important: If an inbound document uses non-default delimiters and you do not configure the node to match, parsing can fail silently or corrupt the output data. Always confirm delimiter settings against your trading partner's specifications before deploying an integration.

When receiving documents from a new trading partner, obtain their EDI specifications or a sample document to verify which delimiters they use. Set them explicitly in the node configuration rather than relying on defaults.

Validation

A functional acknowledgement — the X12 997 — may be produced as part of a parse operation, but its presence is not guaranteed. Do not build downstream logic that assumes the 997 will always be available as a parse output.

If your integration requires sending a 997 back to a trading partner after receiving a document, use the Generate operation in a separate node instance to build the acknowledgement from your own data, rather than relying on a 997 surfaced by Parse.

Notes

Keep the following in mind when using the EDI Tools node.

  • EDI Tools supports X12 (releases 004010005010) and EDIFACT (releases such as D96A/D99B).

  • Set up from a sample is the fastest configuration path when you have an example document from your trading partner; use manual specification to lock to a precise release.

  • Delimiters must match the inbound document. Non-default separators configured incorrectly can cause silent parse failures or data corruption.

  • A 997 acknowledgement may appear as a parse output but is not guaranteed — do not make downstream logic depend on it being present.

  • Use the Get Info operation to inspect a document's standard, release, and transaction set without committing to a full parse.

  • Use the Get Schema operation to understand a transaction set's expected structure before building a Parse or Generate configuration.

  • Each operation is a separate node instance — you cannot combine Parse and Generate in a single node.

FAQs

Does EDI Tools support both X12 and EDIFACT?

Yes. Both standards are supported. X12 covers releases 004010 through 005010; EDIFACT covers releases including D96A and D99B.

What is the fastest way to configure the node for a new trading partner?

Use Set up from a sample: provide an example document from the partner and the node infers the standard, release, and transaction set automatically. Verify delimiter settings against the partner's specification before deploying.

Why does my parse output look corrupted?

The most common cause is a delimiter mismatch. If the inbound document uses non-default separators and the node is not configured to match, it can fail silently or produce garbled data. Check the partner's EDI specification and set delimiters explicitly.

Can I rely on the 997 acknowledgement being present after a parse?

No. The 997 may be produced during parse but is not guaranteed. If you need to send a 997 back to a trading partner, use a Generate node instance to build it explicitly rather than passing through whatever Parse surfaces.

What is the difference between Get Info and Parse?

Get Info retrieves high-level document metadata (standard, release, transaction set) without fully parsing the content. Use it when you need to inspect or route a document before deciding how to process it.