Skip to main content
You need the Admin or Member role to create, update, and delete Actions.Learn more about roles in Kosli in Roles in Kosli.
Actions enable you to automate the execution of if-this-do-that workflows based on Kosli events. You can configure actions to either receive a Slack notification or a JSON payload on a custom webhook when certain Kosli events happen. You can configure actions to be triggered by one or more of the following events occurring in one or more environments. The first column is the name shown in the Kosli UI. The second column is the value to use in the API and in the Terraform provider.
ON_SCALED_ARTIFACT keeps its historical name for API compatibility. Kosli no longer records instance scaling events, so this trigger never fires because of a change in replica count.

Slack Notifications

To receive Kosli notifications in Slack, you have two options. You can either use the Kosli Slack App or set up Slack Incoming Webhooks. Both approaches allow you to configure Kosli notifications in Slack, offering flexibility based on your preferences.

Kosli Slack App (recommended)

Subscribe to Kosli notifications using the Kosli Slack App. This method is recommended for a seamless integration. Use the app to create notification settings by running the /kosli subscribe slash command.

Slack Incoming Webhooks

Custom Webhook Notifications

Custom webhook notifications empower you to implement automation workflows for “if-this-then-that” scenarios. Whenever an event that matches your specified notification settings occurs, a JSON payload, as outlined below, is transmitted to your designated custom webhook:
event_type is the trigger’s API value without the ON_ prefix: STARTED_ARTIFACT, EXITED_ARTIFACT, SCALED_ARTIFACT, ALLOWED_ARTIFACT, COMPLIANT_ENV, or NON_COMPLIANT_ENV. For SCALED_ARTIFACT, the description field says which change occurred: the artifact became compliant, became non-compliant, or had new provenance recorded.

Email

Provide a comma-separated list of recipient email addresses. Notifications are sent from noreply@kosli.com.

Manage Actions in the UI

You can manage Actions for your organization in the Kosli UI from the Actions section in the left navigation menu. The Actions sections enables you to:
  • Create Notifications: Create a new notifications settings.
  • Delete Notifications: Remove existing notification settings that are no longer needed.
  • Update Notifications: Modify notification settings as needed.
Last modified on September 14, 2026