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

發表留言