Notify Redmine project members in Slack about teammates’ approved Odoo leave — n8n 工作流

复杂度 定时45 个节点🏷️ Project Management作者:BHSoft

概览

📌Who is this for? This workflow is designed for engineering teams, project managers, and IT operations who need consistent visibility into team availability across multiple projects. It’s perfect for organizations that use Odoo for leave management and Redmine for project collaboration, and want to ensure that everyone involved gets timely, automated Slack notifications whenever a team member will be absent the next day.

📌The problem When team members go dark, everything grinds to a halt. You'r

使用的节点

HTTP RequestSlackCode

工作流预览

Subflow: Get membership list of user in Redmi
- It starts when the subflow is called from the main fl
- Loop over projects to extract project members and rem
Note: Subfl
Subflow: Push message to member
- There are 3 different notifications: Time Off, Remote
Note: Need to add trigger node "When Executed by Anothe
Querying data in Odoo
- Check if there are any records of the member's leave
- If there are no records, end the flow.
- If so, proceed to the next step for filtering.
Schedule daily runs at 5:15 PM.
- Get some information about datetime, the list of user
- Add necessary variables.
Loop over item
- Read the detailed information of the records and extr
- Then get the information for that employee and their
Get user info in Redmine
- Get the information for that member on Redmine
- If there's any information, then find out which proje
- If not, return isAccountRedmi
Loop over members to check if a member has a
- If there's any information, call 'Subflow Get members
Loop over members to check if a member has a
- If you have an account, send a notification about the
Notify project members when a teammate has an
📌Who is this for?
This workflow is designed for engineering teams, projec
S
Step2: Set Variables
S
Step 1: Schedule the tri…
Step3: Get datetime
Step4: Get all user in R…
Step5: Get a list of clo…
Step7: Get the list of m…
E
End
E
End1
S
Step1: When Executed by …
S
Step3: Loop Over Items
Step4: Get membership li…
Step2: Return redmine li…
Step5: Get redmine proje…
Step6: Remove duplicate id
N
No Operation, do nothing
S
Step2: Loop Over Items
S
Step3: Wait 1s
Step6: Get many users
S
Step8: Check if there is…
Step9: Handling and get …
S
Step10: Loop Over Items
Step11: Get leave record…
Step12: Get name record
Step13: Get employee inf…
Step14: Get work_email
Step15: Get information …
Step16: Get work_email o…
Step17: Get user info in…
S
Step18: Check if there …
Step19.1: Get membership…
Step19.2: Return isAccou…
Step20: Get project IDs …
S
Step21: Merge data
S
Step22: Loop Over Items
S
Step 23: If redmine_list…
S
Step 24: Call subflow: "…
Step25: Get email Redmin…
S
Step26: Loop Over Items
S
Step 27: If redmine_list…
Step28.1: Prepare inform…
Step28.2: Prepare inform…
S
Step29: Call subflow: 'P…
S
Step4: Switch
Step5.1: Send a message …
Step5.2: Send a message …
45 nodes55 edges

工作原理

  1. 1

    触发器

    工作流由 定时 触发器启动,按预定计划运行。

  2. 2

    处理

    数据流经 45 个节点, connecting code, executeworkflow, executeworkflowtrigger。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (45)

HT

HTTP Request

httpRequest

#1
SL

Slack

slack

#2
CO

Code

code

#3

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 notify-redmine-project-members-in-slack-about-teammates-approved-odoo-leave 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Notify Redmine project members in Slack about teammates’ approved Odoo leave", "nodes": [...], ...}

集成

codeexecuteworkflowexecuteworkflowtriggerhttprequestifmergescheduletriggersetslacksplitinbatchesswitchwait

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点45
复杂度high
触发器scheduled

创建者

BHSoft

BHSoft

@bhsoft

标签

codeexecuteworkflowexecuteworkflowtriggerhttprequestifmergescheduletriggersetslacksplitinbatches

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →