# Activity timeline (ActivityTimeline) · Booki

> A customer's history and next steps: calls, emails, meetings, notes and tasks. An agent logs and schedules, marked as the agent's; a call says what it can be checked against; removing an entry is a person's.

Source: https://booki.dev/docs/activity-timeline

Sales

# Activity timeline

`ActivityTimeline`

A customer's history and next steps: calls, emails, meetings, notes and tasks. An agent logs and schedules, marked as the agent's; a call says what it can be checked against; removing an entry is a person's.

The person sees

Loading preview…

Bridge demo

```
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.

```javascript
const { agent } = window
const entry = agent.snapshot().filter(
  (entry) => !entry.offPage && entry.component === "activity-timeline",
)[0]
const result = await agent.act({
  steps: [{
    ref: entry.ref,
    action: "logActivity",
    args: [{"kind":"note","subject":"Kunden vil starte i januar"}],
  }],
})
console.log(result.ok) // true
```

Logged a note.

Import from `@booki-aui/react`. For Booki's default styling, add `import "@booki-aui/styles"`.
