Skip to main content
This event is fired when a message is posted in a discussion, including the messages your own agent posts. message.type is the field to read, and its sense is the opposite of what you might expect on a Sidekick conversation: a person’s turn is OUTBOUND and your agent’s own replies return as INBOUND. An agent that answers every message it receives, without checking the type, answers itself forever. The custom agent guide has the full filter. message.workspaceFiles holds the files attached to the message, and is present from webhook version 2026-09-02.

Schema

View JSON Schema → Example:

Using the Webhooks SDK

You can use the @team-plain/webhooks package to parse and verify this event with full type safety: