# ElevenAgents: Structured procedures compile on save and publish

By Steven Van · 2026-10-05

Integrations can drop separate compile calls, while invalid procedures return per-procedure errors.

Integrations using structured procedures in [ElevenLabs](<https://creatorstoolbox.com/tools/elevenlabs>) no longer need to call a separate compile endpoint or manually update the generated workflow. The Update agent and Create agent draft operations now compile and validate those procedures automatically.

## Validation on save and publish

Structured procedures define an ordered sequence of typed steps that an agent follows when a conversation matches a trigger. Saving an agent draft or publishing the agent rejects invalid procedures, with errors identifying the offending step by its path.

The [October 5 update](<https://elevenlabs.io/docs/eleven-agents/customization/procedures/structured-procedures>) specifies that invalid procedures return per-procedure errors with HTTP 400 and the identifier procedure\_validation\_failed. Agents without structured procedures are unaffected.

## Existing compile calls remain available

The Compile procedures endpoint is now marked legacy. Existing callers can continue using it, but new integrations should use the automatic compilation built into saving and publishing.

![ElevenLabs](<https://elevenlabs.io/android-chrome-512x512.png>)

ElevenLabs

AI audio platform for text to speech, voice cloning, and video dubbing across dozens of languages while preserving the original tone and emotion.

[View ElevenLabs →](<https://creatorstoolbox.com/tools/elevenlabs>)

[Original source](<https://elevenlabs.io/docs/changelog/2026/10/5#elevenagents>)

[Read ElevenAgents: Structured procedures compile on save and publish on Creators Toolbox](<https://creatorstoolbox.com/blog/elevenlabs-elevenagents-structured-procedures-compile-on-save-and-publish>)

---
Canonical source: https://creatorstoolbox.com/blog/elevenlabs-elevenagents-structured-procedures-compile-on-save-and-publish
