Timed Counter Node

      Timed Counter Node


        Article summary

        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

        1. First, select your desired solution and navigate to Rayven Workflow.
        2. Select ‘Functions’ from the left-hand panel.
        3. Find the Timed Counter node and drag it onto the canvas.
        4. Connect the Timed Counter node to your desired input node.
        5. Double click on the Timed Counter node to open its configuration window.


        Configuring your Timed Counter node

        1. Give your node a Name. Choose something simple that clearly explains its purpose.
        2. Under 'Field to Count', enter the JSON field name that holds the field you want to count.
        3. Enter a numerical value in seconds for the counter Timeframe.
        4. You can choose to enter a data field to filter the output. The node will only count payloads meeting this condition. 
        5. Enter the name of the JSON field where you want to store the count under 'Output Field Name'.