What You Can Do
Workflow Automation
Build complex workflows to automate agent wallet operations with n8n's visual workflow builder.
API Integration
Use n8n's HTTP Request node to integrate with Chimoney's REST API.
Event-Driven Actions
Trigger Chimoney actions based on webhooks, schedules, or other events.
Example Workflows
Create Wallet on Webhook
When a webhook is received, automatically create an agent wallet.
Trigger: Webhook Received
→Action: Create Agent Wallet via API
Scheduled Payment Processing
Run scheduled workflows to process payments from agent wallets.
Trigger: Schedule (Cron)
→Action: Process Payments via Chimoney API
How to Get Started
1
Set Up n8n
Install n8n (self-hosted or cloud) and create a new workflow.
2
Add HTTP Request Node
Add an HTTP Request node and configure it to call Chimoney's API endpoints.
3
Configure Authentication
Add your Chimoney API key to the HTTP Request node headers.
4
Build Your Workflow
Connect triggers to Chimoney actions and test your workflow.
API Integration (Alternative)
If you prefer direct API integration instead of n8n, here's a quick example:
// Create agent wallet via API
const response = await fetch('https://api.chimoney.io/v0.2/wallets', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'n8nAgent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);