Skip to main content

Event Tasks

Store and track events for analysis and troubleshooting.

events.store

Display Name: Store Event

Save an event to Nudgebee for later troubleshooting and analysis. Events can trigger notifications, AI analysis, and appear in the event timeline.

Deduplication by finding_id

Events are uniquely identified by the combination of tenant, account_id, and finding_id. If you submit an event with a finding_id that already exists for the same tenant and account, no new event will be created. Instead, the existing event will be updated with the new values for labels, priority, subject_name, subject_namespace, subject_type, cloud_resource_id, subject_owner, and subject_owner_kind. Fields like title, description, starts_at, and evidences are not updated on deduplication.

To create a separate event for each occurrence, ensure each event has a unique finding_id (e.g., append a timestamp or sequence number: PR_kwDOIzHflc7SOPfp::1, PR_kwDOIzHflc7SOPfp::2).

Top-Level Parameters

FieldTypeRequiredDefaultDescription
eventobjectYesThe event object (see below).
trigger_notification_imbooleanNotrueAuto-trigger IM notifications.
trigger_ai_analysisbooleanNotrueAuto-trigger AI analysis.

Event Object Fields

FieldTypeRequiredDefaultDescription
account_idaccountNoCurrent workflow accountNB Account ID.
titlestringYesTitle for the event.
descriptionstringYesDescription for the event.
aggregation_keystringYesEvent type (used for playbook matching).
finding_idstringYesUnique event ID at source. This is the dedup key — repeated values for the same tenant+account update the existing event. To create a separate event for each occurrence, use a unique value (e.g., PR_kwDOIzHflc7SOPfp::1).
finding_typestringYesEvent type at source.
subject_namestringYesEvent subject name.
statusstringYesFIRING, RESOLVED, or CLOSED.
prioritystringYesINFODEBUG, INFO, LOW, MEDIUM, or HIGH.
sourcestringNoautomationEvent source (e.g., prometheus, pagerduty_webhook, automation, etc.).
categorystringNoEvent category.
subject_typestringNoEvent subject type.
subject_namespacestringNoEvent subject namespace.
subject_nodestringNoEvent subject node.
service_keystringNoEvent subject service key.
starts_attimestampNoEvent start time (ISO 8601).
ends_attimestampNoEvent end time (ISO 8601).
fingerprintstringNoEvent fingerprint for deduplication.
clusterstringNoAuto-derived from account nameCluster name.
principalstringNoEvent user/actor.
subject_ownerstringNoEvent subject parent.
subject_owner_kindstringNoEvent subject parent type.
labelsobjectNoKey-value labels for auto investigation.
evidencesarrayNoEvidence attachments (see Evidence schema below).

Evidence Object Fields

FieldTypeRequiredDefaultDescription
typestringNomarkdownEvidence type.
dataobjectYesEvidence data.
filenamestringYesEvidence filename.
additional_infoobjectNoAdditional details for evidence.

Output

NameTypeDescription
idstringCreated event ID.