Audit
Client requests
ClientRequests
Requests to the client, with due dates and answers. An agent drafts and records answers; a person sends, reminds and judges. The email never reaches the agent.
The person sees
Loading preview…
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
"@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"Try the bridge
Open this page in a browser and run the example in the console with a fresh preview. Read the current ref from the snapshot before acting.
const { agent } = window
const entry = agent.snapshot().filter(
(entry) => !entry.offPage && entry.component === "client-requests",
)[0]
const result = await agent.act({
steps: [{
ref: entry.ref,
action: "draftRequest",
args: [{"title":"Lagerliste per 31.12.","recipientName":"Hanne Vik","recipientEmail":"hanne.vik@klient.example","area":"Varelager","dueDate":"2026-11-30"}],
}],
})
console.log(result.ok) // trueDrafted a request for the stock list.
Import from @booki-aui/react. For Booki's default styling, add import "@booki-aui/styles".