get_automation_activity
The activity of a comment-to-DM automation, newest first: one row per comment or message it acted on, with the DM sent, an answer that waits in the queue (queued: the send cap is full or the platform asked to wait; it goes out as soon as there is room), a skip and its reason (already got the DM, limit reached, comment older than 7 days, the send cap stayed full for a day on Instagram and Facebook or an hour on X, the person does not accept DMs from the X account, the person replied STOP earlier, the automation was paused while the answer waited), a person who replied STOP on X (opted_out: no automatic DMs to them from that X account again, in any workspace or automation), or a failure with the platform's error. With Follow first (Instagram) a row can be waiting (asked to follow, no link yet: it shows whether the person tapped the button and how often), a skip can say the person was already asked to follow, and a sent row says whether the person followed after the ask, already followed, or got the link without a check. With a follow-up (Instagram and Facebook) a row can be waiting for the tap (the tap step on an Instagram comment: no link until the person taps), and each sent row says where its follow-up is: due at a time, sent, or kept back with the reason (no tap or message from the person in Meta's 24-hour window, the person said stop, a team member answered by hand, the automation or the follow-up was switched off). On the Facebook Page the person shows by name (Facebook has no @handle). Use it to answer 'how many people got the DM' or 'why did this person not get it'.
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": {
"automation_id": "<automation_id>"
},
"name": "get_automation_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (default 25, max 100). | |
| offset | No | Rows to skip (for the next page). | |
| outcome | No | Only rows with this outcome. | |
| automation_id | Yes | The automation id (from list_automations). |