Headless Doesn’t Mean Blind

Part 4 of the Architecting Claudeforce series. New here? Start with Part 1 →. The rep did the work without a screen. Now comes the part the demos skip: how do they know it actually worked?


Your rep just updated the Acme opportunity by talking to an AI. No screen, no clicks. They described what happened, a verb did the work (that was Post 3). The assistant replies: “Done!”

Is it, though?

For twenty years, the Salesforce UI wasn’t only where your users did the work. It was how they verified it. The record detail that redrew with the new value. The related list that now showed the task. The report that ticked up by one. Nobody called it “verification,” but that’s what it was: the screen was a continuous, trustworthy receipt for reality.

Go headless and all of that collapses into a single sentence. And a sentence is not a receipt.


The villain: the confident “Done!”

Here’s the uncomfortable bit. The model will say “Done!” with exactly the same cheerful confidence whether the write landed, half-landed, tripped a validation rule, or quietly did the wrong thing. “Done” is the model narrating an outcome, and the narrator is the same system that sometimes invents citations.

So the demo where the assistant says “I’ve updated the opportunity ✅” is, under the hood, asking your rep to trust a claim. In a UI, trust was free: you could see the result. In a chat, trust has to be designed in. If you don’t design it, you’ve shipped something that feels reassuring and proves nothing.


The reframe: UX moved from the screen to the response

Here’s the thesis I want to plant, because it changes the job:

Headless didn’t kill UX. It moved UX from the screen to the response.

The UX architect used to ask “where does this field go on the page?” The new question is “how does the user know, and trust, that it worked?” That’s a design discipline. Call it outcome design, and it’s every bit as real as page layout. Here’s what it’s made of.

1. Return ground truth, not the model’s word

The single most important move. When the createSobjectRecord tool runs, it returns the real record ID and a success indicator, authoritative, straight from the platform. That return payload is your receipt. Surface it (the record link, the resulting field values), not the model’s paraphrase of it. Trust the payload, not the prose. The architect’s rule: never let “Done” stand in for data the tool actually handed back.

2. Design the response like you designed the page

The reply is the new layout, so define it. A good confirmation states what changed, the key resulting values, and a way to go deeper. And this isn’t theoretical. Salesforce already ships it: in the Slack integration, instead of a list of links, the agent returns “a card summarizing the contact’s key interests and a data table of open opportunities.” That card is a page layout that happens to live in a chat. Design yours on purpose instead of accepting whatever prose the model generates.

Since I first drafted this, Salesforce made that discipline official. The Headless Experience Layer (HXL) lets you define the response once as a structured widget, in metadata, and render it natively across assistants: Claude, ChatGPT, Slackbot, Agentforce. Twenty-two components (tables, badges, callouts, buttons) wired to your action outputs through custom Lightning types. In other words: the page layout for the headless era now has a product name. If the field placement matters, if the same confirmation must look the same on every run and every surface, you define a widget. If a conversational summary is fine, you let the model speak. That choice, widget or prose, is now a real architectural decision with a real mechanism behind it.

One honest flag before you standardise on it: HXL is freshly minted — it only left beta in this year’s Dreamforce cycle, the Widget Builder and more channels are still arriving, and your org’s access may lag the blog posts. Check its current status where you live before you bet a design system on it. The discipline of outcome design doesn’t wait for the tooling, though. That’s the point of this post.

3. Reach for a visual artifact when a sentence won’t do

Some outcomes need to be seen. A summary card, a before/after table, a small rendered view (a Claude artifact, a Slack canvas, an HXL widget) is the record-detail page, reconstituted in the agent surface. Use it for anything a rep would normally have scanned a screen to confirm. And know the limits of the new toys: Salesforce’s own guidance says HXL isn’t for charts or heavy visualisation. When the outcome needs a real graph or deep exploration, that’s your cue for the next section, not a fancier widget.

4. Keep a deliberate handoff to the UI

The UI isn’t dead, it’s repositioned. Chat is the place to do and quick-confirm; the full Salesforce UI is still the best place to browse and deeply validate. So design the one-click deep link back to the record or report, and decide when to offer it. The best headless experiences keep a door open to the rich UI for the moment the user wants the whole picture.

5. Surface failure loudly, and remember confirmation isn’t correctness

Two honest cautions here. First: partial failures, validation errors, blocked writes must be stated in plain language, never swallowed behind a green check. Second, and subtler: a successful write is not necessarily the right outcome. “The record saved” and “the right thing happened” are different claims; a value can save cleanly and still be wrong for the business. So design receipts that show enough state for the user to actually judge, and never let a checkmark paper over a bad result.

One more distinction, because the platform now offers it: the write tools ship with approval modes (deny, needs-approval, always-allowed), and “needs approval” is the recommended default. Good. But notice what approval is: consent before the action. It is not proof after it. A rep who approved the write still deserves the receipt. Approval and outcome are two different moments of trust, and outcome design owns the second one. (And there’s a third moment neither of these covers: what the org’s audit trail says about who did the work. That door gets its own post.)

6. Give durable things a place to live

Chat scrolls away. The things a user returns to (their open items, a running summary, today’s numbers) need a place, not a message that’s three screens up by lunch. A pinned Slack canvas or a returnable artifact is the new home tab. Persistence is part of outcome design too.


The shift

So the end user’s door needs more than an action behind it. It needs a trustworthy answer in front of it. The UX we spent two decades perfecting didn’t disappear when the screen did; it migrated into the shape of the response. “Where does the field go” became “what does the user see, and can they believe it.” Design that, and headless stops meaning blind.

Your rep now trusts their door. But step back: your org has a lot of doors open at once. Builders in one lane, end users in another, and often several orgs hanging off the same Slack workspace. Keeping all of that from bleeding together is its own discipline.

That’s Post 5.


📬 This is part of the Architecting Claudeforce series. More landing soon. New here? Start with Part 1 →.


Until next time! 🙂


Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply