n8n Workflow Manager API — n8n 工作流

复杂度🔗 Webhook19 个节点💎 Other👁 263 次查看作者:Jan Willem Altink

概览

This workflow provides a secure API endpoint to remotely trigger other n8n workflows with custom data and to retrieve information about your existing workflows. It's perfect for users who want to integrate n8n into external systems or programmatically manage their automations.

example usage: I use this workflow in a Raycast extension i have build, to execute n8n workflows from within Raycast: see Github

++How it works++ Receives API Calls: A webhook listens for incoming HTTP requests (e.g., PO

使用的节点

Webhookmap parametersExecute Workflowreturn problem getting workflow errorget all workflowsIncluded WorkflowsDoes workflowId ExistSticky Note3

工作流预览

🚀 Workflow Trigger: Webhook
This workflow starts with a Webhook node that can be tr
Authentication:
* Uses Header Authentication.
* To s
▶️ POST Route: Execute a Target Workflow
This branch handles `POST` requests to dynamically exec
1. Map Webhook Request to Fields:
* Extracts `workflowId` from the in
📄 GET Route: Fetch Workflow Info
Retrieves n8n workflow details via `GET`. Uses n8n API
Query Parameters:
* `workflowId=<ID>`: Fetches a single workflow by
💡 Usage Example
I used this workflow as the backend for a small Raycast
You can check out the Raycast ext
W
Webhook
M
Map webhook request to f…
E
Execute Workflow
R
return succes message
R
return problem executing…
R
Return problem handling …
M
Map key workflow info
M
map parameters
R
Return problem handling …
R
return all workflow info
R
return summarized workfl…
G
Get specific workflowid
I
Included Workflows
G
get all inactive workflows
G
get all active workflows
G
get all workflows
F
full mode
R
return problem getting w…
D
Does workflowId Exist
19 nodes25 edges

工作原理

  1. 1

    触发器

    工作流由 webhook 触发器启动。

  2. 2

    处理

    数据流经 19 个节点, connecting executeworkflow, if, n8n。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (19)

WE

Webhook

webhook

#1
MA

map parameters

set

#2
EX

Execute Workflow

executeWorkflow

#3
RE

return problem getting workflow error

respondToWebhook

#4
GE

get all workflows

n8n

#5
IN

Included Workflows

switch

#6
DO

Does workflowId Exist

if

#7
ST

Sticky Note3

stickyNote

#8

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 n8n-workflow-manager-api 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "n8n Workflow Manager API", "nodes": [...], ...}

集成

executeworkflowifn8nrespondtowebhooksetswitchwebhook

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点19
复杂度high
触发器webhook
查看次数263
分类Other

创建者

Jan Willem Altink

Jan Willem Altink

@jwa91

标签

executeworkflowifn8nrespondtowebhooksetswitchwebhook

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →