Automate Time Tracking Enforcement & Cleanup for Awork Tasks — n8n Workflow

Hoch Komplexität🔗 Webhook31 Knoten🏷️ Project Management👁 110 Aufrufevon Gregor

Übersicht

This workflow offers several additional features for time tracking with Awork:

Check whether time has been tracked when closing a task. If not, the task is reopened and the user is notified. This can be restricted to specific tasks using tags. Enforce a minimum time entry for tasks to comply with "at least 15-minute intervals are billed" policies. This can also be limited to specific tasks by using tags. Clean up time entries to match billing intervals. Add a start time to time entries if it is

Verwendete Knoten

HTTP RequestCode

Workflow-Vorschau

Enhanced time tracking features for awork
This workflow offers several additional features for ti
* Check whether time has been tra
Workflow config
* Configure basic settings
Extract status changes from webhook call payl
Check if task status is currently "done"
* If yes, proceed
* If no, exit workflow
Check if force time tracking is enabled and n
* If yes, roll back task status
* If no, check if time tracking cleaning is enabled
Green sticky notes: Logical group of nodes
Red sticky notes: Routing and possible workfl
Check if force time tracking is limited to sp
* If yes, check task tags
* If no, roll back task status
Process task tags
* If a task tag is listed in "Limit forced time trackin
* If not found, return false
Check if at least one task tag is listed in c
* If yes, roll back task status
* If not, continue workflow
Roll back task status
Check if comment should be added to task
* Exit workflow if no comment should be added
Add comment to task regarding roll back of ta
* Add comment and exit workflow
Check if min time tracking OR time tracking c
* If yes, check time tracked
* If no, exit workflow
Check if tracked time is lesser than min time
* If yes, add new time tracking record to match min tim
* If no, continue workflow
Roll back task status
Check if comment should be added to task
* Exit workflow if no comment should be added
Add comment to task regarding roll back of ta
* Add comment and exit workflow
Calculate missing tracked time and add system
Update tracked time to match time tracking in
Check if min time tracking is limited to spec
* If yes, check task tags
* If no, continue workflow
Process task tags
* If a task tag is listed in "Limit min time tracking t
* If not found, return false
Check if task should be time tracked by tag
* If yes, continue
* If no, exit workflow
Check if added time tracking is not system ge
* If yes, check time tracked
* If no, exit workflow
Load system type of work and related task dat
Check if forced start time is enabled
* If yes, update start time in tracked time
* If no, continue
Add start time to time tracking
* Calculates start time based on duration in the past u
* Updates time tracking entry and appends note to time
W
Workflow config
F
Fetch task changes
S
Split out task changes
F
Filter task status change
C
Check if task done
W
Webhook call by Awork
C
Check if force time trac…
Process tags and check i…
C
Check if tags listed in …
C
Check if comments are en…
Add comment to tasks
Roll back task status fr…
C
Check tag restriction
C
Check tracked time
C
Check if comments are en…
Add comment to tasks1
Roll back task status fr…
Calculate time for added…
Calculate time for added…
Roll back task status fr…
C
Check if min time tracki…
C
Check tag restriction1
Process tags and check i…
I
If
S
Switch
Load task details for ti…
I
If1
Load system type of work
Add tracked time to matc…
I
If2
Add start time to time t…
31 nodes32 edges

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem webhook-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 31 Knoten, connecting code, filter, httprequest.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

Knotendetails (31)

HT

HTTP Request

httpRequest

#1
CO

Code

code

#2

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei automate-time-tracking-enforcement-cleanup-for-awork-tasks und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.

Oder direkt in n8n → Aus JSON importieren einfügen:

{ "name": "Automate Time Tracking Enforcement & Cleanup for Awork Tasks", "nodes": [...], ...}

Integrationen

codefilterhttprequestifsetsplitoutswitchwebhook

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

JSON herunterladenAuf n8n.io ansehen
Knoten31
Komplexitäthigh
Auslöserwebhook
Aufrufe110

Erstellt von

Gregor

Gregor

@gregorg

Tags

codefilterhttprequestifsetsplitoutswitchwebhook

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →