Create automation
create_automationCreate an automation: a name, a filter in the vocabulary of search_mentions (as create_view takes it; empty acts on every mention) and actions: addLabels (up to 10) and/or assigneeId (a member, assigned only when nobody is). It runs on every NEW mention its filter selects, right after scoring and before delivery, so an alert rule on labels can route what it labels ("buy intent on LinkedIn" -> label hot-lead -> an alert rule on labels [hot-lead] to the sales channel). Existing mentions are not touched: use update_mentions for those. At most 25 per workspace; they run oldest first, a later one seeing labels an earlier one added.
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>",
"actions": "<actions>"
},
"name": "create_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique per workspace, case-insensitive. | |
| filter | No | Which new mentions it acts on; empty acts on every one. | |
| actions | Yes | What to do to each mention the filter selects; at least one action. | |
| enabled | No | false saves it without running it. | |
| idempotencyKey | No | Optional. A unique value (a UUID) for this call: 1 to 255 visible ASCII characters, no spaces. Calling again with the same key and the same input within 24 hours returns the first result instead of doing it twice. |