Slack
Save Slack messages from n8n to brand_messages table
Processes Slack messages from n8n automation and saves them to the brand_messages table. First identifies the brand_id from the Slack channel_id, then cleans the message format and saves it with proper metadata like the Feishu integration.
post/api/slack/message
Request
- Base URL: https://api.kolect.com
- URL: https://api.kolect.com/api/slack/message
- Auth: HTTP bearer
Request body
Example request
[
{
"user": "U094PHW816H",
"type": "message",
"ts": "1752081277.208219",
"client_msg_id": "2db09afc-0a05-4f99-963c-4075bc21740f",
"text": "Hello, I'm interested in your product",
"team": "T08LQMSTYB0",
"channel": "C0953SZ2W04",
"channel_type": "group",
"sender_type": "agent",
"partnership_id": "123e4567-e89b-12d3-a456-426614174000",
"partnership_status": "active"
}
]Response
Messages processed successfully
Example response
{
"success": true,
"processed_count": 1,
"results": [
{
"message_id": "789e0123-e89b-12d3-a456-426614174000",
"channel_id": "C0953SZ2W04",
"status": "saved"
}
],
"message": "Slack messages processed successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.