> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usebrainbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# New Message

Triggers when a new message is received

## Input

| Property | Type     | Required | Description                                               |
| -------- | -------- | -------- | --------------------------------------------------------- |
| channel  | DROPDOWN | Yes      | Channel, private group, or IM channel to send message to. |

## Sample Output

```json theme={null}
{
  "client_msg_id": "2767cf34-0651-44e0-b9c8-1b167ce9b7a9",
  "type": "message",
  "text": "f",
  "user": "U037UG6FKPU",
  "ts": "1678231735.586539",
  "blocks": [
    {
      "type": "rich_text",
      "block_id": "4CM",
      "elements": [
        {
          "type": "rich_text_section",
          "elements": [
            {
              "type": "text",
              "text": "f"
            }
          ]
        }
      ]
    }
  ],
  "team": "T037MS4FGDC",
  "channel": "C037RTX2ZDM",
  "event_ts": "1678231735.586539",
  "channel_type": "channel"
}
```
