test_automation
Test an automation on a sample read-only
Description
Ask an automation what it WOULD do, without it doing anything: an alert channel judged on an event name (event: {name: 'post.failed'}), a comment-to-DM automation on a sample comment (event: {text, platformPostId}), a Google Ads rule as a dry run on the account as it is now, a boost automation on the brand's recent measured posts (subjectId narrows to one post). Answers wouldRun, what matched and the steps it would take. sample:true returns a body to start from. Nothing is sent, written or spent. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | string | the automation id from list_automations (meta_rule:…, google_rule:…, tiktok_rule:…, boost:…, alerts:…, dm:…, refill) |
event | object | the sample event, shaped by the automation kind |
subjectId | string | one post (boost) or object (ad rule) |
sample | boolean | true = just return a sample body |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/test_automation.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"test_automation","arguments":{"id":"<string>"}}}
CLI
hermoso call test_automation --json '{"id":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
automation_runsRead an automation's runsbacktest_automationBacktest an ad automationdelete_automationDelete an automationautomation_controlsAd automation kill switch and per-account controlsupdate_automationEdit an automationmanage_automation_templatesAutomation templatesset_automation_statusSwitch an automation on or offcreate_boost_automationBoost your strongest organic posts automaticallyget_automationRead one automationcreate_google_ads_performance_max_campaignCreate a Google Ads Performance Max campaign