Skip to main content

Create a notification channel

This is the final step in the agent setup. The agent is installed and registered, but it stays idle until you connect it to platform events. A notification channel defines which events the agent listens to and what it runs in response.

Create a channel

Create a channel to define your agent’s response to platform events.

Supported types

You can configure the channel using either of these types:

  • type: agent: (Default) Executes a local script through the agent
  • type: http: ends a request to a remote HTTP handler

Prerequisites

Example: Trigger a script on service events

This channel listens for service events and runs a local script inside your environment:

  1. Go to Platform settings > Notifications > Channels and click + New channel.
  2. Set the source (e.g., Service).
  3. Select agent as the type (or http for HTTP channels).
  4. Fill in configuration, then click Create channel.
Create an agent notification channel in the nullplatform UI

Example: Trigger a script for telemetry actions

If you want to handle telemetry events (logs, metrics, instances), set up an agent channel for telemetry events.

👉 See our dedicated documentation on telemetry for more details.

How it works

The diagram below shows the basic flow when a notification channel is triggered:

What happens step by step

  1. Nullplatform emits an event (e.g., service deployed).
  2. A notification channel forwards the event to your infrastructure’s agent.
  3. The agent runs the configured script or handler.
  4. The script executes locally, inside your infrastructure.
  5. The agent optionally returns logs or results to nullplatform.