log_conversation
Log a conversation entry to the history store with customer ID, channel, direction, content, and status for accurate record-keeping.
Instructions
Log a conversation entry to the conversation history store
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Message delivery status | |
| channel | Yes | Communication channel used | |
| content | Yes | Message content | |
| metadata | No | Additional metadata (tags, campaign name, etc.) | |
| direction | Yes | Direction of the message | |
| messageId | No | Provider message ID for cross-referencing | |
| customerId | Yes | Customer identifier (phone number, email, or user ID) |