Workflow library
Templates
Complete Solana automations distributed as inspectable n8n JSON.
- Published
- 1
- Required nodes
- 4
- Format
- JSON
x402Paygate
Verify an x402 payment event before releasing a protected automation path.{
"name": "x402Paygate",
"nodes": [
{
"parameters": {
"event": "payment.verified",
"provider": "payai"
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2001",
"name": "Tarvos x402",
"type": "n8n-nodes-tarvos.x402Trigger",
"typeVersion": 1,
"position": [
-520,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "payment-verified",
"leftValue": "={{ $json.verified }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2002",
"name": "Payment verified?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-280,
0
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "access-granted",
"name": "accessGranted",
"value": true,
"type": "boolean"
},
{
"id": "payment-reference",
"name": "paymentReference",
"value": "={{ $json.paymentReference }}",
"type": "string"
}
]
},
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2003",
"name": "Create access payload",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-40,
-80
]
},
{
"parameters": {
"method": "POST",
"url": "https://example.com/api/unlock",
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "={{ JSON.stringify($json) }}",
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2004",
"name": "Release protected action",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
200,
-80
]
}
],
"pinData": {},
"connections": {
"Tarvos x402": {
"main": [
[
{
"node": "Payment verified?",
"type": "main",
"index": 0
}
]
]
},
"Payment verified?": {
"main": [
[
{
"node": "Create access payload",
"type": "main",
"index": 0
}
],
[]
]
},
"Create access payload": {
"main": [
[
{
"node": "Release protected action",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c6ef7ac8-495d-4f31-b56c-c720425f2000",
"meta": {
"templateSlug": "x402-paygate",
"templateVersion": "0.1",
"instanceId": ""
},
"tags": []
}
x402Paygate
Verify an x402 payment event before releasing a protected automation path.{
"name": "x402Paygate",
"nodes": [
{
"parameters": {
"event": "payment.verified",
"provider": "payai"
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2001",
"name": "Tarvos x402",
"type": "n8n-nodes-tarvos.x402Trigger",
"typeVersion": 1,
"position": [
-520,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "payment-verified",
"leftValue": "={{ $json.verified }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2002",
"name": "Payment verified?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-280,
0
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "access-granted",
"name": "accessGranted",
"value": true,
"type": "boolean"
},
{
"id": "payment-reference",
"name": "paymentReference",
"value": "={{ $json.paymentReference }}",
"type": "string"
}
]
},
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2003",
"name": "Create access payload",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-40,
-80
]
},
{
"parameters": {
"method": "POST",
"url": "https://example.com/api/unlock",
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "={{ JSON.stringify($json) }}",
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2004",
"name": "Release protected action",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
200,
-80
]
}
],
"pinData": {},
"connections": {
"Tarvos x402": {
"main": [
[
{
"node": "Payment verified?",
"type": "main",
"index": 0
}
]
]
},
"Payment verified?": {
"main": [
[
{
"node": "Create access payload",
"type": "main",
"index": 0
}
],
[]
]
},
"Create access payload": {
"main": [
[
{
"node": "Release protected action",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c6ef7ac8-495d-4f31-b56c-c720425f2000",
"meta": {
"templateSlug": "x402-paygate",
"templateVersion": "0.1",
"instanceId": ""
},
"tags": []
}
x402Paygate
Verify an x402 payment event before releasing a protected automation path.{
"name": "x402Paygate",
"nodes": [
{
"parameters": {
"event": "payment.verified",
"provider": "payai"
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2001",
"name": "Tarvos x402",
"type": "n8n-nodes-tarvos.x402Trigger",
"typeVersion": 1,
"position": [
-520,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "payment-verified",
"leftValue": "={{ $json.verified }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2002",
"name": "Payment verified?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-280,
0
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "access-granted",
"name": "accessGranted",
"value": true,
"type": "boolean"
},
{
"id": "payment-reference",
"name": "paymentReference",
"value": "={{ $json.paymentReference }}",
"type": "string"
}
]
},
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2003",
"name": "Create access payload",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-40,
-80
]
},
{
"parameters": {
"method": "POST",
"url": "https://example.com/api/unlock",
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "={{ JSON.stringify($json) }}",
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2004",
"name": "Release protected action",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
200,
-80
]
}
],
"pinData": {},
"connections": {
"Tarvos x402": {
"main": [
[
{
"node": "Payment verified?",
"type": "main",
"index": 0
}
]
]
},
"Payment verified?": {
"main": [
[
{
"node": "Create access payload",
"type": "main",
"index": 0
}
],
[]
]
},
"Create access payload": {
"main": [
[
{
"node": "Release protected action",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c6ef7ac8-495d-4f31-b56c-c720425f2000",
"meta": {
"templateSlug": "x402-paygate",
"templateVersion": "0.1",
"instanceId": ""
},
"tags": []
}
x402Paygate
Verify an x402 payment event before releasing a protected automation path.{
"name": "x402Paygate",
"nodes": [
{
"parameters": {
"event": "payment.verified",
"provider": "payai"
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2001",
"name": "Tarvos x402",
"type": "n8n-nodes-tarvos.x402Trigger",
"typeVersion": 1,
"position": [
-520,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "payment-verified",
"leftValue": "={{ $json.verified }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2002",
"name": "Payment verified?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-280,
0
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "access-granted",
"name": "accessGranted",
"value": true,
"type": "boolean"
},
{
"id": "payment-reference",
"name": "paymentReference",
"value": "={{ $json.paymentReference }}",
"type": "string"
}
]
},
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2003",
"name": "Create access payload",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-40,
-80
]
},
{
"parameters": {
"method": "POST",
"url": "https://example.com/api/unlock",
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "={{ JSON.stringify($json) }}",
"options": {}
},
"id": "c6ef7ac8-495d-4f31-b56c-c720425f2004",
"name": "Release protected action",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
200,
-80
]
}
],
"pinData": {},
"connections": {
"Tarvos x402": {
"main": [
[
{
"node": "Payment verified?",
"type": "main",
"index": 0
}
]
]
},
"Payment verified?": {
"main": [
[
{
"node": "Create access payload",
"type": "main",
"index": 0
}
],
[]
]
},
"Create access payload": {
"main": [
[
{
"node": "Release protected action",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c6ef7ac8-495d-4f31-b56c-c720425f2000",
"meta": {
"templateSlug": "x402-paygate",
"templateVersion": "0.1",
"instanceId": ""
},
"tags": []
}
| Template | Description | Tarvos nodes | Required nodes | Format | Download | Downloads | Version |
|---|---|---|---|---|---|---|---|
| x402Paygate | Verify an x402 payment event before releasing a protected automation path. | 1 | 4 | Self-hosted | 0.1 |
