Automate Time Tracking Enforcement & Cleanup for Awork Tasks — рабочий процесс n8n

Высокая сложность🔗 Webhook31 узлов🏷️ Project Management👁 110 просмотровот Gregor

Обзор

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

Использованные узлы

HTTP RequestCode

Предпросмотр рабочего процесса

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

Как это работает

  1. 1

    Триггер

    Рабочий процесс запускается триггером webhook.

  2. 2

    Обработка

    Данные проходят через 31 узлов, connecting code, filter, httprequest.

  3. 3

    Вывод

    Рабочий процесс завершает автоматизацию и доставляет результат в настроенное место назначения.

Детали узлов (31)

HT

HTTP Request

httpRequest

#1
CO

Code

code

#2

Как импортировать этот рабочий процесс

  1. 1Нажмите кнопку Скачать JSON справа, чтобы сохранить файл рабочего процесса.
  2. 2Откройте ваш экземпляр n8n. Перейдите в Рабочие процессы → Новый → Импорт из файла.
  3. 3Выберите скачанный файл automate-time-tracking-enforcement-cleanup-for-awork-tasks и нажмите Импортировать.
  4. 4Настройте учётные данные для каждого узла сервиса (ключи API, OAuth и т.д.).
  5. 5Нажмите Протестировать рабочий процесс, чтобы убедиться в правильной работе, затем активируйте его.

Или вставьте напрямую в n8n → Импорт из JSON:

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

Интеграции

codefilterhttprequestifsetsplitoutswitchwebhook

Получить этот рабочий процесс

Скачайте и импортируйте одним кликом

Скачать JSONПросмотреть на n8n.io
Узлы31
Сложностьhigh
Триггерwebhook
Просмотры110
КатегорияProject Management

Создан

Gregor

Gregor

@gregorg

Теги

codefilterhttprequestifsetsplitoutswitchwebhook

Новичок в n8n?

n8n — бесплатный инструмент автоматизации рабочих процессов с открытым исходным кодом. Разверните самостоятельно или используйте облачную версию.

Получить n8n бесплатно →