Skip to main content

Integrations

Integrations extend your voice agents by connecting to external services. This section covers all available integrations and how to configure them.

Available Integrations

IntegrationPurposeStatusPlans
Phone NumbersPhone numbers and callsAvailableAll
SIP TrunkBring your own carrier (sipgate, Placetel, TENIOS, easybell, Zadarma, Twilio BYO, Telnyx, Custom)AvailableAll — requires compliance approval
Google CalendarAppointment scheduling via GoogleAvailableAll
Outlook CalendarAppointment scheduling via Microsoft OutlookAvailableAll
HubSpot CRMRead/write contacts and deals from your voice agentAvailableAll
MCP serversBring your own MCP-compatible tool server and expose its tools to agents — see MCP ServersAvailableAll
API KeysExternal application accessAvailableAll
WebhooksReal-time event notificationsAvailableAll
All Plans

Calendar integrations, SIP, HubSpot, MCP servers, API access, and webhooks are available on all plans, including Free. SIP trunking requires a one-time compliance approval before the connection wizard unlocks.


Phone Number Setup

Phone numbers allow your agents to receive and make real phone calls.

Setup Steps

  1. Go to Phone Numbers in the sidebar
  2. Click "Buy Number"
  3. Select country and number type
  4. Complete purchase
  5. Assign an agent to the number

Numbers are automatically configured and ready to use after purchase.


SIP Trunk Integration

Bring your own SIP carrier — HANC speaks SIP natively and routes inbound calls into your voice agent (and outbound calls back through your trunk). Available on all plans including Free after a one-time compliance approval.

Supported Carriers

HANC has tuned adapters for the following carriers, plus a generic option for anything else:

CarrierAuto-import numbers via APINotes
sipgateYes (Personal Access Token)EU SIP trunking
PlacetelManualGerman VoIP, Webportal credentials
TENIOSManualEuropean SIP
easybellManualGerman carrier, Kundencenter credentials
ZadarmaYes (optional API key)Global numbers
Twilio (BYO)YesAccount SID + Auth Token
TelnyxYesAPI-driven SIP and DIDs
Custom SIP trunkManualAny other provider — supply host, port, transport

Compliance Approval

SIP carrier connections share the same compliance flow as outbound campaigns. Until your account is approved, the Connect SIP button opens a showcase modal listing all supported carriers with a mailto:support@hanc.ai CTA. Approval is usually same-business-day.

Setup Steps (after approval)

  1. Go to Phone NumbersConnect SIP.
  2. Pick your carrier.
  3. Enter SIP credentials (and optional API key/secret if your carrier supports auto-import).
  4. For Custom SIP, also supply host, port (default 5060), and transport (UDP / TCP / TLS).
  5. Click Connect — HANC registers your SIP user and, where supported, lists your phone numbers.
  6. Select numbers to import (or add manually by E.164).
  7. Assign an inbound and/or outbound agent on each number.

When to Use SIP vs. Buying a Number

ScenarioRecommendation
New to phone serviceBuy numbers through HANC (simpler — no compliance step)
Existing PBX or carrier contractConnect via SIP — keep your number
Enterprise telephony with strict carrier requirementsSIP for full control
Multiple regions / number poolsSIP for flexibility

Google Calendar Integration

Connect Google Calendar to enable your voice agents to check availability and book appointments during calls.

Setup Steps

  1. Go to IntegrationCalendars
  2. Click "Connect Google Calendar"
  3. Sign in with Google
  4. Authorize Hanc.AI access

Permissions requested:

  • View calendar events (to check availability)
  • Create calendar events (to book appointments)

Calendar Configuration

After connecting, configure the calendar tool on your agent:

SettingDescription
calendar_idWhich Google Calendar to use for scheduling
timezoneTimezone for appointment scheduling (e.g., Europe/Vienna)
work_hoursAvailable hours for booking (e.g., Monday-Friday 9:00-18:00)
slot_durationDefault appointment length (e.g., 30 minutes)
bufferBuffer time between appointments (e.g., 15 minutes)

Calendar Usage in Agents

Once connected and configured, agents can:

  • Check availability for specific dates and times
  • Book appointments automatically
  • Respect work hours and buffer times
  • Handle rescheduling requests

Example conversation:

Customer: "Can I book an appointment for Tuesday at 3pm?"

Agent: [Checks calendar]
"Yes, Tuesday at 3pm is available.
May I have your name to complete the booking?"

Outlook Calendar Integration

Connect Microsoft Outlook Calendar to enable appointment scheduling through your voice agents.

Setup Steps

  1. Go to IntegrationCalendars
  2. Click "Connect Outlook Calendar"
  3. Sign in with your Microsoft account
  4. Authorize Hanc.AI access

Permissions requested:

  • View calendar events (to check availability)
  • Create calendar events (to book appointments)

Calendar Configuration

After connecting, configure the calendar tool on your agent:

SettingDescription
CalendarWhich Outlook calendar to use for scheduling
TimezoneTimezone for appointment scheduling (e.g., Europe/Vienna)
Work HoursAvailable hours for booking (e.g., Monday-Friday 9:00-18:00)
Slot DurationDefault appointment length (e.g., 30 minutes)
BufferBuffer time between appointments (e.g., 15 minutes)

Differences from Google Calendar

Both calendar integrations work identically from the agent's perspective. The only difference is the sign-in process — choose whichever calendar service you already use.

tip

You can connect both Google and Outlook calendars at the same time, but each agent can only use one calendar tool.

Cancelling Appointments

Callers who booked an appointment receive a cancellation link. They can cancel their appointment directly without needing to call back.


HubSpot CRM Integration

Connect your HubSpot workspace so your voice agents can read and write contacts and deals during the call, and so HANC's built-in CRM can mirror your HubSpot pipelines.

What It Enables

  • Live tool — HubSpot CRM in the agent's Actions tab. The agent can match the caller to a HubSpot contact by phone, fetch deal stage, and update properties from the live conversation. See Actions & Tools.
  • Pipeline mirroring in HANC's CRM. Your HubSpot deal stages show up in the Deals kanban so you can see calls and HubSpot context side-by-side.
  • Per-pipeline AI toggle — decide which HubSpot pipelines the AI is allowed to act on; everything else stays read-only.

Setup Steps

  1. Open the Integrations page and click Connect HubSpot.
  2. Authorise HANC in your HubSpot account.
  3. Pick which pipelines should be mirrored (visible under CRM → Pipeline settings) and which should allow agent stage updates.
  4. Add the HubSpot CRM tool to any agent that should touch HubSpot during the call.
tip

You don't have to use HubSpot to use HANC's CRM. The built-in CRM works standalone — HubSpot integration is purely for organisations that already live in HubSpot and want both worlds in sync.


MCP Servers

The Model Context Protocol (MCP) is an open standard for connecting AI assistants to external tools. If you run an MCP-compatible server, you can register it once on the Integration page and have your agents call its tools mid-conversation.

Setup Steps (overview)

  1. Go to IntegrationMCP servers.
  2. Click Connect MCP server, enter a label and the HTTPS URL of your server, choose authentication (None or Bearer token), and save.
  3. Open the agent you want to use the tools, go to ActionsAdd ActionMCP servers, and toggle on the connections this agent should use.

The agent will discover and use the server's tools at the start of every call.

See the full MCP Servers page for detailed setup, troubleshooting, and how MCP fits alongside built-in tools.


API Keys

Generate API keys to integrate Hanc.AI with your own applications.

Creating an API Key

You can create up to 3 API keys per user.

  1. Go to IntegrationAPI Keys
  2. Click "Create API Key"
  3. Enter a name (e.g., "CRM Integration")
  4. Set permissions (read, write, admin)
  5. Copy the key immediately (shown only once)

API Key Security

Important
  • Store keys securely (environment variables, secrets manager)
  • Never commit keys to version control
  • Rotate keys periodically
  • Delete unused keys

Using API Keys

Include in API requests:

curl -X GET "https://api.hanc.ai/v1/agent/list" \
-H "x-api-key: YOUR_API_KEY"

API Key Permissions

PermissionAccess
ReadView agents, calls, analytics
WriteCreate/modify agents, upload KB
AdminAll operations, delete, settings

Available endpoints

The full list of API endpoints, grouped by resource (Calls, Agents, Knowledge Base, Phone Numbers, Voices, Subscription, Customers, Workspaces) lives on its own page:

Full API Reference


Webhooks

Configure webhooks to receive real-time notifications about events in your Hanc.AI account.

Setup

  1. Go to IntegrationWebhooks
  2. Enter your webhook endpoint URL
  3. Select events to subscribe to
  4. Save configuration

Webhooks send HTTP POST requests to your endpoint with event data in JSON format.


Post-Call Actions

Post-call actions trigger automatically after a voice agent conversation ends. Configure these on individual agents.

Available Action Types

ActionDescription
EmailSend an email summary of the call (to business owner, customer, or both)
SMSSend an SMS notification after the call
WhatsAppSend a WhatsApp message after the call
API CallMake an HTTP request to an external endpoint with call data

Setup

  1. Go to Voice Agents → select your agent
  2. Open the Actions tab
  3. Click "Add Action"
  4. Select action type and configure:
    • Trigger: When the action fires (e.g., after every call, only on specific outcomes)
    • Recipients: Who receives the notification
    • Content: Message template with call data variables

Custom Integrations

Using the API

Build custom integrations using the Hanc.AI API:

Base URL: https://api.hanc.ai/v1
Authentication: Bearer token (API key)
Format: JSON

API Documentation

See the API Reference for the full list of available endpoints.


Integration Best Practices

Security

  • Store credentials securely
  • Rotate API keys regularly
  • Limit permissions to minimum needed

Reliability

  • Log all integration events
  • Monitor integration health

Testing

  • Test integrations in staging first
  • Verify data flow both directions
  • Test error scenarios
  • Document integration setup

Troubleshooting

Integration won't connect

  1. Verify credentials are correct
  2. Check for typos
  3. Ensure third-party account is active
  4. Try disconnecting and reconnecting

Calendar not syncing

  1. Re-authorize calendar access
  2. Check calendar permissions
  3. Verify selected calendar is correct
  4. Check for sync delays (up to 5 minutes)