Get All Messages From a Conversation
This action retrieves all messages from a specified conversation in CekatAI.
Node Configuration
| Property | Value |
|---|---|
| Node Type | n8n-nodes-base.cekat |
| Resource | lookup |
| Operation | (default — get all messages) |
| Credential | CekatOpenApi |
Setup
1
Add Node
Search for Cekat in the n8n node panel and add it to your workflow.
2
Set Resource
Select Lookup as the resource type.
3
Enter Conversation ID
Provide the Conversation ID of the conversation whose messages you want to retrieve.
4
Connect Credential
Select or create a CekatOpenApi credential with your CekatAI API key.
5
Execute
Run the node to fetch all messages.
n8n Node JSON
json
{
"parameters": {
"resource": "lookup"
},
"type": "n8n-nodes-base.cekat",
"typeVersion": 1,
"credentials": {
"CekatOpenApi": {
"id": "YOUR_CREDENTIAL_ID",
"name": "CekatAI account"
}
}
}
Parameters
Conversation IDstring*
The unique identifier of the conversation to fetch messages from.
Output
The node returns an array of messages:
json
[
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"message": "Hello, I need help with my order",
"conversation_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sent_by": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"sent_by_name": "Customer Name",
"sent_by_type": "user",
"media_type": "text",
"media_url": null,
"status": "delivered",
"created_at": "2026-04-10 16:24:23"
}
]
Use Cases
- Retrieve conversation history for context before responding
- Log all messages to an external system
- Analyze customer sentiment from message history
- Build custom reporting on conversation threads
Use this action after a trigger like On message received to get the full conversation context.
