﻿# How an AI startup distributes a useful agent inside the buyer’s existing workflow

Choose an embedded action surface where the user already has the right record and authority, and measure work completed through that placement.

Author: Retrivium team
Updated: 2026-11-08
Canonical URL: https://retrivium.ai/journal/startup-embedded-agent-distribution-record-surface/
Language: en

An AI startup helps a merchant investigate fulfillment errors. The operator already opens the order in the store’s admin panel. An embedded action can carry order context into a proposed check without making the operator start in a separate chat. That placement changes both product adoption and the permissions the startup must prove.

## Choose the surface with the right record

Find the existing screen where a buyer starts the job and reviews its result. Shopify documents extension surfaces on administration resource pages, including orders. An app can use an eligible surface as a specific entry point. Start by asking which case fields and actions the operator can verify there without switching to another system. [Shopify apps in admin](https://shopify.dev/docs/apps/build/admin).

## Bind the click to tenant and role

Resolve the requesting tenant, session and selected order before exposing work. Shopify’s embedded app authentication documentation describes session-token validation and access-token exchange. Keep the granted scope and selected record separate in the product design. A visible button can open an authorized operation only after the application checks that the user may act on that order. [Shopify embedded app token exchange](https://shopify.dev/docs/apps/build/authentication-authorization/implement-token-exchange).

## Measure context retained during handoff

Replay a dispute from the order screen, a search view and a shared link. Observe whether the agent sees the right order version and can return a result to its owner. A separately hosted approval step may still be necessary. Save the reference to the outcome beside the order so a colleague can resume later.

## Use distribution metrics tied to work

Compare eligible operators, invoked actions, accepted outcomes and time spent returning to the source record. Record failed permission checks and abandoned reviews. An embedded placement can reduce navigation while also excluding buyers who use another admin workflow. Compare comparable merchant cohorts before treating installation count as a measure of distribution efficiency.

## Protect portability as placement expands

Choose an embedding when its record context makes the job measurably easier. Keep the job’s evidence, outcome and authorization record available to the buyer outside the surface itself. Document the path if the host platform changes placement or permission requirements. This preserves a usable operating procedure alongside a promising distribution channel. Test an export and a manual restart before adding the next host surface.

## Related reading

- [Shopify webhook delivery order differs from trigger time](/journal/guide-shopify-webhook-trigger-time-order/)
- [Renewing a Dot app connection: confirm the account and allowed actions](/journal/frontier-dot-app-connection-renewal-account-scope/)
