Set alert data action
Automation · 3 min read ·
Fills in the text and images the next alert will use.
Set alert data is the alert.set Automation action. Fills in the text and images the next alert will use.
Availability: Choose this action in a flow when its feature and required connections are available to your channel. Before you start: The Advanced alert source on the Stage (it was called Alert before). It plays only from Automation.
Options and starting values
The values below are what the editor starts with for a channel with no matching resources selected. They are starting values, not a guarantee that the step can run as shown. Required resource choices and trigger fields may change the starting values.
kicker— text; maximum 60 characters; optional; editor leaves this unset; accepts fill-ins.heading— text; minimum 1 characters; maximum 120 characters; optional; editor starts with{channel}; accepts fill-ins.message— text; maximum 300 characters; optional; editor leaves this unset; accepts fill-ins.amount— text; maximum 300 characters; optional; editor leaves this unset; accepts fill-ins.person— text; maximum 300 characters; optional; editor leaves this unset; accepts fill-ins.rewards— text; maximum 300 characters; optional; editor leaves this unset; accepts fill-ins.media— one of object, exactlynone; optional; editor leaves this unset.audio— one of object, exactlynone; optional; editor leaves this unset.duration— one of object, object; optional; editor leaves this unset.data— map of one of text, one of complex value, complex value, complex value; optional; also checked by an action-specific rule; editor leaves this unset; accepts fill-ins.elements— map of any value; optional; editor leaves this unset.
Additional validation: This action checks combinations of options as well as individual fields. The editor reports the exact problem when saving.
In a flow
Add Set alert data after the event, command or timer that should cause it. Fills in the text and images the next alert will use.
For orientation, the editor starts with {"heading":"{channel}"} in a blank channel. Complete any placeholder destination, resource or text before enabling the flow; passing the field schema alone does not prove this will run.
In tests default: New Set alert data steps start at Apply. The trigger editor’s Run test currently applies every action regardless of this per-step default. Use a harmless flow when learning the Test panel; a test can make real changes.
Values for later steps
This action does not declare a named output for later steps.
If the step fails
The run log records the failed step and its reason. The step’s Stop the run if it fails setting decides whether later steps run. Missing connections, permissions, or required choices can prevent this step from completing.