Embedding Interactive n8n Workflows in WordPress

WordPress 中嵌入互動式 n8n 工作流程

WPn8n Plugin Introduction

After spending some time learning n8n, I wanted to document my final report, only to realize that WordPress can’t directly display n8n workflows. So I went ahead and integrated n8n-demo-webcomponent into a WordPress plugin. Now, with the WPn8n plugin, everything becomes much simpler!

WPn8n solves these issues by letting you embed a full, interactive workflow demo directly inside your WordPress content.

Live Example

Below is a simple workflow example showing how to receive data from a Webhook and process it:

[n8n] { "nodes": [ { "name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [250, 300], "parameters": { "path": "demo", "httpMethod": "GET" }, "typeVersion": 1 }, { "name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [450, 300], "parameters": { "url": "https://api.example.com/data", "method": "GET" }, "typeVersion": 1 }, { "name": "Set", "type": "n8n-nodes-base.set", "position": [650, 300], "parameters": { "values": { "string": [ { "name": "message", "value": "Hello from n8n!" } ] } }, "typeVersion": 1 } ], "connections": { "Webhook": { "main": [ [ { "node": "HTTP Request", "type": "main", "index": 0 } ] ] }, "HTTP Request": { "main": [ [ { "node": "Set", "type": "main", "index": 0 } ] ] } } } [/n8n]

Plugin On Github

Here: WPn8n

關於作者

已發表 274 篇文章

留言

還沒有留言。有補充、疑問或不同做法,歡迎第一個留言。

發表留言

Email 不會公開,只用於回覆通知。

第一次留言需經審核,之後會直接顯示。