Automate Time Tracking Enforcement & Cleanup for Awork Tasks — n8n 工作流
概览
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
工作流预览
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
触发器
工作流由 webhook 触发器启动。
- 2
处理
数据流经 31 个节点, connecting code, filter, httprequest。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (31)
HT#1
HTTP Request
httpRequest
CO#2
Code
code
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
automate-time-tracking-enforcement-cleanup-for-awork-tasks文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "Automate Time Tracking Enforcement & Cleanup for Awork Tasks", "nodes": [...], ...}
集成
codefilterhttprequestifsetsplitoutswitchwebhook
创建者
Gregor
@gregorg
标签
codefilterhttprequestifsetsplitoutswitchwebhook