You are reading the documentation for an outdated Corteza release. 2026.9 is the latest stable Corteza release.

Debugging

Why is this script not valid?

An automation script is valid if:
  • Defined in a .js file,

  • is located under client-scripts or server-scripts,

  • it defines an export default {…​},

  • defines at least one valid trigger or iterator,

  • defines a security context if it the script is a sink or deferred,

  • conforms to the [extensions:tl-dr:script-signature].