Inject¶
The Inject node triggers a flow manually or by intervals using a custom msg, which is used for debugging or function expansions.
Node Type¶
Input.
Input and Output Ability¶
This node does not have an entry point and has 1 exit point. The output is JSON.
Node Properties¶
Name
The name for this node.
Msg Data Format
The format of the Msg Payload used for triggering the flow.
Msg Payload
The custom msg used for triggering the flow.
Recurrence
Determine the trigger frequency of the flow. The options are as per the below.
None: Trigger the flow manually. After the flow is published and running, you can manually trigger the flow by clicking the Execute button below.
Interval: Automatically trigger the flow for the specified intervals (minutes/hours) within the specified time period (minutes/hours/days). The timing will start after you publish the flow. For example, if set to trigger every 10 minutes ending in 1 day, the flow will trigger every 10 minutes from the time it is published until 1 day later.
Description
The description for this node.
Limitations¶
The custom msg currently only supports JSON format.
Samples¶
Input Sample¶
This node does not receive any input msg.
Output Sample¶
The output msg is the custom msg given in Msg Payload.
{
"name":"mp1",
"value":2
}