What You Can Do
Serverless Workflows
Build serverless workflows that run on Pipedream's infrastructure.
Code Steps
Write custom code in Python or Node.js to integrate with Chimoney.
Event Sources
Trigger workflows from webhooks, schedules, or other event sources.
Example Workflows
Webhook to Wallet Creation
When a webhook is received, create an agent wallet using Pipedream.
Trigger: Webhook
→Action: Create Wallet via API
How to Get Started
1
Create Workflow in Pipedream
Create a new workflow in Pipedream.
2
Add HTTP Request Step
Add an HTTP Request step to call Chimoney's API endpoints.
3
Add API Key
Add your Chimoney API key to the request headers.
API Integration (Alternative)
If you prefer direct API integration instead of Pipedream, 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: 'PipedreamAgent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);