On Message Received
This trigger fires your n8n workflow whenever a new message is received in CekatAI.
Node Configuration
| Property | Value |
|---|---|
| Node Type | n8n-nodes-base.cekatTrigger |
| Event | message.received |
| Credential | CekatOpenApi |
Setup
1
Add Node
Search for Cekat Trigger in the n8n node panel and add it to your workflow.
2
Select Event
In the node settings, select On message received from the events dropdown.
3
Connect Credential
Select or create a CekatOpenApi credential with your CekatAI API key.
4
Activate
Activate the workflow. The trigger will now listen for new received messages.
n8n Node JSON
json
{
"parameters": {
"events": ["message.received"]
},
"type": "n8n-nodes-base.cekatTrigger",
"typeVersion": 1,
"credentials": {
"CekatOpenApi": {
"id": "YOUR_CREDENTIAL_ID",
"name": "CekatAI account"
}
}
}
Output
When triggered, the node outputs the received message data:
json
{
"message": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"content": "Hello, I need help with my order",
"conversation_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sent_by": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sent_by_type": "user",
"media_type": "text",
"created_at": "2026-04-14T10:00:00Z"
},
"contact": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "John Smith",
"phone": "+62812345678",
"email": "[email protected]"
},
"inbox": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "WhatsApp Inbox"
},
"conversation_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Use Cases
- Auto-respond to common questions with predefined replies
- Route conversations to specific teams based on message keywords
- Log all incoming messages to an external system
- Notify team members when a high-priority message arrives
Combine this trigger with the Send a message action to build auto-reply workflows that respond instantly to customer inquiries.
