DM automation results
postkey_get_automation_statsPostkey: Reports how the profile's DM automations did: the profile's totals (people who started one, DMs sent, links tapped, click rate), how many automations have each status, and each keyword automation's own counts. The numbers are the DM dashboard's; there is no date filter. Use it for DM results; for post results use postkey_get_post_stats, and for an automation's setup use postkey_get_automation. x_replies lists each X reply automation's replies posted, refused, capped and removed, and x_status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "postkey_get_automation_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many keyword automations to list, 1 to 50. Default 20. The totals always cover all of them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| note | No | Where the numbers come from. | |
| totals | No | The profile's DM totals as the DM service reports them, for example triggered, dms_sent, link_clicks, click_rate. | |
| keyword_automations | No | id, keyword, status and each one's counts. | |
| automations_by_status | No | How many automations have each status. |