Native n8n community node for AI agents to purchase items from WooCommerce stores using the x402 payment protocol.
- 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
- Go to Settings → Community Nodes → Install
- Search for
n8n-nodes-armoris-buyer - Click Install
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.
- 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
- 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!
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]
| 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: agent@armoris.ai) |
| Customer First Name | string |
(default: AI) |
| Customer Last Name | string |
(default: Agent) |
npm install
npm run dev # Watch mode
npm run build # Production buildMIT © txFusion