Block Catalog
Blocks are the building units of AiSpinner. Place them on the canvas and connect with edges to build your workflow.
AI Agents
| Block | Type ID | Description |
|---|---|---|
| AI Agent | ai.agent | ElevenLabs conversational voice agent |
| Phone Number | ai.phone_number | SIP trunk for inbound/outbound voice calls |
| PBX | ai.pbx | Virtual PBX -- auto-dialer + call routing |
| Claude Agent | ai.claude_agent | Anthropic Claude with vision and tools |
| LLM Agent | ai.llm_agent | OpenAI GPT models for tasks and automation |
| Grok Agent | ai.grok_agent | xAI Grok with X/Twitter integration |
| Outbound Call | ai.outbound_call | Initiate outbound AI voice calls |
| Post-Call Webhook | ai.postcall_webhook | Receive transcripts and data after calls |
Trading
| Block | Type ID | Description |
|---|---|---|
| Bybit | trading.bybit | Bybit exchange (spot + derivatives) |
| Binance | trading.binance | Binance exchange (spot + futures) |
| OKX | trading.okx | OKX exchange |
| Kraken | trading.kraken | Kraken exchange |
| Coinbase | trading.coinbase | Coinbase exchange |
| Deribit | trading.deribit | Deribit options & futures |
| IG Markets | trading.ig | IG Markets -- CFDs, forex, indices |
| Interactive Brokers | trading.ibkr | IBKR -- stocks, options, forex |
Messaging
| Block | Type ID | Description |
|---|---|---|
| Telegram | messenger.telegram | Telegram bot messaging |
| Telegram Channel | messenger.telegram_channel | Auto-publish to Telegram channels |
| Discord | messenger.discord | Discord bot messages |
messenger.whatsapp | WhatsApp Business API | |
| Matrix | messenger.matrix | Matrix protocol VoIP + chat |
Automation
| Block | Type ID | Description |
|---|---|---|
| Worker | code.worker | Python code that runs 24/7 in a sandbox |
| Scheduler | automation.scheduler | Trigger blocks on a cron schedule |
Data
| Block | Type ID | Description |
|---|---|---|
| CoinGecko | data.coingecko | Crypto market data and prices |
| TwelveData | data.twelve_data | Stocks, forex, and indices data |
Storage & UI
| Block | Type ID | Description |
|---|---|---|
| File Explorer | storage.file_explorer | Sandboxed file manager (100 MB) |
| Monitor | ui.monitor | Universal display dashboard for worker output |
How Blocks Connect
Blocks connect through edges (routes) drawn on the canvas:
- Click Route in the toolbar
- Drag from one block to another
- The connection is established automatically
Key principle: drawing an edge between blocks automatically configures their connection. No manual config needed.
Connection Examples
| From | To | What happens |
|---|---|---|
| Worker | Bybit | ctx.bybit becomes available in worker code |
| Worker | Monitor | ctx.monitor renders widgets to the Monitor block |
| Worker | Telegram | ctx.telegram sends messages via the bot |
| Worker | Claude Agent | ctx.llm queries Claude for AI responses |
| Worker | File Explorer | ctx.files provides file read/write access |
| AI Agent | Phone Number | Agent handles calls on that number |
| Scheduler | Worker | Scheduler triggers worker on a schedule |
A Worker block can connect to multiple blocks simultaneously. For example, connect one Worker to Bybit + Telegram + Monitor + Claude to build a complete AI trading bot with alerts and a dashboard.