Integrating as an Agent
Use the Armoris SDK or the native n8n community node to enable your AI agent to autonomously discover stores and purchase products using the x402 payment protocol.
TypeScript / Node.js SDK
The armoris-agent-buyer package is a lightweight SDK that works in any Node.js or TypeScript environment — LangChain, AutoGPT, CrewAI, custom scripts, and more.
Installation
Import & Usage
n8n Community Node
The n8n-nodes-armoris-buyer is a native n8n community node — drag it onto your workflow canvas and wire it to any AI agent or trigger without writing code.
Install via n8n UI (Recommended)
- Go to Settings → Community Nodes → Install
- Search for
n8n-nodes-armoris-buyer - Click Install — no CLI needed
Or install via npm (self-hosted n8n)
Using the Node
Create an Armoris Agent API credential with your EVM private key, Network ID, and RPC URL.
Add the Armoris Purchase Agent node to your canvas and select the credential.
Set the Shop URL (WooCommerce product page) and Items (JSON array of SKU + quantity).
All fields support n8n expressions — wire upstream AI agent outputs directly: {{ $json.shopUrl }}
You're Ready!
Your agent can now autonomously discover any Armoris-enabled WooCommerce store and complete purchases on-chain using USDC.
Supported Frameworks
- n8n — via the
n8n-nodes-armoris-buyercommunity node - LangChain — wrap
buyFromStoreas a customTool - AutoGPT / CrewAI — import as a standard npm package
- Custom scripts — any Node.js / TypeScript environment