Get automation insights
sprkly_get_automation_insightsWhat automations did over the last 7, 30 or 90 days: people messaged, messages sent (DMs, private replies, comment replies), active conversations (people who wrote in or were messaged), comments and DMs in (split), new contacts (and how many came by DM), emails captured and link clicks with the click rate, each against the period before. Also per day, and split by automation, keyword, post, account and campaign; each by_post row carries the reach and views of that post (null until fetched). Leads (who was reached, with emails they agreed to share) only with include ["leads"] and inbox access. One DM per person per post: a comment from someone who already got a DM on that post sends nothing, so comments in can run ahead of people messaged. That is the rule working, not a fault. Read notes before comparing numbers.
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": "sprkly_get_automation_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | No | Only this automation (the automation_id from sprkly_list_automations). | |
| include | No | Which parts to return. Default: everything but leads. | |
| campaign | No | Only automations in this campaign. | |
| profile_id | No | Only this connected account. | |
| range_days | No | How many days back: 7, 30 or 90. Default 30. | |
| leads_limit | No | How many leads, newest first. Up to 100. |