1. Tasks
  2. Send Template Message

Tasks

Send Template Message

Allows sending various message types to a Template Context

Basic usage

The below task can be used to show a toast notification message on the template for anyone actively working on it.

loading...

Parameters

templateuuid
required
string

UUID of the template to send the message to : ~~template.templateuuid

context
required
string

Any of the contexts of the template the message should be sent to.
For example, default, _create, _manage, _setup, etc.

payload
required
object

Payload object containing the message data to be sent to the template.

Show child attributes
broadcast_message
optional
string

These messages are shown as toast notifications on the template for anyone actively working on it.

redirect
optional
string

Only supported on the _setup context.
This can be used to redirect the user to a custom URL during template booting.