【n8n教程笔记——工作流Workflow】文本课程(第二阶段)——5 自动化业务工作流——0 用例 (Use case)

https://docs.n8n.io/courses/

https://docs.n8n.io/courses/level-two/chapter-5/chapter-5.0/

文章目录

  • [Automating a business workflow](#Automating a business workflow)
    • [Workflow design](#Workflow design)
      • [Now that we know what Nathan wants to automate, let's list the steps he needs to take to achieve this:](#Now that we know what Nathan wants to automate, let's list the steps he needs to take to achieve this:)
        • [1. Get and combine data from all necessary sources.](#1. Get and combine data from all necessary sources.)
        • [2. Sort the data and format the dates.](#2. Sort the data and format the dates.)
        • [3. Write binary files.](#3. Write binary files.)
        • [4. Send notifications using email and Discord.](#4. Send notifications using email and Discord.)
      • n8n provides core nodes(https://docs.n8n.io//integrations/builtin/node-types#core-nodes) for all these steps. This use case is somewhat complex. We should build it from three separate workflows: for all these steps. This use case is somewhat complex. We should build it from three separate workflows:)
        • [1. A workflow that merges the company data with external information.](#1. A workflow that merges the company data with external information.)
        • [2. A workflow that generates the reports.](#2. A workflow that generates the reports.)
        • [3. A workflow that monitors errors in the second workflow.](#3. A workflow that monitors errors in the second workflow.)
    • [Workflow prerequisites](#Workflow prerequisites)

Automating a business workflow

Remember our friend Nathan?

Nathan 🙋: Hello, it's me again. My manager was so impressed with my first workflow automation solution that she entrusted me with more responsibility.

You 👩‍🔧: More work and responsibility. Congratulations, I guess. What do you need to do now?

Nathan 🙋: I got access to all our sales data and I'm now responsible for creating two reports: one for regional sales and one for orders prices. They're based on data from different sources and come in different formats.

You 👩‍🔧: Sounds like a lot of manual work, but the kind that can be automated. Let's do it!

Workflow design

Now that we know what Nathan wants to automate, let's list the steps he needs to take to achieve this:

1. Get and combine data from all necessary sources.
2. Sort the data and format the dates.
3. Write binary files.
4. Send notifications using email and Discord.

n8n provides core nodes for all these steps. This use case is somewhat complex. We should build it from three separate workflows:

1. A workflow that merges the company data with external information.
2. A workflow that generates the reports.
3. A workflow that monitors errors in the second workflow.

Workflow prerequisites

To build the workflows, you will need the following:

Next, you will build these three workflows with step-by-step instructions.

相关推荐
饮水桶_T1 小时前
HashMap笔记
开发语言·数据结构·笔记
承渊政道2 小时前
【Python编程快速上手—让繁琐工作自动化】(模式匹配与正则表达式:从找到一个号码到批量提取信息)
python·正则表达式·pycharm·自动化·模式匹配
2601_967987372 小时前
Python编程快速上手第2版
自动化·python编程·初学者指南·案例实践·资源丰富
星恒随风3 小时前
从0实现C++ AI大模型接入SDK(三):环境搭建与ChatSDK快速上手——实现我们的第一个AI聊天程序
linux·开发语言·c++·人工智能·笔记
Decay__3 小时前
PostgreSQL 用户权限与安全 —— 角色体系、GRANT 授权、pg_hba.conf 认证、行级安全与审计
运维·数据库·sql·postgresql
fengkai45453 小时前
Python运维实战
运维·开发语言·python·ssh·sftp·paramiko
那明眸似水5 小时前
LVS高可用负载均衡集群部署实训
运维·负载均衡·lvs
xy34535 小时前
dsh_builtin_browser 插件实现自动化登录测试
自动化·dsh
MSTcheng.5 小时前
【LinuxIO篇】Linux学习第二十三弹——fopen和open有什么区别?从 FILE* 到 fd,讲透 Linux 文件 IO
linux·运维·学习·io·系统调用·fd
charliejohn5 小时前
计算机考研 408 网络 DNS 概念
运维·服务器·网络