n8n-nodes-armoris-buyer
v0.1.4
Published
n8n node to programmatically purchase items from an Armoris Gateway using the x402 protocol.
Maintainers
Readme
n8n-nodes-armoris-buyer
Native n8n community node for AI agents to purchase items from WooCommerce stores using the x402 payment protocol.
Features
- Auto-Discovery — Provide a store URL, the node scrapes
<meta>tags to find the Gateway URL and Store ID automatically - x402 Native — Handles quote requests, EIP-712 payment signatures, and order submission under the hood
- Secure Credentials — Agent private keys are stored in n8n's encrypted credential vault
- Dynamic Inputs — All fields support n8n expressions, so upstream AI agents can inject URLs and items at runtime
Installation
Via n8n UI (Recommended)
- Go to Settings → Community Nodes → Install
- Search for
n8n-nodes-armoris-buyer - Click Install
Via Docker
FROM n8nio/n8n:latest
USER root
COPY ./armoris-agent-buyer /usr/local/lib/n8n/armoris-agent-buyer
COPY ./n8n-nodes-armoris-buyer /usr/local/lib/n8n/n8n-nodes-armoris-buyer
RUN cd /usr/local/lib/n8n/armoris-agent-buyer && npm install --include=dev && npm run build
RUN cd /usr/local/lib/n8n/n8n-nodes-armoris-buyer && npm install --include=dev && npm run build
RUN mkdir -p /usr/local/lib/n8n/custom && cd /usr/local/lib/n8n/custom && npm init -y && \
npm install /usr/local/lib/n8n/n8n-nodes-armoris-buyer /usr/local/lib/n8n/armoris-agent-buyer
USER nodeSet N8N_CUSTOM_EXTENSIONS=/usr/local/lib/n8n/custom in your environment.
Usage
1. Configure Credentials
- In n8n, create a new Armoris Agent API credential
- Enter the Agent's EVM private key (
0x...) - Set the Network ID (e.g.,
31337for local,324705682for Skale Testnet) - Set the RPC URL
2. Add the Node
- Add Armoris Purchase Agent to your workflow canvas
- Select your credential
- Set the Shop URL — the WooCommerce product page URL (e.g.,
https://store.com/product/sneakers) - Set the Items — JSON array of
[{ "sku": "product-123", "quantity": 1 }] - Execute!
Dynamic Inputs from AI Agents
All fields support n8n expressions. Wire an upstream AI agent's output directly:
- Shop URL:
{{ $json.shopUrl }} - Items:
{{ JSON.stringify($json.items) }}
[AI Agent] → [IF: x402 supported?] → [Armoris Buyer] → [Response]
↘ [Stripe Node] → [Response]Node Reference
| Field | Type | Description |
|-------|------|-------------|
| Shop URL | string | WooCommerce product or shop page URL |
| Items | json | Array of { sku, quantity } objects |
| Customer Email | string | Buyer email (default: [email protected]) |
| Customer First Name | string | (default: AI) |
| Customer Last Name | string | (default: Agent) |
Development
npm install
npm run dev # Watch mode
npm run build # Production buildLicense
MIT © txFusion
