通过 Gmail 和 Google Gemini AI 将 Upwork 客户消息发送到 Slack
中级
这是一个Personal Productivity, AI Summarization领域的自动化工作流,包含 9 个节点。主要使用 Code, Slack, GmailTrigger, LmChatGoogleGemini, InformationExtractor 等节点。 通过 Gmail 和 Google Gemini AI 将 Upwork 客户消息发送到 Slack
前置要求
- •Slack Bot Token 或 Webhook URL
- •Google 账号和 Gmail API 凭证
- •Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"nodes": [
{
"id": "170dcec4-9b3e-4d88-8cdb-e0af274a04bc",
"name": "Gmail 触发器",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-48,
-160
],
"parameters": {
"simple": false,
"filters": {
"sender": "via Upwork",
"readStatus": "unread"
},
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyX",
"unit": "minutes",
"value": 3
}
]
}
},
"typeVersion": 1.2
},
{
"id": "b7736356-c818-4259-9a8c-5c0ce4bfea55",
"name": "代码",
"type": "n8n-nodes-base.code",
"position": [
160,
-160
],
"parameters": {
"jsCode": "return { \n client: $input.first().json.from.value[0].name.split(\" via\")[0], \n messgae: $input.first().json.text.split($today.year)[1].split(\"Reply\")[0]\n}"
},
"typeVersion": 2
},
{
"id": "59bf17cf-7b78-464c-b4b9-60c83f6a35d7",
"name": "信息提取器",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
64,
176
],
"parameters": {
"text": "={{ $json.text }}",
"options": {},
"attributes": {
"attributes": [
{
"name": "message",
"required": true,
"description": "Client's Message which was send to me"
},
{
"name": "client",
"required": true,
"description": "Client name who sent this message"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "861b165a-08bf-4ebb-9d35-f0653db27649",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
176,
320
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "4ae27b64-1f8e-47b4-b18d-ea18a7a3a86b",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-208,
-256
],
"parameters": {
"width": 864,
"height": 304,
"content": "**无需AI模型的Upwork客户消息通知**"
},
"typeVersion": 1
},
{
"id": "46594376-8e44-4781-b81d-f6ed51df1d43",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-208,
80
],
"parameters": {
"width": 864,
"height": 384,
"content": "**更优方案 - 使用Google Gemini的Upwork客户消息通知器**"
},
"typeVersion": 1
},
{
"id": "ed2a7da2-485b-4846-a181-3b7de540c208",
"name": "Gmail触发器X",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-128,
176
],
"parameters": {
"simple": false,
"filters": {
"sender": "via Upwork",
"readStatus": "unread"
},
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyX",
"unit": "minutes",
"value": 3
}
]
}
},
"typeVersion": 1.2
},
{
"id": "7f596d6b-1a8f-4bf6-b9cd-c604ddbbb351",
"name": "发送到Slack X",
"type": "n8n-nodes-base.slack",
"position": [
432,
176
],
"parameters": {
"text": "=Message From: {{ $json.output.client }}\n\n{{ $json.output.message }}",
"user": {
"__rl": true,
"mode": "list",
"value": ""
},
"select": "user",
"otherOptions": {},
"authentication": "oAuth2"
},
"typeVersion": 2.3
},
{
"id": "88269738-5069-468c-8f49-ee177d658c03",
"name": "发送到 Slack",
"type": "n8n-nodes-base.slack",
"position": [
368,
-160
],
"parameters": {
"text": "=Message From: {{ $json.client }}\n\n{{ $json.messgae }}",
"user": {
"__rl": true,
"mode": "list",
"value": ""
},
"select": "user",
"otherOptions": {},
"authentication": "oAuth2"
},
"typeVersion": 2.3
}
],
"connections": {
"Code": {
"main": [
[
{
"node": "Send to Slack",
"type": "main",
"index": 0
}
]
]
},
"Gmail Trigger": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Gmail Trigger X": {
"main": [
[
{
"node": "Information Extractor",
"type": "main",
"index": 0
}
]
]
},
"Information Extractor": {
"main": [
[
{
"node": "Send to Slack X",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Information Extractor",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 个人效率, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
每日会议摘要(Google日历 + Gemini AI,支持Slack-Discord-WhatsApp)
使用Google日历和Gemini AI的每日会议摘要,支持Slack、Discord和WhatsApp
Slack
Discord
Whats App
+5
9 节点Zain Khan
个人效率
客户反馈循环分析器
使用AI、Google表格和Slack提醒自动分类客户反馈
Code
Gmail
Slack
+7
11 节点WeblineIndia
杂项
邮件转WhatsApp - AI多账户桥接
AI驱动的邮件转发至WhatsApp,集成Gmail、Outlook和Google Gemini
Code
Gmail
Http Request
+6
22 节点iTzJok3r
个人效率
支持工单优先级自动化
使用JotForm、Gemini AI和ClickUp任务自动化支持工单优先级
If
Gmail
Slack
+6
15 节点Zain Khan
工单管理
Gmail到Slack:AI评分的Upwork工作提醒,使用OpenRouter
Gmail到Slack:AI评分的Upwork工作提醒,使用OpenRouter
Set
Gmail
Slack
+6
14 节点James Francis
个人效率
基于HubSpot上下文的AI邮件回复与Slack审批
基于HubSpot上下文的AI邮件回复与Slack审批
If
Code
Gmail
+8
19 节点Miha
客户关系管理
工作流信息
难度等级
中级
节点数量9
分类2
节点类型6
作者
Zain Khan
@zainI partner with businesses to streamline processes and accelerate growth through intelligent AI automation and Web/mobile Development. Leveraging deep expertise in GPT-4, LangChain, and n8n, I develop AI-powered agents and sophisticated LLM pipelines.
外部链接
在 n8n.io 查看 →
分享此工作流