Aggregating Events with Tag Actions

For use cases where you need to use the same Cloud Action logic on a given stream on multiple devices, you can use a tag to aggregate events from the same stream on multiple devices. A tag is a key/value pair that is applied to a device to store a property that can be used by Cloud Actions to send events.

📘

Note

Multiple Tags can be applied to a device.

The process involves adding the same tag to multiple devices, so that the same Cloud Action works on the specified stream on all devices that have that tag. This allows you to maintain the Cloud Action and its logic in one place, rather than having to create and maintain a Cloud Action for multiple devices.

The steps below show how to create a tag and then use it to aggregate events:

  1. Navigate to Device > Details.
  2. Click Add a new tag, enter a key and value, and click the checkmark.
  3. (Optional) Repeat the previous step for additional devices.
  4. Follow the steps in Cloud Actions to create a new Cloud Action, but set Aggregate multiple devices using a tag to the tag you just created.

After the Cloud Action has been created, the source stream for the will appear on the stream listing page in the form of @<tag>/<source>. For example: @check_inbox=True/:inbox.