How to Use
The Emit a Custom Event brick is used to run another installed extension that runs off a trigger. The ‘eventName’ field defines the name used to refer to the extension, which can be put into the ‘Custom Event’ field of the trigger on a trigger extension set to Custom Event. You can also add data to the ‘data’ field to give that extension access to that data from the start.
Be careful about making infinite loops by having an extension trigger itself or extensions triggering each other.
Inputs
| Name | Required | Type | Description |
|---|---|---|---|
data |
object
|
Optional custom payload/data for the event | |
eventName |
string
|
Trigger event name |
Outputs
| Name | Required | Type | Description |
|---|---|---|---|
| No outputs for this brick defined. | |||