将Google联系人的每日生日提醒发送到Slack
中级
这是一个Other领域的自动化工作流,包含 7 个节点。主要使用 If, Slack, Filter, GoogleContacts, ScheduleTrigger 等节点。 从Google联系人获取每日生日提醒并发送到Slack
前置要求
- •Slack Bot Token 或 Webhook URL
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "9w5vu5VmXxpdBLWi",
"meta": {
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa"
},
"name": "将 Google 联系人的每日生日提醒发送到 Slack",
"tags": [
{
"id": "uScnF9NzR3PLIyvU",
"name": "Published",
"createdAt": "2025-03-21T07:22:28.491Z",
"updatedAt": "2025-03-21T07:22:28.491Z"
}
],
"nodes": [
{
"id": "e4de5385-6b00-4245-b06e-3003703a348a",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
80,
140
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 8
}
]
}
},
"typeVersion": 1.2
},
{
"id": "df65de90-d931-450e-bed1-bf8b4f79a090",
"name": "Google 联系人",
"type": "n8n-nodes-base.googleContacts",
"notes": "Get the contact details\n",
"position": [
300,
140
],
"parameters": {
"fields": [
"emailAddresses",
"birthdays",
"names",
"nicknames"
],
"options": {},
"operation": "getAll",
"returnAll": true
},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "6e3dfeea-b22d-4156-a9a9-a8d5bb610848",
"name": "如果",
"type": "n8n-nodes-base.if",
"position": [
800,
180
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "eff6fe23-651d-474d-8d77-3734e1ac4c13",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.today }}",
"rightValue": "={{ $('Google Contacts').item.json.birthdays }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "32bd420e-11ab-4e82-a732-ed155f36094b",
"name": "Slack",
"type": "n8n-nodes-base.slack",
"notes": "Reminds to the birthday message",
"position": [
1020,
60
],
"webhookId": "b5fda056-5b45-49ee-8e09-cd4bc7a2a881",
"parameters": {
"text": "Todays Birthday of your friend",
"select": "channel",
"blocksUi": "=Today is {{$json[\"first_name\"]}} {{$json[\"last_name\"]}}'s birthday! 🎉",
"channelId": {
"__rl": true,
"mode": "url",
"value": "",
"__regex": "https://app.slack.com/client/.*/([a-zA-Z0-9]{2,})"
},
"messageType": "block",
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"id": "",
"name": ""
}
},
"notesInFlow": true,
"typeVersion": 2.3
},
{
"id": "caa5a301-ff68-4d61-801f-ac8c95edded3",
"name": "筛选联系人",
"type": "n8n-nodes-base.filter",
"position": [
560,
140
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "edb146b2-f338-4563-a991-d38613d1d5aa",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $('Google Contacts').item.json.birthdays }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4a156b56-ab25-4d29-aa1b-8cf00e4114c9",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 1220,
"height": 320,
"content": "将 Google 联系人的每日生日提醒发送到 Slack"
},
"typeVersion": 1
},
{
"id": "b1b04e75-e674-4389-a5ad-ebdcdfedca78",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
360
],
"parameters": {
"width": 1220,
"height": 100,
"content": "此工作流自动化了检索您的 Google 联系人、筛选出当天生日的联系人,并向指定 Slack 频道发送提醒的过程。通过将其安排在每天特定时间运行,该工作流确保您永远不会错过生日提醒。无论是用于团队庆祝、个人提醒,还是仅仅为了跟踪重要日期,此工作流都可以轻松定制,直接在 Slack 中通知您或您的团队即将到来的生日。"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "22eaeed6-6d9e-430b-8a1d-3848257cf3b2",
"connections": {
"If": {
"main": [
[
{
"node": "Slack",
"type": "main",
"index": 0
}
]
]
},
"Filter Contact ": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Google Contacts": {
"main": [
[
{
"node": "Filter Contact ",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Google Contacts",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 其他
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
双向同步 Google 通讯录与 Notion
双向同步 Google 通讯录与 Notion
If
Set
Merge
+9
82 节点Solomon
其他
从Google Sheets向Slack发送面试后反馈提醒(含邮件备用方案)
使用Google Sheets、Slack和Gmail自动化面试后反馈提醒
If
Gmail
Slack
+3
9 节点WeblineIndia
人力资源
Android功能标志目录与LaunchDarkly对比清理无效标志
使用GitLab、LaunchDarkly、Jira和Slack检测未使用的Android功能标志
If
Code
Jira
+6
11 节点WeblineIndia
开发运维
太阳能发电监测预警工作流
监控太阳能发电并通过Gmail、Google表格和Slack发送警报
If
Code
Gmail
+5
9 节点WeblineIndia
工程
使用AI汇总Slack频道活动生成周报
使用AI汇总Slack频道活动生成周报
If
Set
Code
+13
47 节点Jimleuk
其他
自动化每日天气数据获取和存储
获取每日天气数据并保存到 Airtable
Airtable
Http Request
Schedule Trigger
+1
5 节点WeblineIndia
其他
工作流信息
难度等级
中级
节点数量7
分类1
节点类型6
作者
WeblineIndia
@weblineindiaA Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.
外部链接
在 n8n.io 查看 →
分享此工作流