...
You can place custom logic and the Proactive Events schema (event object and localized Attributes object, if present) in this function node.
...
...
When changing complex data types such as bookingTime, startTime, etc., you have to use a dynamic variable and assign the values.
Unicast
To send Send notifications to specific users within a skill , change the parameters by changing the "type"
to "Unicast"
in the function node as shown below.
...
Multicast
To send Notifications in the relevantAudience
object and the msg.payload.data
object.
Code Block |
---|
"type": "Unicast" |
...
Multicast
Send notifications to all the subscribed users that are subscribed to of the skill , change the parameters by changing the "type"
to "Multicast"
in the function node as shown in the following image.
...
relevantAudience
object and the msg.payload.data
object.
...
Endpoint
Depending on the region, you can choose the endpoint that Amazon supports.
...
The following sample flow sends weather alerts to the users. The JSON file of the sample flow is attached to this document.
Attachments | ||||||||
---|---|---|---|---|---|---|---|---|
|
Related Articles
Filter by label (Content by label) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|