Workflow library

Templates

Complete Solana automations distributed as inspectable n8n JSON.

Published
1
Required nodes
4
Format
JSON
View Tarvos roadmap
Template signal

Workflow to inspectable JSON

Published templates are continuously resolved into their source.

x402Paygate

Verify an x402 payment event before releasing a protected automation path.
Tarvos templatev0.1
x402Paygate.jsonn8n
{
  "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.
Tarvos templatev0.1
x402Paygate.jsonn8n
{
  "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.
Tarvos templatev0.1
x402Paygate.jsonn8n
{
  "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.
Tarvos templatev0.1
x402Paygate.jsonn8n
{
  "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": []
}

Published templates

1
TemplateDescriptionTarvos nodesRequired nodesFormatDownloadDownloadsVersion
x402PaygateVerify an x402 payment event before releasing a protected automation path.14Self-hosted

Workflow template

x402Paygate

Verify an x402 payment event before releasing a protected automation path.

Format
Self-hosted
Version
0.1
Required nodes
4
Downloads on this device
0
JSON

Complete workflow

x402Paygate.json
Loading the complete workflow definition…

Inspect the complete workflow before importing it into your n8n instance.

Download JSON
00.1