---
title: Activity Log notifications
slug: optimizely-connect-platform/docs/activity-log-notifications-ocp2
createdAt: 2026-07-23T12:37:04.527Z
---

You can log important account-level events to the Optimizely Connect Platform (OCP) [Activity Log](docId\:iFvVHEUE8tk4PlyXWw4Ro) using the [App SDK's notifications](docId\:hZKIHzcLNzsnpYLNMeT5k).

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/0xQKvswyOPpikAz0si8kW_cf5c87a7bb7963e73eb39d590504e33a542066f898cec23189da85a3ad128f54-image.png)

The OCP Activity Log provides detailed information regarding significant activity, like data or file load jobs, integration syncs, and more. Each notification is made up of the following fields:

- `activity` – Typically an enumerated set of values that represent the activity being logged. Maps to the **Activity** column in the OCP Activity Log table.
- `title` – Title for the activity being logged. Maps to the **View Details** column in the ODP Activity Log table.
- `summary` – Summary of the activity being logged. Should include important information related to the activity. Maps to the **View Details** column in the ODP Activity Log table.
- (Optional) `details` – By default, the combination of `title` + `summary` is used to create the details of the entry. By supplying this optional field, you can provide additional details regarding the notification. Maps to the **Details** and **View Details** columns in the ODP Activity Log table.

In addition to these fields, notification entries also include a related status, which is one of the following:

- `info`
- `success`
- `warn`
- `error`

## Enable notifications with the App SDK

The App SDK exposes the notifications feature through the `notifications` instance, which you can import as follows:

```typescript
import {notifications} from '@zaiusinc/app-sdk';
```

The `notifications` instance follows the App SDK's `Notifier` interface.

```typescript
export interface Notifier {
  /**
   * Create an informational notification.
   * @param activity The activity
   * @param title The title
   * @param summary The activity summary
   * @param [details] The activity details
   */
  info(activity: string, title: string, summary: string, details?: string): void;

  /**
   * Create a success notification.
   * @param activity The activity
   * @param title The title
   * @param summary The activity summary
   * @param [details] The activity details
   */
  success(activity: string, title: string, summary: string, details?: string): void;

  /**
   * Create a warning notification.
   * @param activity The activity
   * @param title The title
   * @param summary The activity summary
   * @param [details] The activity details
   */
  warn(activity: string, title: string, summary: string, details?: string): void;

  /**
   * Create an error notification.
   * @param activity The activity
   * @param title The title
   * @param summary The activity summary
   * @param [details] The activity details
   */
  error(activity: string, title: string, summary: string, details?: string): void;
}
```

To send a notification, call the appropriate method on the `notifications` instance.

```typescript
notifications.success('Nightly Import Job', 'Import succeeded', 'Imported 10 items', 'Details');
```

## Review the Activity Log

To access and review the log's information:

1. Go to **Settings > Activity Log** in the OCP UI.
2. Use the **Category**, **Activity**, and **Status** drop-down lists to refine the log's results.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/t7-cPsguVe_-vnSULuAR-_c753bb1613a707d912f87543e400e1f3c7979d057dd6b19288894f165bbdc66b-image.png)
