匠人学院 JR Academy
  • Position

    Where am I now, and where should I go?

    How your job is changing, where your experience can take you and what you still need for a target role, worked out from what you have actually done. Free, and the full result needs no sign-up.

    Analyse my career and skills

    Look up a career

    Will AI replace my job?AI impact and transition paths for common careersNew jobs in the AI eraWhat they do, what they need, how to move in

    Focused tools

    AI Engineer interview readiness30 timed questions on what you still need before interviewsCareer personality testDirections that suit how you workReturning to China checkJob prospects in China by school, major and graduation date

    AI coach

    Talk to your AI coachStill unsure after your result? Talk through what is holding you back
  • Core courses

    AI Engineer BootcampEngineering bootcamp from LLM apps to agentsAI Engineer Full-Stack Project Class16 weeks · RAG and full-stack AI projectsVibe Coding Masterclass8 weeks · direct agents to build and ship a productAI Essentials10 hours · use AI for email, reports, data and copyAI Office Automation Course8 weeks · help a whole company adopt AIOne-Person Company (OPC) Bootcamp15 weeks in person · build a one-person company with AIAll courses →

    AI engineering

    Machine Learning & Data Engineering Full-Stack ClassAI Agent & MCP Project BootcampAI Engineer Core TechniquesAI Engineer FoundationsAI Engineer Advanced: RAG to Agents and TuningClaude Code TasterAll AI engineering courses →

    AI at work

    AI Coding for everyoneClaude Code One-Day Masterclass (Non-Technical)Enterprise AI Automation BootcampAI Marketing BootcampAI Risk, Governance and Audit CourseOpenClaw 4-Week Personal AI Assistant BootcampAll AI-at-work courses →

    Career development

    AI Product Manager (BA) Bootcamp + InternshipAustralia IT Interview BootcampAustralia IT Technical Interview BootcampAustralia IT Resume BootcampAustralia Big Tech Job Search BootcampAustralia IT Career Planning BootcampAll career courses →

    Learn free first

    Vibe CodingAI for office workPrompt MasterAI EngineerAI data analysisResource centerInstructorsAll learning paths →
  • Evidence

    What will convince an employer?

    Certifications, projects, team work and competition entries, collected into one portfolio.

    See the portfolio

    Certifications

    Cert Master · all certificationsPrep and mock exams for AWS, Azure, GCP, Claude and moreAWS CLF-C02Entry-level AWS cloud certificationAWS SAA-C03Entry certification for cloud architectsClaude certificationsAnthropic Claude certification seriesAll certifications →

    Projects and team work

    P3 team projectsBuild a project with real teammates in a simulated team workflowP3 project experienceThe parts of a P3 project that go on your resumeDemo DayProject showcaseP3 certificatesProof once a project is completeAll of P3 →

    Competitions and work

    HackathonsBuild something against the clockSubmit your workAdd your project to the showcaseCareerOS portfolioDo tasks in the desktop app; your results become portfolio pieces
    Cert MasterBrowser extension, app and mini programScreenshot a question for analysis and practise anywhereAbout Cert Master
  • Connect

    How do I get myself in front of employers?

    Resume, interviews, referrals and mentors. See how far you are from the target role first, then decide what to fix.

    Start with Jobpin

    Resume and openings

    Graduate careersGraduate preparation across Australia, China, Malaysia, Singapore, the US and UKJobpinAI job search workspace: resume, roles, applicationsAI resumeRewrite your resume against a job descriptionReferralsRoles shared by students and mentorsOpportunitiesInternships, projects and collaborationsOffer boardOffers students have received

    Interviews

    AI Engineer interview guideSeven areas, with worked examplesFDE interview guideFive rounds, from scoping to the customer roundAI mock interviewPractise by text or voice and see the gapsInterview storiesReal interview experiencesSystem Design handbookPrepare for system design interviewsAll interview prep →

    Mentors

    1:1 mentorsBook AI, career and technical mentors by the hourGroup tutoringShare a tutor with a few others and pay less eachCareer coachingResume, interview and direction packages
    Jobpin desktopOne workspace for the whole job searchOrganise real experience and refine resume versions for target roles on macOS or Windows.About Jobpin
BusinessMembershipDownload CareerOS
0
匠人学院 JR Academy

Follow Us

linkedinfacebooktwitterinstagramyoutube

We Accept

/image/layout/pay-paypal.png/image/layout/pay-visa.png/image/layout/pay-master-card.png/image/layout/pay-airwallex.png/image/layout/pay-alipay.png
Airbotix · AI learning & creation for kids Another Life · AI story game
Products46

CareerOS and tools

  • CareerOS
  • Cert Master
  • Jobpin
  • Jobpin web
  • Jobpin report
  • Jobpin desktop download
  • My job search reports
  • Buy report credits
  • Jobpin billing
  • AI Toolbox
  • AI Skill Marketplace

Membership

  • Membership
  • AI membership

Courses

  • Bootcamps
  • Training Camp
  • Kanban learning
  • AI Builder course
  • MCP course
  • NotebookLM workshop
  • Business Analyst course
  • Web Full-Stack Bootcamp
  • DevOps Bootcamp
  • Data Engineering Bootcamp
  • Data Analysis Bootcamp
  • Coding for Beginners
  • Algorithm Bootcamp

Career services

  • Graduate careers
  • Graduate careers in Australia
  • Graduate careers in China
  • Graduate careers in Malaysia
  • Graduate careers in Singapore
  • Graduate careers in the US
  • Graduate careers in the UK
  • 1:1 coaching
  • Career coaching
  • AI Engineer VIP
  • BA & PM Internship
  • Data Science Internship
  • Data Analysis Internship
  • Marketing Internship
  • Resume Review
  • Interview Coaching
  • Job Application Service
  • Job Monitoring
  • LinkedIn Management
  • LinkedIn Networking
Library57

Learning paths

  • All Learning Paths
  • AI Engineer
  • Context Engineering
  • Vibe Coding
  • Prompt Master
  • AI Builder
  • AI Product Manager
  • Python Basics
  • AI Productivity
  • AI Data Analysis
  • AI Finance
  • AI Content Creation
  • AI Image Creation
  • Frontend Development
  • Hermes Agent
  • OpenClaw Local Agent

Interactive labs

  • Prompt Lab
  • Frontend Lab
  • JavaScript Lab
  • Python Lab
  • AWS Lab
  • Azure Lab
  • LLM Lab
  • Git Lab

Reference and guides

  • Resources
  • Wiki
  • Cheat sheets
  • Roadmaps
  • AI roadmaps
  • Videos
  • Ebooks
  • Blog
  • Interview handbook
  • Mock exams
  • Free resources

Cities

  • Sydney
  • Melbourne
  • Brisbane
  • Adelaide
  • Singapore
  • Kuala Lumpur
  • London
  • New York
  • San Francisco
  • Los Angeles
  • Seattle
  • Toronto
  • Vancouver

Immigration

  • Australia Immigration
  • Skilled Visa 189/190/491
  • Employer Sponsored 482/186/494
  • Business Visa 188/888
  • UK Immigration
  • US Immigration
  • Canada Immigration
  • Singapore immigration
  • Malaysia immigration
Business20

For business

  • AI for Business
  • Business portal sign-in
  • Corporate Training
  • Internship Partnership
  • Recruitment Partnership
  • Enterprise (EN)

Metatree AI Lab

  • Metatree AI Lab (Chinese)
  • AI solutions (Chinese)
  • Digital employees (Chinese)
  • Case studies (Chinese)
  • Metatree AI Lab
  • AI services
  • Digital employees
  • Case studies

AI education for kids

  • Airbotix — AI Learning & Creation for Kids
  • AU Family Resource Hub
  • NAPLAN Report Guide
  • My School Data Guide
  • Sydney Private School Fees 2026
  • Kids Coding Programs
About15

Company

  • About Us
  • Our Mentors
  • Become a Mentor
  • Metaverse Classroom
  • JR Careers
  • Another Life — AI Story Game
  • Contact Us

Help and policies

  • FAQs
  • Terms & Conditions
  • Privacy Policy
  • Cancellation & Refund Policy
  • Site map

Friend links

  • CS Browser

Contact

  • hello@jiangren.com.au
  • 0421-672-555

Offices

Level 10b, 144 Edward Street, Brisbane CBD (Headquarter)
Level 2, 171 La Trobe St, Melbourne VIC 3000
45A13, Block B, Oriental Hope Tianxiang Plaza, 500 Tianfu Avenue Middle Section, Wuhou District, Chengdu, Sichuan, China
Business Hub, 155 Waymouth St, Adelaide SA 5000
Disclaimer
footer-disclaimerfooter-disclaimer

JR Academy acknowledges Traditional Owners of Country throughout Australia and recognises the continuing connection to lands, waters and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders past and present. Aboriginal and Torres Strait Islander peoples should be aware that this website may contain images or names of people who have since passed away.

All content on the JR Academy website, including course materials, logos, and information provided, is protected under Australian intellectual property laws. Unauthorized use, sale, distribution, reproduction, or modification is strictly prohibited. Violations may result in legal action. By accessing our website, you agree to respect our intellectual property. JR Academy Pty Ltd reserves all rights, including patents, trademarks, and copyrights. Any infringement will be subject to legal prosecution. View Terms of Service

© 2017-2026 JR Academy Pty Ltd. All rights reserved.

ABN 26621887572

HomeLearnCoursesCerts
  1. Home
  2. Learn
  3. Blog
  4. n8n 自动化工作流实战指南 — 五个让老板眼前一亮的 n8n 实战案例
JR Academy · BlogCareer insights

n8n 自动化工作流实战指南 — 五个让老板眼前一亮的 n8n 实战案例

从邮件分拣到 AI 客服,五个可直接复用的 n8n 工作流完整实现,每个附上节点配置和代码

Published2026-11-30
Reading time3 min
Author

Contents

  • 案例一:客户邮件自动分拣 + Notion 任务创建
  • 案例二:网站表单 → CRM 录入 + 欢迎邮件
  • 案例三:每天自动抓取数据 + AI 生成日报
  • 案例四:Telegram AI 客服 Bot(带对话记忆)
  • 案例五:GitHub PR 合并 → Slack 发布通知
  • 五个案例对比

光看节点说明太抽象。这章直接上五个真实业务场景的完整实现——每个都给出节点流程图、关键配置和可运行的代码,拿来改改就能用。

n8n AI Workflow Builder 界面

案例一:客户邮件自动分拣 + Notion 任务创建

场景:销售或运营每天要处理几十封客户邮件,根据内容手动分类、手动建任务,容易漏掉高优先级请求。

节点流程:

Gmail Trigger
    ↓
OpenAI(分类 + 摘要,返回 JSON)
    ↓
Code(解析 AI 输出)
    ↓
If(priority === "high"?)
  ├── True → Notion 创建任务 + Slack 紧急通知
  └── False → Notion 创建任务(静默)

OpenAI 节点 Prompt(System Message):

分析下面这封客户邮件,只返回严格的 JSON,不要有任何其他文字:
{
  "category": "投诉/询价/售后/其他",
  "priority": "high/medium/low",
  "summary": "50字以内摘要"
}

邮件内容:{{ $json.text }}

Code 节点(解析 AI 返回并附带原始邮件 ID):

const raw = $json.choices[0].message.content.trim();
const parsed = JSON.parse(raw);
return {
  json: {
    ...parsed,
    emailId: $("Gmail Trigger").item.json.id,
    subject: $("Gmail Trigger").item.json.subject
  }
};

If 节点条件:{{ $json.priority }} equals high

Notion 节点(两个分支都连):

Operation: Create Database Item
Database: 客户反馈跟进表
Properties:
  Title: {{ $json.subject }}
  Category: {{ $json.category }}
  Priority: {{ $json.priority }}
  Summary: {{ $json.summary }}
  Email ID: {{ $json.emailId }}

上线时间估计:30 分钟。


案例二:网站表单 → CRM 录入 + 欢迎邮件

场景:官网留资表单提交后,数据要手动录 HubSpot CRM,还要发欢迎邮件,两步都容易忘——尤其是周末收到的表单。

节点流程:

Webhook(POST)
    ↓
HubSpot(Create or Update Contact)
    ↓
Gmail(发欢迎邮件)
    ↓
Google Sheets(追加备份行)

Webhook 节点关键设置:

HTTP Method: POST
Response Mode: "Using 'Respond to Webhook' Node"(立即返回 200,不阻塞用户)

在网站表单的 action 属性里填入生成的 Webhook URL。

HubSpot 节点:

Operation: Create or Update Contact
Email: {{ $json.body.email }}
First Name: {{ $json.body.name }}
Phone: {{ $json.body.phone }}

Gmail 欢迎邮件(HTML Body):

<p>你好 {{ $json.body.name }},</p>
<p>感谢填写我们的表单!我们的顾问会在 <strong>24 小时内</strong>联系你。</p>
<p>如有紧急问题,可直接回复这封邮件。</p>
<p>— JR Academy 团队</p>

上线时间估计:20 分钟。


案例三:每天自动抓取数据 + AI 生成日报

场景:每天早上需要汇总几个渠道的数据(API 行情、RSS 新闻、竞品价格),整理成报告发给老板。手动做一遍要 30 分钟,自动化后零干预。

节点流程:

Schedule Trigger(每天 09:00)
    ↓
HTTP Request(抓取目标 API 或 RSS)
    ↓
Code(整理数据、提取关键字段)
    ↓
OpenAI(生成中文日报)
    ↓
Gmail(发送给收件人列表)

Schedule Trigger 配置:

Trigger Interval: Days
Days Between Triggers: 1
Trigger at Hour: 9am
Trigger at Minute: 0

Code 节点(整理数据为可读摘要):

const items = $input.all();
const data = items.map(item => item.json);

const lines = data.slice(0, 10).map((d, i) =>
  `${i + 1}. ${d.title || d.name}:${d.value || d.description || '-'}`
);

return [{
  json: {
    date: new Date().toLocaleDateString('zh-CN'),
    total: data.length,
    summary: lines.join('\n')
  }
}];

OpenAI Prompt:

你是一个数据分析助手。根据以下数据,生成一份 300 字以内的中文日报,语言简洁商业化:

日期:{{ $json.date }}
数据条数:{{ $json.total }}
数据摘要:
{{ $json.summary }}

输出格式:
【今日概览】(1-2句)
【关键数据】(3-5条要点)
【建议行动】(1-2条)

上线时间估计:40 分钟(含调试)。


案例四:Telegram AI 客服 Bot(带对话记忆)

场景:对外提供 Telegram 客服,希望 AI 先回复 80% 的常见问题,降低人工客服压力。关键是要有上下文记忆——用户说"上一个问题再解释一下",AI 需要知道"上一个问题"是什么。

节点流程:

Telegram Trigger(新消息)
    ↓
AI Agent
  ├── [LLM] GPT-4o-mini(成本低,响应快)
  ├── [Memory] Window Buffer Memory(保留最近 10 轮)
  └── [Tool] HTTP Request Tool(查课程数据库)
    ↓
Telegram(回复消息)

AI Agent System Message:

你是 JR Academy 的官方客服助手,用亲切专业的中文回复。

你能回答的问题:
- 课程内容、学习方式和时长
- 报名流程和价格
- 上课时间和平台

你不能做的事:
- 做出任何承诺或折扣保证
- 透露内部运营数据

遇到无法回答的问题,回复:
"这个问题我来帮你转给顾问,请告诉我你方便联系的时间和方式。"

每次回复控制在 150 字以内。

Window Buffer Memory 配置:

Context Window Length: 10
Session Key: {{ $("Telegram Trigger").item.json.message.chat.id }}

用 chat.id 做 Session Key,每个用户的对话历史完全隔离。

Telegram 回复节点:

Chat ID: {{ $("Telegram Trigger").item.json.message.chat.id }}
Text: {{ $json.output }}

上线时间估计:60 分钟(含 Telegram Bot 注册和调试)。


案例五:GitHub PR 合并 → Slack 发布通知

场景:代码合并了却没人知道,团队协作靠手动喊话太低效,尤其是分布在不同时区的远程团队。

节点流程:

Webhook(接收 GitHub Push 事件)
    ↓
If(action === "closed" AND merged === true?)
  └── True → Slack 发布通知

GitHub Webhook 配置:

  1. 进入 GitHub repo → Settings → Webhooks → Add webhook
  2. Payload URL:填入 n8n 的 Webhook 生产 URL
  3. Content type:application/json
  4. 触发事件选 Pull requests

If 节点(两个条件都要满足):

条件1:{{ $json.body.action }} equals "closed"
条件2:{{ $json.body.pull_request.merged }} equals true(Boolean)

Slack 消息模板:

🚀 *新版本已上线!*

*{{ $json.body.pull_request.title }}*
作者:{{ $json.body.pull_request.user.login }}
目标分支:`{{ $json.body.pull_request.base.ref }}`
变更文件:{{ $json.body.pull_request.changed_files }} 个
链接:{{ $json.body.pull_request.html_url }}

上线时间估计:15 分钟。


五个案例对比

案例 核心节点 难度 搭建时间 最大价值
邮件分拣 Gmail + OpenAI + Notion ⭐⭐ 30 min 防止高优先级邮件漏处理
表单 → CRM Webhook + HubSpot + Gmail ⭐ 20 min 留资到联系零遗漏
每日报告 Schedule + HTTP + OpenAI ⭐⭐ 40 min 每天省 30 分钟汇报时间
Telegram 客服 Telegram + AI Agent ⭐⭐⭐ 60 min 80% 问题 AI 自动回复
GitHub 通知 Webhook + Slack ⭐ 15 min 部署进度团队实时同步

建议从案例五(GitHub → Slack)开始练手——只有两个节点,逻辑清晰,最适合感受 n8n 的工作方式。熟悉之后再挑战带 AI 的案例三或案例四。

Author
Share or copy the link
← Previous articlen8n 自动化工作流实战指南 — n8n 是什么:2026年工作流自动化平台新选择Next article →n8n 自动化工作流实战指南 — n8n 核心体系:Trigger、Node、Expression 全解

Related articles

🇦🇺测一下:袋鼠国码农能当FDE吗?

2026-12-01

Monash 研究:肠道酸度是膳食纤维降血压的关键;AI 搬运新闻冲击维州选举信息;MPAC 公布 2027 演出季

2026-12-01

Adelaide 物理学家获 $250,000 总理科学奖;全球葡萄酒消费六十年降四分之一;残障师范生实习障碍研究

2026-12-01

DVA-C03今日上线首发 · Google Cloud AI Agent认证完整解析 · AZ-401本月GA替代AZ-400

2026-12-01

Anthropic推迟下一代模型并调百人做安全,AWS推出AI办公三件套,Google让用户单独关掉AI训练

2026-12-01

GitHub Copilot 实战指南 — Copilot AI Code Review:30 秒让 AI 帮你审 PR,三档深度随需切换

2026-11-30
View all articles →

Done reading? Next steps

Not sure what to learn next? Tell us where you are

Tell us what you do now and where you want to go. See your gaps in skills, evidence, experience, expression and positioning, and what to work on first. No sign-in needed.

Compare with my situation
  • SkillAI Engineer Bootcamp13 weeks, 12 Theory + 13 Practice live classes. You build one Agent system across Context, RAG, Tools, Memory and production Evals. Built for Applied AI and Agent Engineer roles.See the program →
  • PositioningLearning roadmaps by roleFrontend, backend, data, AI and more, laid out stage by stage in the order to learn them.All roadmaps →
  • ExpressionTry an AI mock interviewPick a role and run a mock interview to practise explaining your experience and projects.Practise now →

Not sure what to do next?

Take this page's topic with you and see where your gaps are.

Compare with my situation
JR Academy
AI learning for the global Chinese community
BootcampsFree resourcesLearn AICareer coaching
精选推荐
AI Career Impact Map
Assess career exposure and explore transition paths and learning options
Popular tool
AI & Data Bootcamps
Build your skills through structured courses and hands-on projects
Popular courses
1:1 Career Coaching
Work with an experienced mentor on your resume and interview preparation
Career coaching
Custom Corporate Training
AI training tailored to your team
Business services
Popular tags
Vibe CodingAI codingCursorClaudeJob searchPromptFrontend developmentBackend development
Subscribe to updates

Receive AI learning resources, technical tutorials and career advice by email.

We respect your privacy and do not send spam.