# Hermoso: test_automation: Test an automation · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/test_automation/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / test_automation

# `test_automation`

Test an automation on a sample read-only

Area: WHITE-LABEL CONNECT · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`id` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [automation_runs](https://hermoso.ai/docs/reference/workspace/automation_runs/) Read an automation's runs
- [backtest_automation](https://hermoso.ai/docs/reference/workspace/backtest_automation/) Backtest an ad automation
- [delete_automation](https://hermoso.ai/docs/reference/workspace/delete_automation/) Delete an automation
- [automation_controls](https://hermoso.ai/docs/reference/workspace/automation_controls/) Ad automation kill switch and per-account controls
- [update_automation](https://hermoso.ai/docs/reference/workspace/update_automation/) Edit an automation
- [manage_automation_templates](https://hermoso.ai/docs/reference/workspace/manage_automation_templates/) Automation templates
- [set_automation_status](https://hermoso.ai/docs/reference/workspace/set_automation_status/) Switch an automation on or off
- [create_boost_automation](https://hermoso.ai/docs/reference/workspace/create_boost_automation/) Boost your strongest organic posts automatically
- [get_automation](https://hermoso.ai/docs/reference/workspace/get_automation/) Read one automation
- [create_google_ads_performance_max_campaign](https://hermoso.ai/docs/reference/workspace/create_google_ads_performance_max_campaign/) Create a Google Ads Performance Max campaign

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
