DAICISION
    FeaturesModulesAgentsMarketplacePricingDocs
    LoginGet Started Free
    sidebar.title
    • Creating and Managing Flows
    • Node Types Reference
    • Triggers
    • Logic Nodes
    • Tool Nodes
    • Testing and Debugging
    • Templates and Marketplace
    ⌘K
    breadcrumb.docsflowsTool Nodes
    roleBadge.developer

    Tool Nodes

    6 min read2026-02-24

    Call registered business operations from your flows using Tool nodes. Learn how to discover tools, configure input and output mappings, handle results, and manage permissions.

    Tool Nodes

    Tool nodes are the bridge between your flow automations and the DAICISION platform's business logic. Every business module (CRM, Finance, HR, Document Intelligence, and more) registers its operations as tools in the central ToolRegistry. A tool node in your flow calls one of these registered operations.

    What Is a Tool?

    A tool is a named, schema-validated function exposed by a business module. Tools follow the naming convention module.entity.action:

    • crm.contact.create -- create a CRM contact
    • crm.deal.changeStage -- move a deal to a new pipeline stage
    • finance.invoice.generate -- generate an invoice PDF
    • docint.document.extract -- extract structured data from a document
    • tickets.ticket.escalate -- escalate a support ticket

    Each tool has a formal definition that includes its parameters (as a JSON Schema), required permissions, risk level, and usage examples. This metadata is consumed by both the flow builder UI and the AI orchestrator.

    Finding Available Tools

    In the Flow Builder

    1. Open the Node Palette and select the AI Actions or Utilities category, or search by keyword.
    2. Browse or search the tool picker. Tools are grouped by module (CRM, Finance, HR, Document Intelligence, etc.).
    3. Each tool card displays its description, required parameters, risk level, and the permissions your user needs.

    Tool Metadata Reference

    Every tool definition includes the following metadata:

    | Field | Purpose | | ---------------------- | --------------------------------------------------------------- | | ID | Unique identifier, e.g., crm.deal.changeStage | | Name | Human-readable name | | Description | Plain-language explanation used by humans and the AI context | | Module | The owning business module | | Category | DATA, COMMUNICATION, ANALYSIS, or SYSTEM | | Risk Level | LOW (auto-approve), MEDIUM (user confirm), HIGH (explicit approval), CRITICAL (admin only) | | Parameters | JSON Schema describing required and optional inputs | | Required Permissions | Permission strings the caller must hold | | Examples | Sample inputs with descriptions to guide usage |

    Risk Levels and Approval

    The risk level on a tool determines how the flow engine handles execution:

    | Risk Level | Behaviour | | ------------ | ------------------------------------------------------------ | | LOW | Auto-approved. Read operations like fetching a record. | | MEDIUM | Requires user confirmation before proceeding. | | HIGH | Requires explicit approval and generates an audit log entry. | | CRITICAL | Requires admin-level approval. Reserved for destructive or irreversible operations. |

    Input Mapping

    Input mapping tells the tool node where to get the values for each parameter. There are three approaches, and you can mix them within the same node.

    Static Values

    Hardcode a value directly in the configuration panel:

    {
      "status": "active",
      "priority": "high",
      "currency": "EUR"
    }
    

    Dynamic References

    Reference data from upstream nodes using the expression syntax {{...}}:

    {
      "firstName": "{{nodes.trigger-1.output.first_name}}",
      "email": "{{nodes.trigger-1.output.email}}",
      "accountId": "{{nodes.lookupAccount.output.data.id}}"
    }
    

    Expression paths follow the pattern nodes.<nodeId>.output.<field>. The flow builder provides autocomplete for available fields based on the upstream node's schema.

    Computed Expressions

    Use JavaScript expressions inside {{...}} for inline transformations:

    {
      "fullName": "{{nodes.trigger-1.output.first_name + ' ' + nodes.trigger-1.output.last_name}}",
      "amountWithTax": "{{parseFloat(nodes.trigger-1.output.total) * 1.21}}",
      "isHighValue": "{{nodes.trigger-1.output.amount > 10000}}"
    }
    

    Best Practices for Input Mapping

    • Always validate that referenced upstream nodes actually produce the expected fields. Use the debug preview to inspect actual outputs.
    • Use default values in your expressions where possible: {{nodes.trigger-1.output.priority || 'medium'}}.
    • Keep expressions simple. If you need complex logic, use a transform:code node before the tool node.

    Output Mapping

    After a tool executes, its result is available to all downstream nodes. By default, the output is stored under the node's ID.

    Accessing Results

    If your tool node has the ID createContact, downstream nodes access its output as:

    {{nodes.createContact.output.success}}
    {{nodes.createContact.output.data.id}}
    {{nodes.createContact.output.data.email}}
    {{nodes.createContact.output.message}}
    

    Custom Output Mapping

    You can rename or reshape the output to create a cleaner interface for downstream nodes:

    {
      "outputMapping": {
        "contactId": "data.id",
        "contactEmail": "data.email",
        "wasCreated": "success"
      }
    }
    

    After mapping, downstream nodes reference {{nodes.createContact.output.contactId}} instead of the nested path.

    Handling Results

    Every tool returns a ToolResult with a consistent shape:

    {
      "success": true,
      "data": {
        "id": "abc-123",
        "email": "jane@example.com",
        "createdAt": "2026-02-24T10:30:00Z"
      },
      "message": "messages.crm.contact.created"
    }
    

    Success Path

    When success is true, the data field contains the operation's result. The message field is an i18n translation key for user-facing feedback.

    Error Path

    When a tool fails, success is false and the response includes an error:

    {
      "success": false,
      "error": {
        "code": "validation.email.invalid",
        "message": "The provided email address is not valid"
      }
    }
    

    Branching on Success or Failure

    Use a logic:if node after the tool node to route execution based on the result:

    {
      "logic": "AND",
      "rules": [
        { "field": "nodes.createContact.output.success", "operator": "===", "value": "false" }
      ]
    }
    
    • True branch (tool failed): send an error notification or retry.
    • False branch (tool succeeded): continue with the next step.

    Permissions

    Tool nodes execute in the security context of the user who activated the flow. The flow engine checks the user's permissions against the tool's requiredPermissions before execution. If the user lacks the required permission, the node fails with errors.permission.denied.

    Common Permission Patterns

    | Permission | Meaning | | ----------------------- | -------------------------------- | | crm.contact.read | Read CRM contacts | | crm.contact.write | Create/update CRM contacts | | finance.invoice.write | Create/update invoices | | tickets.ticket.write | Create/update support tickets |

    Ensure the flow's owner (or service account) has all permissions required by the tools used in the flow.

    Worked Example

    Goal: When a new deal closes in the CRM, generate an invoice and send it to the customer.

    1. Trigger -- trigger:event with pattern crm.deal.updated, filtered to stage === 'Closed Won'
    2. Tool node: crm.contact.get -- fetch the contact linked to the deal
      • Input: { "contactId": "{{nodes.trigger-1.output.payload.contactId}}" }
    3. Tool node: finance.invoice.generate -- create the invoice
      • Input: { "contactId": "{{nodes.getContact.output.data.id}}", "amount": "{{nodes.trigger-1.output.payload.amount}}", "currency": "EUR" }
    4. Tool node: finance.invoice.send -- email the invoice PDF
      • Input: { "invoiceId": "{{nodes.generateInvoice.output.data.id}}", "email": "{{nodes.getContact.output.data.email}}" }

    Next Steps

    • Testing and Debugging -- step through tool nodes with real data
    • Logic Nodes -- add conditional logic around tool calls
    • Triggers -- configure what starts your flow
    pager.previous
    Custom Connector Builder
    pager.next
    Admin Setup Checklist

    toc.title

    What Is a Tool?Finding Available ToolsIn the Flow BuilderTool Metadata ReferenceRisk Levels and ApprovalInput MappingStatic ValuesDynamic ReferencesComputed ExpressionsBest Practices for Input MappingOutput MappingAccessing ResultsCustom Output MappingHandling ResultsSuccess PathError PathBranching on Success or FailurePermissionsCommon Permission PatternsWorked ExampleNext Steps

    Product

    • Features
    • AI Agents
    • Marketplace
    • Pricing
    • Connectors
    • Security
    • Changelog

    Resources

    • Documentation
    • API Reference
    • Guides
    • Blog
    • Community

    Company

    • About
    • Careers
    • Contact
    • Partners

    Legal

    • Privacy Policy
    • Terms of Service
    • DPA
    • SLA
    • AI Transparency
    DAICISION© 2026 DAICISION. All rights reserved.

    Built by DAICISION s.r.o., Bratislava, Slovakia