n8n Templates
Ready-to-use workflow templates for Sei Network
The resources/n8n/
folder contains workflow templates for common blockchain operations and AI agent patterns. These templates help you get started quickly with proven workflow patterns.
๐ฏ Quick Navigationโ
๐ New to n8n? โ n8n Service Guide | User Guide
๐ง Need Setup Help? โ n8n Configuration
๐ค Building Agents? โ ElizaOS Guide | Cambrian Guide
๐ Blockchain Integration? โ Sei MCP Server Guide | Sei n8n Nodes
Available Templatesโ
๐ถ Beginner Templatesโ
Sei MCP Agent Exampleโ
- File: Sei MCP Agent Example.json
- Purpose: Basic blockchain operations via MCP server
- Features: Wallet balance, simple transactions
- Best for: Learning MCP integration
- Prerequisites: Sei MCP Server running
๐ Related: Sei MCP Server Guide
Cambrian Agent Demoโ
- File: Cambrian Agent Demo.json
- Purpose: DeFi operations with agent integration
- Features: Portfolio management, agent communication
- Best for: Understanding agent workflows
- Prerequisites: Cambrian Service configured
๐ Related: Cambrian Service Guide | Yei Finance Protocol
๐ Advanced Templatesโ
Seiling Buidlbox Full Demoโ
- File: Seiling Buidlbox Full Demo.json
- Purpose: Complete system demonstration
- Features: Multi-service integration, full workflow
- Best for: Understanding the entire platform
- Prerequisites: All services running (see Services Overview)
๐ Related: Services Overview | Service Integration Patterns
Sei Multi-Agent Systemโ
- File: Sei Multi-Agent System Example.json
- Purpose: Coordinated multi-agent workflows
- Features: Complex decision chains, advanced integration
- Best for: Advanced automation
- Prerequisites: ElizaOS + Cambrian configured
๐ Related: ElizaOS Guide | Agent Coordination
๐งฉ Specialized Templatesโ
Custom Sei Nodes Demoโ
- File: Custom Sei Nodes Demo.json
- Purpose: Demonstrates all 5 custom Sei nodes
- Features: Direct blockchain operations
- Best for: Learning custom nodes
- Prerequisites: Custom Sei Nodes installed
๐ Related: Sei n8n Nodes Guide
Sei Eliza Demoโ
- File: Sei Eliza Demo.json
- Purpose: ElizaOS agent integration
- Features: Conversational AI with blockchain
- Best for: AI-powered crypto operations
- Prerequisites: ElizaOS with blockchain plugins
๐ Related: ElizaOS Guide
Template Categoriesโ
๐ Blockchain Operationsโ
Template | Difficulty | Features | Prerequisites |
---|---|---|---|
Sei Nodes Agent Example | Beginner | Basic queries, balance checks | Sei n8n Nodes |
Custom Sei Nodes Demo | Intermediate | All 5 custom nodes | Node Installation |
Sei MCP Demo | Intermediate | MCP protocol usage | MCP Server |
๐ค AI Integrationโ
Template | Difficulty | Features | Prerequisites |
---|---|---|---|
Cambrian Agent Demo | Beginner | DeFi agent basics | Cambrian Setup |
Sei Eliza Demo | Intermediate | Conversational AI | ElizaOS Setup |
Multi-Agent System | Advanced | Agent coordination | Multiple AI services |
๐ Data & Automationโ
Template | Difficulty | Features | Prerequisites |
---|---|---|---|
Portfolio Monitor | Beginner | Balance tracking | Database Setup |
DeFi Automation | Intermediate | Trading automation | DeFi protocols |
Full System Demo | Advanced | All integrations | Complete deployment |
๐ Using Templatesโ
Installation Stepsโ
- Access n8n: Open http://localhost:5001
- Import Template: Go to Templates โ Import from file
- Upload JSON: Download template from GitHub and upload
- Configure Credentials: Set up required API keys and connections
- Test Workflow: Execute to verify functionality
- Customize: Modify for your specific needs
๐ Detailed guide: n8n Import Process
๐ง Template Requirementsโ
Common Prerequisitesโ
- OpenAI API Key: For AI-powered templates
- Sei Private Key: For blockchain operations
- Database Access: PostgreSQL connection configured
- Service Health: All required services running
๐ Setup help: Configuration Guide
Service-Specific Requirementsโ
- Sei MCP Templates: MCP Server running
- Cambrian Templates: Cambrian service configured
- ElizaOS Templates: ElizaOS framework setup
- Blockchain Templates: Custom nodes installed
๐ฏ Template Use Casesโ
๐ผ Portfolio Managementโ
Templates: Portfolio Monitor, DeFi Automation
- Purpose: Track holdings, automate rebalancing
- Features: Real-time monitoring, automated alerts
- Integration: Sei MCP Server + PostgreSQL
๐ค Agent Developmentโ
Templates: Cambrian Demo, Multi-Agent System
- Purpose: Build conversational AI agents
- Features: Natural language processing, decision making
- Integration: ElizaOS + Cambrian
๐ Workflow Automationโ
Templates: Full System Demo, Custom Nodes Demo
- Purpose: Automate complex business processes
- Features: Multi-step workflows, error handling
- Integration: Multiple services coordination
๐ DeFi Operationsโ
Templates: DeFi Automation, Sei Eliza Demo
- Purpose: Automated trading and yield farming
- Features: Price monitoring, transaction execution
- Integration: Yei Finance + Blockchain nodes
๐ ๏ธ Customization Guideโ
Basic Modificationsโ
- Change Parameters: Update addresses, amounts, timing
- Add Notifications: Include email/Slack alerts
- Modify Logic: Adjust decision conditions
- Update Schedules: Change execution frequency
Advanced Customizationโ
- Add Services: Integrate additional databases or APIs
- Custom Functions: Create JavaScript processing nodes
- Error Handling: Implement retry logic and fallbacks
- Monitoring: Add health checks and status reporting
๐ Development guide: n8n Custom Development
๐ Template Structureโ
Common Patternโ
Trigger โ Validation โ Processing โ Action โ Logging โ Notification
Example Flowโ
Cron Schedule โ Check Balance โ Compare Threshold โ Execute Trade โ Store Result โ Send Alert
๐ Pattern library: Workflow Patterns
๐งช Testing Templatesโ
Pre-Deployment Testingโ
# 1. Check service health
curl http://localhost:5001/healthz # n8n
curl http://localhost:5004/health # Sei MCP Server
# 2. Test credentials
# Verify API keys and private keys in .env
# 3. Test database connections
docker exec seiling-postgres pg_isready
Template Validationโ
- Import Template: Load into n8n
- Check Connections: Verify all nodes are properly connected
- Test Execution: Run workflow manually first
- Monitor Logs: Check for errors or warnings
- Validate Results: Confirm expected outcomes
๐ Related Resourcesโ
๐ Documentationโ
- n8n Service Guide - Complete n8n setup and usage
- Sei n8n Nodes - Custom blockchain nodes documentation
- User Guide - General usage patterns and examples
- External Resources - Official documentation links
๐ค AI & Blockchainโ
- ElizaOS Guide - Conversational AI framework
- Cambrian Guide - DeFi agent platform
- Sei MCP Server - Blockchain operation tools
Create Your Own Templatesโ
Based on these patterns, you can create templates for:
- Social Trading: Copy successful trader strategies
- Yield Optimization: Automatically find best yields
- Risk Management: Monitor and protect portfolios
- Market Analysis: Automated technical analysis
- Notification Systems: Custom alert mechanisms
๐ค Contributing Templatesโ
Have a useful workflow? Consider contributing:
- Clean Template: Remove personal data and credentials
- Add Documentation: Include usage instructions
- Test Thoroughly: Verify functionality
- Submit PR: Share with the community
Next Steps:
- ๐ Try a Template: Start with Sei MCP Agent Example
- ๐ง Learn n8n: n8n Service Guide
- ๐ Integrate Blockchain: Sei Integration Guide