Customer Agent Console
3,912
Conversations this week
4
Channels
18
Refunds awaiting approval
| Channel | Calls the agent with | Conversations | Writes awaiting approval |
|---|---|---|---|
| Website help | Token: web-backend | 2,104 | 9 |
| Mobile app | Token: app-backend | 1,377 | 6 |
| Support chat | Token: support-chat | 389 | 3 |
| Slack Connect | Token: slack-workflow | 42 | 0 |
What matters here
- A Tray Helix agent can serve every customer channel from one deployment, called through its app's API route.
- Each channel calls the agent with a Helix API token: a named API user you can revoke, with every call logged.
- Your own front end shows the answer, so the experience is in your brand with no vendor chat widget.
- Keep the token on your server. The browser talks to your backend, and your backend talks to the agent.
- Writes still wait for approval from your team, so a customer conversation can't change an account on its own.
Who this is for
You run digital, support or product, and you want an agent in front of customers on your site and in your product. You don't want a third-party widget, or a separate bot for each channel.
How it works in practice
A customer asks on your site; your team approves what changes.
- 1
A customer asks on your site
In your own help panel, in your own design.
- 2
Your backend calls the agent
It sends the message and a conversation ID to the agent's API route with the website's Helix API token.
- 3
The agent works
It reads orders, plans and help articles through its tools.
- 4
Writes wait for your team
A refund or plan change is a tool marked for approval. Your support team approves it in the console.
- 5
Your front end shows the answer
The reply comes back to your backend and your site renders it in your brand.
What a one-agent, every-channel setup is made of
One agent, one route, a token per channel and your own front ends.
The agent and its tools
Read tools for orders, plans and help, and write tools marked for approval.
An API route
Takes a message, a conversation ID and the customer's ID, and returns the reply or a waiting status.
A token per channel
A named Helix API token for each caller, so you can see and revoke each one on its own.
Your front ends
Your site, app and chat render the reply in your brand. The token stays on your servers.
The prompts
Paste these into Claude Code, Codex or Cursor in order. Each one leaves you with something that runs, so you can stop after any step.
These prompts start from a Helix project, which is what handles sign-in, credentials and hosting. Start with Helix.
The agent and its route
One agent, ready for any channel.
Create a Helix app: a customer support agent with a console for our support team.
Add an API route for the agent. It takes a message, a conversation ID, a customer ID and the channel name, runs the agent, and returns the reply, or that a change is waiting for approval. Keep conversations separate per customer.
Give the agent these tools:
- get_customer: read the customer's account, plan and recent orders.
- search_help: search our help articles.
- issue_refund: refund an order.
- hand_over: open a ticket with the conversation so far, for a person.
Mark issue_refund as needing approval every time, and only for orders on the calling customer's account.
The console for your team
Where approvals and channels are managed.
Build the console for the support team: conversations by channel, refunds waiting for approval with the exact input, and hand-overs.
Show a channels view: each caller's token name, conversations this week, and writes waiting for approval.
Call it from your site
Your brand, your backend, the agent behind it.
Write the server code our website backend uses to call the agent: send the message, conversation ID, customer ID and channel "web" to the agent's route with our web Helix API token, read from our environment.
The browser calls our backend, never the agent directly, so the token never reaches the browser.
Connect it to real systems
Your customer data, your help desk.
Now connect the agent app to the systems we actually run.
Anything in angle brackets is a placeholder. Swap it for whatever we use.
<Stripe>. Read invoices and subscriptions, and issue refunds after approval.
<Zendesk>. Read the customer's tickets, and open a ticket on hand-over.
Only write through issue_refund and hand_over.
Ship it
A URL for the console, a route for every channel.
Deploy my app.
What it connects to
Every channel calls the same route. The agent's tools reach your systems through Tray.
- Your website and app Call the agent route from your backend with a Helix API token. Reads and writes
-
Zendesk Read the customer's tickets, and hand over to a person with the conversation so far. Reads and writes -
Stripe Read invoices and subscriptions, and issue refunds after approval. Reads and writes
-
Slack A Tray workflow calls the same agent for customers in shared channels. Reads and writes
Named systems are the ones most teams actually run, not a list of the only ones that work. Swap in whatever you use.
Running it for real
The build gets you one agent behind every channel. Running it means each caller is named, writes still wait, and one log covers it all.
- 1
One deployment behind every channel
Every channel calls the same deployment, so a fix ships once. Deploy approvals gate changes, and you can roll back any deployment.
- 2
A named token per channel
Each caller uses a Helix API token, a named API user you can revoke on its own, with every call logged.
- 3
Approval before accounts change
Refunds and plan changes wait for your support team, behind the console's sign-in.
- 4
One log for every channel
Every conversation and tool call is logged with the channel it came from, and Tray streams the logs to your SIEM.
- 5
Know what each channel costs
AI usage shows per app, and your run records can split it by channel.