Skip to main content

Overview

Connect AI Sensy to automatically send WhatsApp messages during live AI calls (in-call) or after calls end (post-call) using approved WhatsApp templates. Benefits:
  • Send follow-up messages instantly after calls
  • Share links, confirmations, or summaries on WhatsApp
  • Maintain WhatsApp compliance using approved templates
  • Automate WhatsApp outreach without manual effort

Use Cases

Trigger WhatsApp campaigns for:
  • Call follow-ups after AI calls
  • Sending payment or booking links
  • Call summaries or next steps
  • Reminder messages
  • Lead confirmation messages

Requirements

  • Active CallKaro AI account
  • Active AI Sensy account (Basic or Pro plan)

Integration Steps

Step 1: Get API Credentials from AI Sensy

  1. Log in to AI Sensy Dashboard
  2. Navigate to Manage → API Keys
  3. Copy required credentials based on your plan:
Basic Plan:
  • API Key only
Pro Plan: Get API Key

Step 2: Create WhatsApp Template in AI Sensy

  1. Go to Templates section
  2. Click + New Template
  3. Fill in template details:
    • Template Name
    • Category (Marketing/Utility/Authentication)
    • Language
    • Message Content
  4. Add variables using {{1}}, {{2}}, {{3}}, etc.
  5. Submit for approval
Example Template:
Templates require WhatsApp approval (typically 24-48 hours).
Create Template

Step 3: Create API Campaign in AI Sensy

  1. Go to Campaigns
  2. Click Launch
  3. Select API Campaign
  4. Enter:
    • Campaign Name (must match exactly in CallKaro)
    • Select approved template
  5. Save and activate
The Campaign Name must EXACTLY match what you configure in CallKaro AI.
Create Campaign Select API Campaign

Step 4: Connect AI Sensy in CallKaro

  1. Navigate to Dashboard → Integrations
  2. Find AI Sensy
  3. Click Connect
  4. Select your plan (Basic or Pro)
  5. Enter credentials:
    • Basic: API Key
    • Pro: API Key + Project ID + App Password
  6. Click Save
Connect AI Sensy - Basic Plan Connect AI Sensy - Pro Plan

Step 5: Configure WhatsApp Action on Agent

  1. Go to Agents → Select your agent
  2. Navigate to WhatsApp Configuration tab
Agent WhatsApp Configuration
  1. Click Add to create new WhatsApp action
  2. Select function type:
    • In-call - Message sent DURING the call
    • Post-call - Message sent AFTER call ends
  3. Enter Campaign Name (must match AI Sensy exactly)
  4. Map variables to call data:
    • {{1}} → Customer Name
    • {{2}} → Link/Summary
    • {{3}} → Additional data
Add WhatsApp Function
  1. Click Save

In-call vs Post-call

In-call Messages

When: Sent DURING the active call Use Cases:
  • Booking confirmation link while on call
  • Payment link during conversation
  • Immediate reference number

Post-call Messages

When: Sent AFTER call ends Use Cases:
  • Call summary or transcript
  • Follow-up reminders
  • Next steps or action items
  • Feedback requests

Trigger Outbound Calls from AI Sensy Chatbot

You can let your AI Sensy chatbot place an outbound CallKaro call whenever a user asks to be called. This works from either an AI Agent (as a custom Action) or a Flow (as an API Request node) in AI Sensy.
This is a different use case from WhatsApp messaging above — here the chatbot calls the CallKaro API directly to start a phone call, instead of sending a WhatsApp template.

Step 1: Open the API Action in AI Sensy

  • AI Agent: Go to your agent, open the Actions section, and click + New custom API action.
  • Flow: Open your flow and add an API Request node.
Both surfaces use the same configuration described below.

Step 2: Configure the Action

  1. Action name - e.g. call_agent
  2. When should the agent call it? - describe the trigger, e.g. when user asks to be called
  3. Request - set method to POST and paste the CallKaro outbound call URL, or use Paste cURL with the snippet below
  • Replace your_api_key_here with your CallKaro API key.
  • Replace your_agent_id with the CallKaro Agent ID this chatbot should call from. Since the agent is constant for a given action, you can leave it fixed.
  • Update the metadata object with whatever variables your CallKaro agent’s prompt expects. Any value can be turned into a variable using {{ }}.
Headers must include Content-Type: application/json and X-API-KEY with your CallKaro API key.
New custom API action for outbound calls

Step 3: Confirm Variables

Click Next: variables. AI Sensy auto-detects the {{ }} placeholders in the request body and lets you choose which ones the AI should fill in at runtime:
  • Toggle on {{to}}, rename it to to_number, and bind it to the caller’s mobile number attribute (e.g. $MobileNumber) - click Create if the attribute doesn’t exist yet.
  • Leave agent_id untoggled if it should stay fixed, or toggle it if you want the chatbot to pick between multiple CallKaro agents.
  • Map any metadata fields (e.g. name, age, city) to existing AI Sensy attributes, or leave them as fixed values.
Confirm variables for outbound call action

Step 4: Test and Save

Use Test call with sample values to confirm the request reaches CallKaro and triggers a call, then click Save action.

Best Practices

  • Match Campaign Names Exactly - Case-sensitive matching required
  • Use Approved Templates Only - Wait for approval before going live -Clear Variable Mapping - Map variables to existing call metadata
  • Test Before Live - Make sample calls to verify configuration
Test with sample calls before production to catch configuration errors early.