Technical reference for WardiereAI integrations and webhooks.
WardiereAI is a fully managed service — we handle all API integrations, infrastructure, and maintenance for you. You never need to write code or manage API keys directly.
WardiereAI connects through your own WhatsApp Business API account to receive and send messages on behalf of your AI agent.
All WhatsApp Business API usage costs are borne entirely by the customer on actuals. This includes Meta's per-conversation fees, message template fees, phone number hosting charges, and any other charges from your Business Solution Provider (BSP). These costs are separate from and not included in your WardiereAI subscription. You are responsible for paying all WhatsApp Business API charges directly to Meta or your BSP.
When a customer sends a message on WhatsApp, the following payload is delivered to the workflow:
// Incoming WhatsApp message webhook payload
{
"object": "whatsapp_business_account",
"entry": [{
"id": "WHATSAPP_BUSINESS_ACCOUNT_ID",
"changes": [{
"value": {
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "918088728030",
"phone_number_id": "PHONE_NUMBER_ID"
},
"messages": [{
"from": "919876543210",
"id": "wamid.ABCdEfGhIjK...",
"timestamp": "1700000000",
"type": "text",
"text": {
"body": "Hi, I'd like to book an appointment."
}
}]
},
"field": "messages"
}]
}]
}
Your AI agent uses Large Language Model APIs for custom training, understanding customer queries, and generating intelligent responses.
All AI/LLM API usage costs are borne entirely by the customer on actuals. This includes per-token fees, per-request fees, fine-tuning charges, embedding costs, and any other charges from the model provider. These costs are separate from and not included in your WardiereAI subscription. Costs vary based on the model selected and your usage volume. You are responsible for maintaining an active account, monitoring usage, and paying all charges directly to the provider.
// Example LLM API request (varies by provider)
{
"model": "claude-sonnet-4-20250514",
"max_tokens": 1024,
"messages": [
{
"role": "system",
"content": "You are a helpful assistant for [Business Name]..."
},
{
"role": "user",
"content": "I'd like to know about your pricing plans"
}
]
}
WardiereAI uses the Google Calendar API to check your real-time availability and book appointments directly from WhatsApp conversations.
calendar.readonly — Read calendar events to check availabilitycalendar.events — Create, update, and manage booking eventsWhen a customer books an appointment, the following event is created on your Google Calendar:
// Google Calendar booking event payload
{
"summary": "Consultation - Priya Sharma",
"description": "Booked via WardiereAI WhatsApp Agent.\nCustomer: Priya Sharma\nPhone: +91 98765 43210\nNotes: Interested in premium plan.",
"start": {
"dateTime": "2026-03-22T10:00:00+05:30",
"timeZone": "Asia/Kolkata"
},
"end": {
"dateTime": "2026-03-22T10:30:00+05:30",
"timeZone": "Asia/Kolkata"
},
"attendees": [
{ "email": "[email protected]" },
{ "email": "[email protected]" }
],
"conferenceData": {
"createRequest": {
"requestId": "wardiere-abc123",
"conferenceSolutionKey": { "type": "hangoutsMeet" }
}
}
}
When an appointment is booked through your WhatsApp AI agent, WardiereAI automatically generates a Google Meet link and attaches it to the calendar event.
Enterprise customers can access custom N8N webhook endpoints to connect WardiereAI with external CRMs, ERPs, or any system that supports HTTP webhooks.
// Webhook endpoint format
POST https://n8n.wardiere.xyz/webhook/{your-unique-webhook-id}
The following payload is sent to your configured webhook endpoint when a new lead is captured:
// N8N webhook payload example (new lead)
{
"event": "new_lead",
"timestamp": "2026-03-20T14:30:00Z",
"data": {
"customer_name": "Priya Sharma",
"phone": "+919876543210",
"email": "[email protected]",
"source": "whatsapp",
"intent": "booking_inquiry",
"conversation_summary": "Customer inquired about premium plan pricing and booked a consultation.",
"appointment": {
"date": "2026-03-22",
"time": "10:00",
"timezone": "Asia/Kolkata",
"meet_link": "https://meet.google.com/abc-defg-hij"
}
}
}
WardiereAI stores and organizes all conversation data, leads, and appointment records so you always have access to your business data.
Enterprise customers can retrieve conversation and lead data programmatically:
// GET /api/v1/export/leads?from=2026-03-01&to=2026-03-20
{
"status": "success",
"period": {
"from": "2026-03-01",
"to": "2026-03-20"
},
"total_leads": 47,
"leads": [
{
"id": "lead_a1b2c3d4",
"customer_name": "Priya Sharma",
"phone": "+919876543210",
"first_contact": "2026-03-15T09:22:00Z",
"messages_exchanged": 12,
"intent": "booking_inquiry",
"status": "appointment_booked"
}
]
}
Security is foundational to how WardiereAI operates. All integrations use your own business credentials, and we follow industry best practices for data protection.
| Service | Authentication Method |
|---|---|
| Google Calendar & Meet | OAuth 2.0 with customer-owned Google account |
| WhatsApp Business API | API token authentication (Meta Business Platform) |
| AI / LLM Providers | API key authentication (customer-owned account with Anthropic, OpenAI, xAI, Google, etc.) |
| N8N Webhooks | Unique webhook URL + HMAC signature verification (recommended and enabled by default for Enterprise customers) |
| Data Export API | API key authentication (Enterprise only) |
Rate limits are determined by the underlying platform providers. WardiereAI monitors usage and will notify you if you approach any thresholds.
| Service | Limit | Notes |
|---|---|---|
| WhatsApp Business API | Tier-based (Meta) | Starts at 1,000 business-initiated conversations/day; scales with account quality |
| AI / LLM Providers | Provider-dependent | Varies by model and plan (e.g. tokens/min, requests/min); managed through your provider account |
| Google Calendar API | 1,000,000 queries/day | Google default quota; more than sufficient for all plans |
| N8N Webhooks | No hard limit | Dependent on your infrastructure plan; Enterprise plans include dedicated resources |
| Data Export API | 100 requests/hour | Enterprise plan; higher limits available on request |
Have questions about integrations, webhooks, or your API setup? Our team is here to help.