AI Workflow Automation for EDI and File Transfer
Most flows still have one step where a person has to read something. The AI Connector takes it over, running your prompt on each message with the model you choose.
The AI Connector
We designed the AI Connector to behave like every other connector in Arc, so building a flow works the way it always has. Whatever the model returns moves on to the next step.
- Runs as a trigger, a transform, or a terminal step
- Prompts are written in ArcScript, so they can pull values from the message and the flow
- Reads PDFs and images when you attach input messages to the request
- Returns JSON when your model supports structured output
- Uses your global AI Settings, or a different provider for just this step
How to Add an AI Step
Add the step
Drop the AI Connector into your flow as a trigger, a transform, or a terminal step.
Write the prompt
Write a user prompt, and a system prompt if you want one, in ArcScript. Suggested Prompts give you a starting point. To work on a text file, include the message body in the prompt.
Send what the model needs
For PDFs and images, turn on Attach input messages to requests. If your model supports structured output, ask for JSON so the next step gets clean fields.
Test it
On a trigger, click Test. For a transform or terminal step, paste sample content into Input Body on the Testing tab and click Test.
Common Use Cases
The same few jobs come up again and again, and each one is a good fit for an AI step.
EDI teams
- Turn an inbound X12 file into a plain-language summary for people who don’t read EDI
- Classify and summarize transactions as they pass through a flow
File transfer teams
- Classify incoming files so the next step routes them correctly
- Pull invoice and order fields out of PDF attachments
- Translate documents before they’re delivered
Built for EDI and File Transfer
An AI step is only as useful as the systems around it. In Arc, it shares a flow with your X12, EDIFACT, AS2, and SFTP connectors, so there’s nothing to bolt on and nothing extra to host.
EDI and MFT in the same flow
Translation, partner exchange over AS2 and SFTP, and the AI step are all connectors in one flow, monitored in one place.
Self-hosted, with a local model
Run Arc on your own infrastructure with a local Ollama model, and the AI step works on data that never leaves your network.
Logged like every other step
The AI step shows up in the same transaction logs as the rest of the flow, and it can only change its own output.
How the AI Connector Behaves
The AI Connector runs your prompt on each message that reaches it, and your flow decides what happens next. Test the prompt on real messages before it goes live, because AI can be wrong.
Want answers about your flows instead? Connect an AI agent through the embedded MCP server.
AI Workflow Automation FAQ
-
What is AI workflow automation for EDI?
It’s a model step inside an automated EDI or file transfer flow, so jobs like summarizing, classifying, translating, or extracting data happen as messages move through. In CData Arc, the AI Connector is that step. It sits next to your X12, EDIFACT, AS2, and SFTP connectors and hands its output to the next one.
-
Is the AI Connector an AI agent?
No. It runs the prompt you wrote on each message that reaches it. It doesn’t plan, remember earlier messages, or act on its own. If you want an agent that answers questions about your flows, connect one to Arc’s MCP server.
-
Can it read PDFs and images?
Yes. Turn on Attach input messages to requests and the connector sends binary files like PDFs and images to the model. For text files, include the message body in the prompt.
-
Which model does the AI step use?
The provider in your global AI Settings, unless you set a different one on that connector. Arc supports Claude, DeepSeek, Gemini, Grok, Ollama (cloud or local), OpenAI, and any OpenAI-compatible service.
-
How do I test a prompt before production?
On a trigger, click Test. On a transform or terminal step, paste a sample into Input Body on the Testing tab and click Test. Use real messages, since AI output can be wrong.
Put an AI Step in Your Next Flow
Start a trial and point the AI Connector at the step your team still does by hand.