> For the complete documentation index, see [llms.txt](https://wiki.decimal.at/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.decimal.at/technical/learning-path/advanced-usage.md).

# Advanced Usage

* Custom Code Nodes (for edge cases)
* Secrets & Environment Variables (API keys, wallets)
* Multi-chain workflows
* Event-driven Automations (capture opportunities instantly)
* Collaboration (sharing workflows across teams/DAOs)

### <mark style="color:blue;">1. Trigger Nodes</mark>

Trigger nodes define when a workflow starts.

* **Web3 Triggers:**
  * Wallet Activity (send/receive transaction)
  * Token Transfer (ERC-20, NFT, stablecoin, etc.)
  * Smart Contract Event (custom ABI events)
  * Token Price Threshold (crossing a set value)
  * DAO Activity (proposal created, vote passed)
  * On-chain Time/Event (block height, scheduled execution)
* **Web2 Triggers:**
  * Webhook Received
  * Calendar Event (Google Calendar, Outlook, etc.)
  * Payment Received (Stripe, PayPal)
  * Form Submission (Typeform, Google Forms)
  * CRM Activity (new lead in HubSpot, Salesforce)

### <mark style="color:blue;">2. Action Nodes</mark>

Action nodes define what happens once the workflow is triggered.

* **Web3 Actions:**
  * Send Funds (native token, ERC-20, stablecoins)
  * Mint / Burn NFT
  * Deploy Smart Contract
  * Execute Smart Contract Function (read/write)
  * Create Wallet / Assign Role
  * Multi-sig Execution
  * Cross-chain Bridge Asset
  * Swap Tokens (via DEX aggregator)
* **Web2 Actions:**
  * Send Email (Gmail, Outlook, SMTP)
  * Send Chat Message (Slack, Discord, Telegram)
  * Create Task (Notion, Asana, Trello)
  * Update Database (Airtable, Google Sheets)
  * Post to Social (Twitter/X, LinkedIn)
  * Make API Request (generic REST/GraphQL calls)

### <mark style="color:blue;">3. Utility Nodes</mark>

Utility nodes add logic, flow control, and structure.

* **Logic Control:**
  * If / Else Branch
  * Switch / Case
  * Loop (repeat until condition met)
  * Delay / Wait (time-based pause)
  * Approval Step (manual confirmation)
* **Data Handling:**
  * Transform Data (map, filter, aggregate)
  * Math Operations
  * String Operations
  * JSON Parse / Build
  * Format (date, currency, decimals)
* **Execution Control:**
  * Error Handling (retry, fallback path)
  * Parallel Execution (run multiple branches)
  * Merge (combine results back into single flow)
