n8n 是一個 低程式化自動化工作流工具(Low-Code Workflow Automation)
可以幫助你自動化不同系統與服務之間的流程,例如:
核心概念:用「節點 (Node)」表示任務,用「Workflow」串接節點形成流程
節點類型 | 功能說明 |
---|---|
Webhook | 接收外部 HTTP 請求,觸發 Workflow |
Function | 自訂程式邏輯,處理資料 |
HTTP Request | 向 API 或網站抓取資料 |
CSV / Google Sheets | 讀寫資料表,匯入或匯出資料 |
Set / Merge | 整合、轉換資料格式 |
/test-webhook
return [{ json: { message: "Hello from n8n" } }];
http://localhost:5678/webhook/test-webhook
curl -X POST http://localhost:5678/webhook/test-webhook
{"message":"Hello from n8n"}