Event-driven notifications. Create an event from an input msg.topic.
Any event-in node with a matching topic specified will receive the input msg.
Inputs
- payload string | buffer
- Optionally, the payload of the message to send to all connected client browser tabs.
- topic string
- Optionally, the MQTT topic to use. Takes preference over the topic defined in settings.
Outputs
If passthrough is set, the input message is sent to the output.
Node Settings
- Name string
- A short description shown in the admin interface
- Topic string
- A topic name to use if the incoming msg does not contain one.
- passthrough string, hidden
-
Set by the 3 radio buttons to one of 'none', 'input', or 'return'.
-
None: No output port.
-
Input: A copy of the input msg is sent to the output.
-
Return: The node listens for output from an
event-return node receiving a msg._eventOriginator property having the same ID as this node.
This allows for sub-flows and loops to be created.