---
title: "AppNotifications"
description: "When a run of the app ends in one of on, EZGH sends a workflows.run.ended message to the queue: {type, runId, appId, workflow, status, output or outputRef, error, startedAt, endedAt}. An output too large for the message is outputRef, a path to GET."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Workflows API

When a run of the app ends in one of on, EZGH sends a workflows.run.ended message to the queue: {type, runId, appId, workflow, status, output or outputRef, error, startedAt, endedAt}. An output too large for the message is outputRef, a path to GET.

## Fields

- `AppNotifications.groupBy` (string, required) — On a FIFO queue, each message's group: the run ID or the workflow's name.
  - one of `"run"`, `"workflow"`
- `AppNotifications.on` (array<string>, required) — The run statuses that send a notification.
  - one of `"completed"`, `"failed"`, `"cancelled"`, `"timedOut"`
- `AppNotifications.queueId` (string, required) — The queue's ID, in the app's project.
  - format `uuid`
- `AppNotifications.workflows` (array | null, required) — Only these workflows' runs notify; null for every workflow.


Source: https://docs.ezghcloud.com/workflows-api/schemas/AppNotifications/index.md
