🎓 Learn API Fundamentals with an Interactive Hands-On Tutorial Workflow — n8n 工作流
概览
How it works
This template is an interactive, hands-on tutorial designed to demystify what an API is and how it works, right inside your n8n canvas.
It uses a simple restaurant analogy to explain the core concepts: You* are the "Client" (an HTTP Request* node). The Kitchen is the "Server" (a Webhook node). The API is the Menu and the Waiter—the set of rules for how you can ask for things and get a response.
The workflow is a series of self-contained lessons. Each lesson pairs an HTTP Reques
使用的节点
HTTP Request
工作流预览
⚡
S
Start Tutorial
⚡
1
1. The Kitchen (GET /menu)
P
Prepare Menu Data
1. The Customer (GET Men…
2. The Customer (GET wit…
⚡
2
2. The Kitchen (GET /ord…
P
Prepare Cheese Pizza
P
Prepare Plain Pizza
3. The Customer (POST wi…
⚡
3
3. The Kitchen (POST /re…
P
Process Review Data
4. The Customer (GET wit…
⚡
4
4. The Kitchen (GET /sec…
5. The Customer (Request…
⚡
5
5. The Kitchen (GET /slo…
P
Prepare Slow Response
W
Wait 3 seconds
I
IF Authorized
I
IF extra cheese
B
Base URL
⚡
R
Respond with Secret
⚡
R
Respond: Unauthorized (4…
⚙
⚙️CONFIGURATION⚙️
23 nodes17 edges
工作原理
- 1
触发器
工作流由 触发器 触发器启动。
- 2
处理
数据流经 23 个节点, connecting httprequest, if, manualtrigger。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (23)
HT#1
HTTP Request
httpRequest
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
learn-api-fundamentals-with-an-interactive-hands-on-tutorial-workflow文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "🎓 Learn API Fundamentals with an Interactive Hands-On Tutorial Workflow", "nodes": [...], ...}
集成
httprequestifmanualtriggerrespondtowebhooksetwaitwebhook
创建者
Lucas Peyrin
@lucaspeyrin
标签
httprequestifmanualtriggerrespondtowebhooksetwaitwebhook