🚀 自动化Stripe支付恢复:跟踪失败和跟进邮件
中级
这是一个Invoice Processing领域的自动化工作流,包含 13 个节点。主要使用 Set、Switch、SendInBlue、GoogleSheets、StripeTrigger 等节点。 🚀 自动化Stripe支付恢复:跟踪失败和跟进邮件
前置要求
- •Google Sheets API 凭证
- •Stripe API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "b6731f6e46273cffeac6b5188a5b3bcb0840c00108e73b48ae2b799ac6e8e081",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "497e2fda-6782-4bc0-b594-11d545667b43",
"name": "检测失败付款",
"type": "n8n-nodes-base.stripeTrigger",
"position": [
-2500,
160
],
"webhookId": "c23dd369-5c11-4166-ad55-0af41858c0d6",
"parameters": {},
"typeVersion": 1
},
{
"id": "7e739ab1-372e-45a1-bf66-69376d8615b0",
"name": "提取用户和付款信息",
"type": "n8n-nodes-base.set",
"position": [
-2280,
160
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "1b2195ec-be80-401d-a504-498266bfb9a0",
"name": "在表格中追加或更新行",
"type": "n8n-nodes-base.googleSheets",
"position": [
-1840,
160
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "7edfaea7-a11f-4335-b17c-f7707049bd2c",
"name": "移除重复项",
"type": "n8n-nodes-base.removeDuplicates",
"position": [
-2060,
160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "e6498365-7e61-4d17-81e6-435776bdd96f",
"name": "由 Github 模型提供支持",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1000,
100
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "572cc980-ab25-4a65-a63b-21633c4b28c3",
"name": "更新邮件计数",
"type": "n8n-nodes-base.googleSheets",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "740421e1-2a63-440a-aba2-f6848fa3ab25",
"name": "获取付款失败线索",
"type": "n8n-nodes-base.googleSheets",
"position": [
-780,
100
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "ecb53f48-4515-4bad-9a3e-3191bf985d29",
"name": "检查已发送邮件数量",
"type": "n8n-nodes-base.switch",
"position": [
-560,
100
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "1fcea8aa-f547-48bc-92d5-2b3cd954a216",
"name": "发送第一封邮件",
"type": "n8n-nodes-base.sendInBlue",
"position": [
-220,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ec8849dc-47e0-4a47-acf7-15bbdc0905bf",
"name": "发送第二封邮件",
"type": "n8n-nodes-base.sendInBlue",
"position": [
-220,
200
],
"parameters": {},
"executeOnce": false,
"typeVersion": 1
},
{
"id": "07d8a522-cd9b-451c-a45e-3b2074746b51",
"name": "停止向这些线索发送邮件",
"type": "n8n-nodes-base.googleSheets",
"position": [
0,
200
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "a6591c76-c5de-468c-b36e-23d867a5d1cb",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2840,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "81c80cf6-b0ed-4dc5-8cd1-4e8b7d7f3409",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1560,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "Get Payment Failure Leads",
"type": "main",
"index": 0
}
]
]
},
"Send First Email": {
"main": [
[
{
"node": "Update Email Count",
"type": "main",
"index": 0
}
]
]
},
"Remove Duplicates": {
"main": [
[
{
"node": "Append or update row in sheet",
"type": "main",
"index": 0
}
]
]
},
"Send Second Email": {
"main": [
[
{
"node": "Quit Sending Emails to these Leads",
"type": "main",
"index": 0
}
]
]
},
"Detect Failed Payments": {
"main": [
[
{
"node": "Extract User and Payment Info",
"type": "main",
"index": 0
}
]
]
},
"Get Payment Failure Leads": {
"main": [
[
{
"node": "Check for no. of emails sent",
"type": "main",
"index": 0
}
]
]
},
"Check for no. of emails sent": {
"main": [
[
{
"node": "Send First Email",
"type": "main",
"index": 0
}
],
[
{
"node": "Send Second Email",
"type": "main",
"index": 0
}
]
]
},
"Extract User and Payment Info": {
"main": [
[
{
"node": "Remove Duplicates",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个中级难度的工作流,适用于Invoice Processing等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
基于Supabase、Google表格和Gmail的自动化用户重新激活系统
使用Supabase、Google表格和Gmail的自动化用户重新激活系统
Set
Code
Gmail
+9
14 节点iamvaar
Social Media
使用Gemini+LangChain+Sheets监控Reddit负面公关品牌声誉
使用Gemini+LangChain+Sheets监控Reddit负面公关品牌声誉
Set
Code
Split Out
+7
10 节点iamvaar
AI Summarization
Reddit自由职业工作监控与Google表格跟踪和Telegram警报
Reddit自由职业工作监控与Google表格跟踪和Telegram警报
Set
Code
Filter
+6
11 节点iamvaar
Lead Generation
Reddit至Google表格:跟踪自由职业/工作线索
Reddit至Google表格:跟踪自由职业/工作线索
If
Set
Code
+8
33 节点iamvaar
Lead Generation
使用 Stripe 和邮件自动化 n8n 模板的数字产品销售与交付
使用 Stripe 和邮件自动化 n8n 模板的数字产品销售与交付
Set
Html
Stripe
+9
20 节点AureusR
Content Creation
LinkedIn和X病毒内容自动引擎
使用AI生成和发布自动创建LinkedIn和X的病毒内容
If
Set
Wait
+26
156 节点Diptamoy Barman
Content Creation