diff --git a/site/content/integrate/reference/message-attachments/_index.md b/site/content/integrate/reference/message-attachments/_index.md index 6537570866..80b3cc1527 100644 --- a/site/content/integrate/reference/message-attachments/_index.md +++ b/site/content/integrate/reference/message-attachments/_index.md @@ -176,3 +176,13 @@ Content-Length: 192 {"text":"Test message #testing", "attachments": [{"pretext": "This is the attachment pretext.","text": "This is the attachment text."}]} ``` + +## Trigger AI agent responses + +To have Mattermost AI agents respond to a post created by an integration, set the `activate_ai` property to `"true"` in the post's `props` field. + +```json + "props": { + "activate_ai": "true" + } +```