What is a Trigger?
The Trigger serves a crucial role in workflow automation by initiating the flow of data based on pre-configured criteria, primarily the payload and interval settings. It eliminates the need for manual data input via third-party platforms like Postman, streamlining testing processes. Additionally, it offers the capability to periodically poll APIs, ensuring the workflow remains updated with the latest information. Essentially, the Trigger acts as the catalyst for workflow execution, enabling seamless data flow and automated processes within a system.Outputs
The Trigger node will output its configured payload at the interval configured
How to Use
Implementation
In the Rayven Workflow Builder:
- Select Inputs.
- Drag the Trigger node to the canvas.
- Double click on the Trigger node to open the configuration window.
Configuration
Section: General |
||
This section contains basic configuration elements required for any Trigger node implementation |
||
Field |
Requirement |
Comments |
Node Name |
Mandatory |
Enter a name for this node. This provides a handle to which you and others can refer, so it should be simple but meaningful and explain the node’s purpose. |
Interval Between Trigger Events |
Mandatory |
Enter a numeric value that is greater than 0 |
Interval Units |
Mandatory |
Select the interval units from the dropdown list
|
Trigger Payload Format |
Mandatory |
Select payload format type from the dropdown list
|
Trigger Payload |
Mandatory |
Enter the payload that will be pushed into the workflow. Typically it is best practise to send the data into the flow in a JSON format, for example {“fieldname”:1} Use <<_deviceid_>> as a place holder for the Device Code. |
Interval Between Devices (ms) |
Mandatory |
Enter a numeric value that is greater than 100 milliseconds. The number of devices triggered with the interval should be less than the interval set. No. of Devices 𝘅 Interval Between Devices < Interval |
Section: Activation |
||
This section contains basic configuration elements required for any Trigger node activation |
||
Field |
Requirement |
Comments |
Logical Operand |
Mandatory |
Select the logical operand from the dropdown list
|
Select Device Filter |
Mandatory |
Select Device Filter configured in Device Management to select the devices that will receive this payload. |
Activation
Once the node has been configured, click the Activate button and then click Save. The node is ready to receive data into the workflow.