Arbeitszeit Trigger
AI-generatedOverview
This node is a trigger designed to capture work time entries via GET requests with 'start' or 'stop' parameters. It is useful for workflows that need to log or track work periods based on external HTTP requests, such as starting or stopping a timer for work sessions.
Use Case Examples
- A user sends a GET request with action=start to mark the beginning of a work period.
- A user sends a GET request with action=stop to mark the end of a work period.
Output
JSON
datum- The current date in German format (dd.mm.yyyy).zeit- The current time in German format (hh:mm:ss).timestamp- The current timestamp in ISO 8601 format.anfrage- The action parameter from the GET request, either 'start' or 'stop'.vollstaendigeZeit- The full localized date and time string in German format.
Troubleshooting
- If the 'action' query parameter is missing or not 'start' or 'stop', the node returns an error message indicating an invalid action parameter. Ensure the GET request includes a valid 'action' parameter with value 'start' or 'stop'.
- The node expects GET requests; other HTTP methods will not trigger the workflow.
- Date and time are localized to German format; if different localization is needed, the node code must be adjusted.