Notifications
Manage notification automations, jobs, and runs.
| Operation | GraphQL |
|---|---|
| List automations | notification_automations(where: {organization_id: {_eq: $orgId}, application_id: {_eq: $appId}}, order_by: {created_at: desc}) |
| Create automation | insert_notification_automations_one(object: {organization_id, application_id, name, trigger_type, trigger_config, status, ...}) |
| Update status | update_notification_automations_by_pk(pk_columns: {id: $id}, _set: {status: $status, next_run_at: $nextRunAt}) |
| List runs | notification_runs(where: {automation: {organization_id: {_eq: $orgId}, application_id: {_eq: $appId}}}, order_by: {started_at: desc}, limit: 40) |
| List jobs | notification_jobs(where: {organization_id: {_eq: $orgId}, application_id: {_eq: $appId}}, order_by: {created_at: desc}, limit: 40) |
Last updated on