Get automation
get_automationRetrieve a Beehiiv automation's details using publication and automation IDs, optionally including stats, to read automation data.
Instructions
Get automation. Reads account data. OAuth integrations require automations:read.
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": {
"publication_id": "<publication_id>",
"automation_id": "<automation_id>"
},
"name": "get_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expand | No | Optional list of expandable objects. | |
| account | No | Named private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account. | |
| automation_id | Yes | The prefixed ID of the automation object | |
| publication_id | Yes | The prefixed ID of the publication object |