Automating Supplier Ticket Management with LLM Agents

wayfair · E-commerce · 2025 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Supplier support ticket triage

Wayfair needed to automate repetitive supplier-ticket triage in SupportHub: reading unstructured tickets, looking up supplier data, and populating structured JIRA fields without losing reliability on edge cases.

Constraints:

Architecture

Wilma uses an event-driven LangGraph workflow triggered by SupportHub ticket events. A webhook publishes new-ticket events to Pub/Sub, a consumer invokes a graph, and the graph runs ordered LLM and tool calls for question-type classification, language detection, supplier-ID lookup, and JIRA updates. The final design is hybrid: deterministic workflow orchestration wraps a ReAct supplier-ID agent with BigQuery access for the one step that needs adaptive query reformulation.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  supporthub-ticketing-system[SupportHub ticketing system] --> pub-sub-topic[Pub/Sub topic]
  pub-sub-topic --> pub-sub-consumer[Pub/Sub consumer]
  pub-sub-consumer --> langgraph-workflow[LangGraph workflow]
  langgraph-workflow --> intent-classification-llm[Intent classification LLM]
  langgraph-workflow --> language-detection-llm[Language detection LLM]
  langgraph-workflow --> supplier-id-react-agent[Supplier ID ReAct agent]
  supplier-id-react-agent --> bigquery[BigQuery]
  langgraph-workflow --> jira-api[JIRA API]
  jira-api --> supporthub-ticketing-system
  langgraph-workflow --> arize-observability[Arize observability]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
SupportHub ticketing system Creates and stores supplier tickets in the JIRA-based support workflow. Pub/Sub topic, JIRA API
Pub/Sub topic Receives webhook events for newly created supplier tickets. SupportHub ticketing system, Pub/Sub consumer
Pub/Sub consumer Listens for ticket-creation events and invokes the LangGraph graph. Pub/Sub topic, LangGraph workflow
LangGraph workflow Coordinates ordered LLM and tool calls for ticket triage. Pub/Sub consumer, Intent classification LLM, Language detection LLM, Supplier ID ReAct agent, JIRA API, Arize observability
Intent classification LLM Identifies the ticket's primary question type. LangGraph workflow
Language detection LLM Identifies the supplier's preferred language. LangGraph workflow
Supplier ID ReAct agent Uses reasoning and BigQuery tool calls to determine the supplier ID. LangGraph workflow, BigQuery
BigQuery Provides tabular supplier information queried by the ReAct agent. Supplier ID ReAct agent
JIRA API Updates SupportHub tickets with structured triage fields. LangGraph workflow, SupportHub ticketing system
Arize observability Provides trace search, debugging, and anomaly alerts for the execution graph. LangGraph workflow

Data flow

A supplier email creates a SupportHub ticket, which triggers a webhook and Pub/Sub event. The Pub/Sub consumer invokes a LangGraph graph. The graph classifies the ticket question type and language with LLM calls, invokes a ReAct agent with BigQuery access to identify the supplier ID, and then calls the JIRA API to update the ticket fields. Arize traces and alerts monitor the multi-step execution.

3 supporting quotes
“When a supplier emails Wayfair a new ticket is created in SupportHub, and a webhook publishes an event to a Pub/Sub topic.”article, stated
“This graph orchestrates calling LLMs, querying tabular data in BigQuery, and interacting with SupportHub. ![architecture.”article, stated
“Step #3 is by far the most complicated step as the reasoning+acting ReAct LLM agent is given a high level task (“Identify the supplier ID given the information on the ticket”) and access to a BigQuery tool.”article, stated

Why this architecture

Wayfair moved away from fully autonomous multi-agent coordination because it was unreliable and costly, then moved beyond a rigid workflow because the workflow failed on edge cases. The hybrid architecture keeps deterministic ordering for the overall triage flow while letting the supplier-ID step use agentic retry and query reformulation where it adds value.

3 supporting quotes
“When we first began this work we naively assumed that a fully agentic approach would work.”article, stated
“We found that this workflow approach was much more reliable and easier to debug, and it cost less because it resulted in fewer LLM calls.”article, stated
“This gave us the best of both worlds, deterministic guarantees about the order of operations, but also intelligent error handling thanks to the agent’s ability to interpret and overcome edge case errors.”article, stated

Models used: LLM for question-type classification · LLM for language detection · ReAct LLM agent

Scale

Alternatives considered (roads not taken)

Fully agentic supervisor with multiple specialized agents

Rejected because: Agents missed information passed between one another and the supervisor could invoke agents unnecessarily.

“we created a ticket management agent responsible for interacting with SupportHub, a classification agent to handle the question type and language, and a supplier ID agent to look up the supplier ID.”article, stated
“observed failures both in communication (one agent would provide information that another would ignore) and coordination”article, stated

Pure workflow with no embedded agent

Rejected because: It was cheaper and easier to debug but failed on edge cases such as typo-tolerant supplier lookup.

“However, we observed that it was bad at handling edge cases. For example, if the supplier’s email address had a typo in it”article, stated

Raw logs as the main debugging interface

Rejected because: Purpose-built trace navigation and search worked better once the graph became complicated.

“having a purpose-built UI for navigating and searching traces is much more effective than looking at raw output logs.”article, stated

Patterns

tool-use-orchestration (orchestration)

LangGraph coordinates LLM calls, BigQuery queries, and JIRA/SupportHub updates in one ticket-triage workflow.

“This graph orchestrates calling LLMs, querying tabular data in BigQuery, and interacting with SupportHub.”article, stated

async-message-orchestration (orchestration)

Ticket creation is decoupled from automation work through webhook events, Pub/Sub, and a consumer that invokes the graph.

“a webhook publishes an event to a Pub/Sub topic. Our Pub/Sub consumer listens for these events”article, stated

structured-output-contract (integration)

The automation populates fixed ticket fields: supplier ID, primary question type, and preferred language.

“they set the supplier ID, the primary question type, and the supplier’s preferred language.”article, stated

observability-tracing (operations)

Arize provides trace navigation, debugging, and anomaly alerts for graph executions.

“We use Arize for our observability platform and rely on it for both pre-launch development and post-launch debugging.”article, stated
“we use Arize to set up alerts that notify us about anomalous shifts in metrics such as token usage or latency.”article, stated

confidence-thresholding (quality)

The system compares automated triage accuracy against human baselines and reports separate accuracy measures for each field.

“accurately identifying the question type 93% of the time, the language 98% of the time, and the supplier ID 88% of the time.”article, implied

Tradeoffs

Use a hybrid workflow plus embedded agent

Chose deterministic workflow orchestration with a ReAct agent for supplier-ID lookup over a fully agentic supervisor coordinating all subtasks.

Rationale: The workflow provided reliability, debuggability, and lower cost, while the embedded agent preserved adaptive error handling for the one step that needed it.

“What we ultimately found worked best was a hybrid approach consisting of a workflow where one of the nodes within the workflow was itself an agent for looking up the supplier ID.”article, stated
“deterministic guarantees about the order of operations, but also intelligent error handling thanks to the agent’s ability to interpret and overcome edge case errors.”article, stated

Prefer explicit workflow calls for most steps

Chose a defined series of LLM and function calls over supervisor-mediated delegation among agents.

Rationale: The explicit workflow was more reliable, easier to debug, and cheaper because it reduced unnecessary LLM calls.

“we explicitly defined a series of LLM and function calls needed to accomplish the goal.”article, stated
“much more reliable and easier to debug, and it cost less because it resulted in fewer LLM calls.”article, stated

Invest in LLM-specific observability

Chose Arize trace visualization, search, and alerts over looking at raw output logs.

Rationale: Graph executions became complicated enough that searchable traces and anomaly alerts were operationally more useful than raw logs.

“having a purpose-built UI for navigating and searching traces is much more effective than looking at raw output logs.”article, stated
“alerts that notify us about anomalous shifts in metrics such as token usage or latency.”article, stated

Gotchas (what bit them)

Pure multi-agent coordination was unreliable.

Root cause: Autonomous agents ignored information from other agents and the supervisor repeated calls unnecessarily.

Resolution: Wayfair replaced the fully agentic design with a workflow and kept agent autonomy only inside the supplier-ID lookup node.

“observed failures both in communication (one agent would provide information that another would ignore) and coordination”article, stated
“we turned to a workflow approach where, instead of relying on a supervisor agent to orchestrate the operation of subordinate agents”article, stated

Rigid workflows failed on messy edge cases.

Root cause: A deterministic lookup could stop at the first failed database query even when the ticket contained typo-like errors.

Resolution: Wayfair embedded a ReAct supplier-ID agent that could try different query strategies and reformulate based on observed results.

“the workflow approach would fail on the first lookup, whereas the agentic approach would be smart enough to observe the error, recognize there might be a typo”article, stated
“allowing it to try different querying strategies and reformulate its queries based on the results it observed.”article, stated

Complex LLM graphs became hard to debug with ordinary logs.

Root cause: Multi-step graph invocations require searchable execution traces rather than raw output inspection.

Resolution: The team used Arize for pre-launch development, post-launch debugging, trace navigation, and anomaly alerts.

“Once the execution graph becomes complicated, being able to visualize and search through steps easily is invaluable.”article, stated
“a purpose-built UI for navigating and searching traces is much more effective than looking at raw output logs.”article, stated

Evaluation

Wayfair evaluated triage performance against human baselines and monitored production graph behavior with Arize traces and alerting.

Metrics: 93% question-type identification accuracy · 98% language detection accuracy · 88% supplier-ID identification accuracy · 75% human question-type identification baseline · token usage and latency anomaly alerts

3 supporting quotes
“accurately identifying the question type 93% of the time, the language 98% of the time, and the supplier ID 88% of the time.”article, stated
“humans correctly identify the question type only 75% of the time (across 81 possible categories).”article, stated
“alerts that notify us about anomalous shifts in metrics such as token usage or latency.”article, stated

Outcomes

The article reports accuracy across 81 possible question categories but does not disclose ticket volume or latency figures.

“Wilma reduces the time it takes to process a ticket and allows our associates to focus on complex problem-solving and high-value supplier interactions instead of manual data entry.”article, stated
“better-than-human performance by accurately identifying the question type 93% of the time”article, stated