# Tutorials & Recipes

* Web3 + Web3 Examples
  * Auto-stake farming rewards
  * Mint & distribute NFTs
  * DAO treasury monitoring
* Web3 + Web2 Examples
  * Tweet when a smart contract event happens
  * Send Discord alert for token transfers
  * Push portfolio updates into Google Sheets
* Community Recipes (user-contributed flows)

### <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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.decimal.at/technical/learning-path/tutorials-and-recipes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
