Actions3
Listen → Summen Berechnen
AI-generatedOverview
This node processes time tracking entries to calculate summaries of work periods. It is useful for managing and analyzing work time logs, such as calculating total work duration from start and stop timestamps. For example, it can compute total hours worked in a day or generate detailed reports of work sessions.
Use Case Examples
- Calculate total work time from a list of start and stop timestamps.
- Generate a detailed report showing each work period with start time, stop time, and duration.
Properties
| Name | Meaning |
|---|---|
| Resource | The category of data to process, here it is 'Listen' (lists). |
| Operation | The specific action to perform on the data. |
Output
JSON
anzahlPerioden- Number of work periods calculated.perioden- Array of work periods with start, stop, duration, and minutes.gesamtMinuten- Total minutes worked across all periods.gesamtZeit- Total time worked formatted as hours and minutes.gesamtStunden- Total time worked in decimal hours.offenerStart- Indicates if there is an unclosed start time without a stop.letzterStart- Timestamp of the last start time if it is still open.warnungen- Warnings about multiple start entries without corresponding stops.
Troubleshooting
- Ensure input data contains valid timestamps and action types ('start' and 'stop').
- If the node reports 'Start(s) ohne Stop gefunden', check for missing stop entries in the input data.
- Incorrect or missing timestamps can cause inaccurate duration calculations.
Links
- JavaScript Date Object - Used for parsing and manipulating timestamps in the node.