Create a comment-to-get trigger (inactive)
create_growth_trigger[writes flayr data · write scope] Creates a keyword trigger, always INACTIVE: nothing is sent until a person turns it on. DMs work on Instagram and Facebook only; the reply text must not contain a keyword.
(Wraps POST /api/v2/growth-triggers.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"keywords": "<keywords>"
},
"name": "create_growth_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | http(s) URL behind {{link}}. | |
| name | Yes | ||
| dmText | No | Private reply (Instagram and Facebook only; refused on an account of another platform). | |
| brandId | No | ||
| postIds | No | Only comments on these posts; omitted = all posts. | |
| keywords | Yes | Case-insensitive. exact = the whole comment; startsWith = its start; contains = anywhere (substring, so "hi" also matches "this"). | |
| maxSends | No | After this many sends, reply only overCapText. | |
| priority | No | Higher is checked first; the first matching trigger wins. | |
| accountId | No | A connected account id (GET /api/v2/accounts); omitted = every account of the brand. | |
| replyText | No | Public reply. {{name}} = the commenter, {{link}} = `link` with UTM tags. Must not contain a keyword (it would trigger itself). | |
| campaignKey | No | utm_campaign for {{link}}, and the campaign column of the logs. | |
| overCapText | No | ||
| delaySeconds | No | Wait before replying; capped at 20 at send time. | |
| dmVariations | No | ||
| repeatPolicy | No | once_per_commenter | |
| replyVariations | No | Alternatives picked at random with replyText. |