> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# On any voice removal event

> Starts an automation for any ElevenLabs voice-library removal lifecycle event.

`elevenLabs.onVoiceRemovalEvent` takes no filters. It starts when a shared voice is scheduled for removal, the notice is withdrawn, or the voice is removed. The result contains `voiceId`, optional voice name and notice period, event type, and timestamp.

```ts automations/track-voice-removals.automation.ts theme={null}
import { automation, markSignificant } from "automate.ax"
import { elevenLabs } from "automate.ax/elevenlabs"

export default automation("Track voice removals", () => {
  markSignificant(elevenLabs.onVoiceRemovalEvent({}))
})
```
