Add an auto-reply rule
create_auto_reply_ruleAdds a keyword rule for one account: when a DM, comment or mention matches, reply with a fixed text or with an AI reply in the person's voice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A short name for the rule. | |
| when | Yes | any (every message), keyword (contains the keyword) or exact (the whole message equals the keyword). | |
| keyword | No | The keyword, for keyword or exact. | |
| priority | No | Higher runs first when several rules match. | |
| account_id | Yes | The account_id from get_auto_reply_settings. | |
| applies_to | Yes | dm, comment or mention. | |
| reply_text | No | The reply to send, for fixed. | |
| reply_with | Yes | ai (reply written in the person's voice) or fixed (send reply_text). | |
| skip_approval | No | Send without waiting for approval. |