Skip to main content
For built-in tools, quick scenarios, and API links, see Tools & Custom Actions.

Custom Tools Deep Dive

Creating Custom Tools

Custom tools are created and managed through the Tools Library in your dashboard. Each tool is independent and can be assigned to multiple assistants.

What are Endpoint Tools?

Endpoint tools allow your assistant to make HTTP requests to external APIs during conversations. Perfect for:
  • CRM lookups
  • Database queries
  • Order status checks
  • User authentication
  • Third-party integrations

Configuration

Example Tool Definition

Endpoint Configuration

  • URL: https://api.yourcompany.com/customers/lookup
  • Method: GET, POST, PUT, DELETE
  • Headers: Authentication, Content-Type, etc.
  • Authentication: API keys, Bearer tokens, Basic auth
  • Timeout: Maximum execution time (default: 30 seconds)
Test your endpoint tools thoroughly. Failed API calls can interrupt conversations.

Tool Testing & Validation

Before deploying tools to production:
  1. Parameter Validation:
    • Test with valid parameters
    • Test with invalid/missing parameters
    • Verify parameter type conversion
  2. Error Handling:
    • Network timeouts
    • API errors (4xx, 5xx)
    • Invalid responses
    • Service unavailability
  3. Performance:
    • Response times under load
    • Timeout scenarios
    • Rate limiting behavior
  4. Security:
    • Input sanitization
    • Authentication validation
    • Data privacy compliance

Best Practices

Keep It Simple:
  • One tool, one purpose
  • Clear, descriptive names
  • Minimal required parameters
Handle Errors Gracefully:
  • Return meaningful error messages
  • Provide fallback responses
  • Log errors for debugging
Optimize Performance:
  • Cache frequently accessed data
  • Use efficient APIs
  • Set appropriate timeouts
Security First:
  • Validate all inputs
  • Use secure authentication
  • Follow data privacy rules
  • Audit tool usage regularly

Tool Assignment & Management

Tool Library Workflow:
  1. Create tools in the Tools Library
  2. Test tools with sample data
  3. Assign tools to specific assistants
  4. Monitor usage and performance
  5. Update tools as needed
Assignment Benefits:
  • Reusability: Use the same tool across multiple assistants
  • Consistency: Standardize integrations across your organization
  • Maintenance: Update tools in one place, apply everywhere
  • Governance: Control which assistants can use specific tools
Usage Analytics:
  • Track tool execution frequency
  • Monitor success/failure rates
  • Analyze performance metrics
  • Identify optimization opportunities

Tool Integration Examples

CRM Integration

Use Case: Assistant can instantly access customer history, preferences, and previous interactions during calls.

Order Status Check

Use Case: Customers can get real-time order updates without transferring to human agents.

Lead Scoring

Use Case: Assistant gathers information and provides real-time lead scoring to prioritize follow-ups.

Product Recommendations

Use Case: Provide personalized product suggestions during sales calls.

System Status Check

Use Case: Proactively identify system issues before customers report them.

Troubleshooting Assistant

Use Case: Provide first-level technical diagnostics and troubleshooting.