Trigger Google Chat Alert

Send a Google Chat alert when a specific condition is met.

Overview

This node triggers an Message in Google Chat based on specified trigger conditions.

Inputs & Outputs

  • Inputs : 1, Media Format : Raw Video
  • Outputs : 1, Media Format: Raw Video
  • Output Metadata : None

Properties

Property

Value

trigger

Send the Message once this trigger condition is met.

The trigger expression must be a valid Dot-notation expression that operates on Pipeline Metadata and evaluates to True or False. See details here.

ex. nodes.annotate_line_counter1.lines.line1.total_objects_crossed_delta > 0

gchat_webhook_url

Incoming Webhook URL from the Google Chat Space to send the message to

Ex. https://chat.googleapis.com/v1/spaces/AAA.../messages

message_title

Message Title

Ex. Overtime Parking detected

message_subtitle

Message Subtitle
Ex. Notify the onsite team immediately.

livestream_node

If specified, includes a link to the live stream from this Stream WebRTC Node in the pipeline.

Ex. stream_webrtcout1

attach_snapshot_node

If specified, includes a snapshot uploaded by this Save Snapshot Node to Lumeo cloud.

attach_clip_node

Includes the most recent clip from the named Save Clip Node with the message. The node must be configured to store clips in the cloud.

timezone

Timezone that this device is located in.

Options:

  • us/pacific
  • us/central
  • us/mountain
  • us/eastern
  • other

timezone_offset

Timezone offset from UTC, in hours, if timezone is set to other

Ex. 7.5

interval

Min time (seconds) between consecutive notifications.

Ex. 10

max_media_wait_time

Maximum time to wait after a trigger until a media clip is available from the Save Clip Node.

Ex. 10

Metadata

Metadata PropertyDescription
NoneNone

Google Chat Webhook URL

  1. Create a new Space in Google Chat to receive Lumeo messages, or navigate to one you want to use. Click on the space name and select "Apps & Integrations"
  1. Select Manage Webhooks
  1. Add a Webhook, give it a name. Then copy the URL and configure it in this node's properties in Lumeo.