Timed Counter Node
Timed Counter Node
Article summary
Did you find this summary helpful?
Thank you for your feedback
Timed Counter Node
The Timed Counter node counts the number of payloads received in a specific time frame. It can assess the peak within a moving window while ignoring false peaks.
As part of its output, an additional JSON key is appended to the original payload to show the peak value.
Adding a Timed Counter node to your workflow
- First, select your desired solution and navigate to Rayven Workflow.
- Select ‘Functions’ from the left-hand panel.
- Find the Timed Counter node and drag it onto the canvas.
- Connect the Timed Counter node to your desired input node.
- Double click on the Timed Counter node to open its configuration window.
Configuring your Timed Counter node
- Give your node a Name. Choose something simple that clearly explains its purpose.
- Under 'Field to Count', enter the JSON field name that holds the field you want to count.
- Enter a numerical value in seconds for the counter Timeframe.
- You can choose to enter a data field to filter the output. The node will only count payloads meeting this condition.
- Enter the name of the JSON field where you want to store the count under 'Output Field Name'.