Webhook & Automation Integrations
Overview
klink.cloud provides real-time webhook events that allow external systems to receive inbound and outbound chat messages from your workspace.
Using webhooks, you can:
Send chat notifications to Slack or Microsoft Teams
Trigger workflows in Zapier, Make.com, or n8n
Sync chat data with CRMs, ticketing systems, or internal tools
Build custom automation or AI workflows
Supported Automation Platforms
klink.cloud webhooks can be consumed by any HTTPS endpoint, including:
Zapier
Make.com
n8n (Cloud or Self-Hosted)
Custom backends (Node.js, Python, Go, PHP, etc.)
Creating a Webhook in klink.cloud
Log in to klink.cloud Admin Panel
Navigate to Settings β Developer Tools
Click Create App
Configure:
Webhook URL (Zapier / Make / n8n endpoint)
Webhook Events (e.g.
message.inbound,message.outbound)
Save the App
Once saved, klink.cloud will immediately start sending webhook events to the configured URL.
Webhook Events
message.inbound
Triggered when a customer sends a message
message.outbound
Triggered when an agent or AI sends a message
Webhook Request Specification
Method:
POSTContent-Type:
application/jsonPayload Encoding: UTF-8
Headers
Header Description
x-signature
Webhook signature for request validation
x-real-ip
Origin IP address
content-type
Always application/json
Webhook Payload Example
Inbound Message (message.inbound)
message.inbound)Key Payload Fields
Message Object (data)
data)id
Unique message ID
type
Message type (text, image, file, etc.)
direction
incoming / outgoing
message
Message content
contactId
Customer contact ID
roomId
Conversation ID
platformId
Messaging platform identifier
Room Object (data.room)
data.room)isGroup
Group or 1-on-1 chat
isAiAgentRoom
Chat handled by AI Agent
channel.type
whatsapp, livechat, telegram, etc.
lastMessage
Latest message
unreadCount
Number of unread messages
Microsoft Teams Integration
klink.cloud webhook notifications can be sent to Microsoft Teams using Zapier, Make.com, or n8n.
Authentication Options
Option A: Zapier / Make.com (Recommended)
Zapier and Make.com provide built-in Microsoft authentication.
β Users can authenticate using their Microsoft Admin account β No Azure app setup required β Fastest and easiest option
Option B: n8n Self-Hosted (Azure App Required)
For n8n self-hosted, users must register their own Microsoft OAuth application in Microsoft Azure / Entra ID.
Microsoft Azure App Registration (n8n Self-Hosted)
Step 1: Register Application
Open Microsoft Application Registration Portal
Select Register an application
Enter an Application Name Example:
klink-cloud-n8n-integration
Step 2: Supported Account Types
Select:
Accounts in any organizational directory (Any Azure AD directory β Multi-tenant) and personal Microsoft accounts (e.g. Skype, Xbox)
Step 3: Configure Redirect URI
In n8n, open Microsoft credential settings
Copy the OAuth Callback URL
In Azure:
Redirect URI β Select a platform
Choose Web
Paste the OAuth Callback URL
Click Register
Step 4: Configure Client ID in n8n
Copy the Application (client) ID
Paste it into n8n as the Client ID
Your n8n instance is now connected to Microsoft OAuth.
Microsoft Permissions (Typical)
Depending on the workflow, admin consent may be required for:
Microsoft Teams message posting
Channel access
User profile read access
Permission requirements depend on the n8n node and action used.
Example Use Cases
π Notify Sales team on new WhatsApp leads
π§βπΌ Alert Support team on VIP messages
π€ Trigger AI workflows on inbound messages
π Sync chat data to CRM or analytics tools
Best Practices
Always return HTTP 200 OK to acknowledge webhook receipt
Process webhooks asynchronously
Validate
x-signaturefor securityUse filters (channel, keyword, unread count) to reduce noise
Supported Channels
WhatsApp
Live Chat
Telegram
Social Messaging
Email (if enabled)
Support
For integration help or questions:
π§ [email protected]
Last updated