
Gail at Summit Ridge Promotions, a distributor, sends an embroidery order to a decorator on a Friday at 4:55. Her system gets a "200 OK" and she goes home happy. On Monday the decorator's team opens their inbox and finds the order, along with a confident message from Gail's side saying the caps were "confirmed and in production."
The decorator, whose lead is named Rod, says nothing was confirmed and the thread colors were never specified. Both companies had an agent, both agents had been polite, and neither had agreed what "OK" meant. Rod says the only thing that got released over the weekend was Gail's optimism. The confusion is a design problem that can be tested before it costs anything.
Distributor and decorator agents can exchange order data in a deliberately implemented workflow, but direct exchange is useful only when both companies verify identity, agree on the packet format, and define what each acknowledgment authorizes. Receipt, draft creation, commercial acceptance, and production release should be distinct states.
This post is a conceptual blueprint. It describes how such a workflow could work and is an integration design to test, not evidence that two existing agents can already transact safely. It is not a claim that a particular agent pair or Trelium integration is deployed. For distributor and decorator operators, the starting point should be a bounded order exchange.
Give the exchange a narrow purpose
Start with one agreed action, such as submitting a decoration job for validation and draft creation. Define the sending company, receiving company, permitted account, supported order types, and information allowed in the packet.
Keep separate permissions for creating a draft, approving commercial terms, reserving capacity, releasing production, and authorizing charges. Receiving a well formed packet should not grant the receiving agent every one of those powers.
Treat free text instructions as order data. A note inside an attachment that tells an agent to change its rules or send unrelated customer records elsewhere must not override the permissions established by the companies. The receiving workflow should validate the request through its own controls.
Agree on a minimum order packet
The shared format should include:
- Sender and recipient account identifiers, customer PO number, and a unique exchange identifier.
- Order version and the identifier of any version being replaced.
- Product lines with supplier or style references, color, size, quantity, and unit.
- Decoration operations linked to the relevant product lines.
- Artwork references, file versions, and known approval state.
- Requested dates, shipping details, packing instructions, and split quantities where applicable.
- Approved commercial references and any unresolved questions.
Define required fields and allowed values, including how to represent "unknown" and "not applicable." Specify the format version so that a future change does not make an old packet unreadable.
Send only the data the decorator needs. Customer margin or unrelated end customer records should not become part of the exchange by default. Verify that artwork and order attachments can be accessed by the intended recipient under the agreed permissions.
Use acknowledgments with distinct meanings
A network success response does not by itself prove commercial acceptance or production release. Its meaning depends on the agreed contract. Define separate acknowledgments for receipt, validation, draft creation, commercial acceptance, and production release when those stages exist. The cap order handoff below shows how the stages stay distinct.
- Input: The distributor sends exchange EX-204, version 1, requesting embroidery on 200 caps. The packet identifies the caps and logo file but omits thread colors. The agreed initial permission covers validation and draft creation only.
- Decision: The receiver may acknowledge receipt but cannot mark the decoration specification complete. A network success response does not approve price, capacity, or release.
- Action: Return EX-204 and version 1 with a thread color exception and the question the distributor's order owner must answer. If a draft exists, also return its identifier and unreleased state.
- Stop: Keep production unreleased until the required specifications and approvals are recorded. Display "awaiting thread color confirmation," and do not treat a receipt acknowledgment or silence as acceptance.
For a retry test, deliberately lose the response after draft creation. The proposed passing result is one draft and a retrievable outcome for EX-204, and never two jobs.
Each response should refer to the same exchange identifier and order version, and it should include the receiving company's order identifier once it exists. A rejection should identify the field or rule that failed and the next useful action, so the sender can correct a specific problem.
Make retries safe
Networks fail at awkward moments. The decorator may create a draft order while the acknowledgment fails to reach the distributor, and repeating the request without duplicate protection can create another job.
Agree on a request identifier that remains the same for a retry of the same action. The receiver should recognize a previously processed request and return its recorded outcome. A changed payload needs explicit version or conflict handling and should not quietly reuse the old request identity.
Also define how long duplicate records are retained and what happens when the outcome is uncertain. A sender should be able to ask for the status of an exchange before attempting a new submission.
Give exceptions an owner on both sides
A cross company workflow can stall if each agent waits for the other. Name an operational contact at the distributor and decorator, with a route for missing artwork, mapping disputes, pricing questions, and deadline conflicts.
The exception packet should carry the relevant source evidence and the question to answer. Avoid sending the entire customer history when a single approved proof or specification will resolve the issue.
Set expectations for response time and escalation around the actual production deadline. An unattended queue should become visible to a person before it threatens the order, and any automated follow up must stay within the agreed communication scope.
Handle revisions as a new negotiation
A later quantity or artwork change should reference the accepted version and show the proposed difference. The receiving company must evaluate work already committed before accepting it.
Keep "change requested" separate from "change accepted." If some garments are already decorated, the response may need to identify the completed quantity and request a human decision. Silence or a receipt acknowledgment should never be interpreted as approval of a revision.
Test the boundary before scaling
Use a joint test set that includes missing files, duplicate messages, an unavailable receiving system, unauthorized account access, late revisions, and conflicting identifiers. Both companies should agree on the expected outcome and inspect the resulting records.
Measure orders accepted correctly, duplicate effects, unresolved exceptions, acknowledgment delays, and time to recover from a failed exchange. Reconcile the sending and receiving records regularly during the pilot.
Direct exchange becomes valuable when each side can say what was sent, received, accepted, and released. Shared formats help move the data, and explicit responsibility makes the handoff dependable.
Checklist for a bounded order exchange
Before two companies connect agents, agree on each of these:
- One narrow action, with named sender, receiver, account, and order types.
- Separate permissions for draft, commercial approval, capacity, release, and charges.
- A minimum packet with required fields, allowed values, and a format version.
- Distinct acknowledgments for receipt, validation, draft, acceptance, and release.
- A request identifier that stays the same on retry, and a status lookup for each exchange.
- A named exception contact at each company, with response times tied to the production deadline.
- A rule that a revision is a new proposal and silence is never approval.
- A joint test set that both companies have run and reconciled.
Limits of this blueprint
No tested cross company agent deployment, transport, authentication scheme, or end to end performance result is described here. The external API reference supports one retry control pattern only. Both companies must validate their own boundary and operational ownership.
FAQ
Can a distributor's agent and a decorator's agent exchange orders directly?
In principle, yes, if both companies deliberately build and test the workflow. This post is a conceptual blueprint and does not describe a deployed capability. The exchange is only useful when both sides verify identity, agree on the packet format, and define what each acknowledgment authorizes.
What should an order packet contain?
At minimum it should carry account identifiers, the customer PO number, a unique exchange identifier, the order version, product lines, decoration operations, artwork references, dates and shipping details, and any unresolved questions. Define allowed values, including how to say "unknown," and send only the data the decorator needs.
Why use different acknowledgments for receipt, draft, and release?
A network success response does not by itself prove commercial acceptance or production release, and its meaning depends on the agreed contract. Receipt, validation, draft creation, commercial acceptance, and production release each authorize something different, so each needs its own acknowledgment. Otherwise one agent may treat a receipt as approval and release work nobody agreed to.
How do you avoid duplicate orders when a response is lost?
Use a request identifier that stays the same when the same action is retried. The receiver recognizes a previously processed request and returns its recorded outcome, and the sender can check an exchange's status before submitting again. Each company must confirm that its own system actually enforces this.
Who handles exceptions between the two companies?
Each company names an operational contact for missing artwork, mapping disputes, pricing questions, and deadline conflicts. The exception packet carries the evidence and the specific question, and escalation is timed against the production deadline so an unattended queue becomes visible to a person early.

Anindo Neel Dutta
Member of GTM Staff
Get started
Ready to see Trelium in action?
Schedule a 30-minute conversation about the workflow you want Trelium to handle.
Book a Demo→



