OmniDim Logo

    Custom API Integration Guide

    Learn how to connect your agent to any external service using Custom API integration.

    1. Overview

    Custom API integration connects your agent to external services through REST APIs, allowing it to fetch data or perform actions using third-party services.

    2. Key Benefits

  1. Access external data sources in real-time
  2. Connect to your own backend services
  3. Integrate with virtually any REST API endpoint
  4. Extend your agent's capabilities with custom functionality
  5. 3. Setup Option 1: From Main Dashboard

  6. Go to Integrations page in your dashboard
  7. Select the All Integrations tab
  8. Find the Custom API card and click Connect
  9. Configure your API (see configuration details below)
  10. Test your configuration in the Test tab
  11. Go to your agent's edit page → Integrations tab
  12. Attach the integration from the dropdown
  13. Connecting from dashboard

    Custom API dashboard integration

    Custom API config in dashboard

    Configuration on dashboard

    4. Setup Option 2: From Agent Configuration

  14. Go to your agent's edit page
  15. Select the Integrations tab
  16. Under Connect New Integrations, find Custom API and click Connect
  17. Configure your API
  18. Test your configuration
  19. The integration will automatically attach to your agent
  20. 5. Setup Option 3: From Chat Interface

  21. Ask in chat using natural language like 'Connect my CRM api' or 'Connect my Airtable api'
  22. A connection widget will automatically appear
  23. Click on Add integration to navigate to the integration tab
  24. Under Connect New Integrations, find Custom API Integration and click Connect
  25. Configure your integration
  26. 6. Configuration Guide - Basic Settings

  27. Integration Name: Choose a descriptive name (e.g., 'Weather API')
  28. Description: Explain the API's purpose and usage (important for LLM tool calling)
  29. URL: Full endpoint URL (e.g., https://api.example.com/data)
  30. Method: Select HTTP method (GET, POST, PUT, DELETE)
  31. 7. Configuration Guide - Headers

  32. Authorization tokens
  33. Content-Type specifications
  34. API keys
  35. Custom headers
  36. 8. Configuration Guide - Parameters

    Specify both query parameters (GET) and body parameters (POST/PUT).

  37. Name: Parameter identifier
  38. Description: Purpose of this parameter
  39. Required: Toggle between optional/required
  40. Data Type: Select from dropdown
  41. AI Generated: Toggle whether the AI should dynamically generate values
  42. Adding query or body parameters

    Parameter configuration

    9. Testing Your Integration

  43. Navigate to the Test tab
  44. Enter test values for all parameters
  45. Click Test API to verify the connection
  46. After successful testing, click Save Integration
  47. Running a test before saving integration

    Testing custom API

    10. Using With Your Agent

  48. Once connected, your agent will automatically use this API when appropriate
  49. Usage is determined based on the API description you provide
  50. 11. Example of Using Custom API

    Example of using Airtable with custom API integration.

    Custom API Airtable integration sample

    Airtable API example

    12. Pro Tips

  51. Provide detailed descriptions for AI-generated parameters
  52. Use specific examples in your descriptions
  53. Test thoroughly before deploying to production