Skip to main content
POST
Turn plain words into a trigger
Describe a rule in words and get back a draft to review, or a question when the words leave something open. Pass the current draft to edit it. Nothing is saved; call triggers_create with the draft. Requires the automations:write scope.

Authorizations

x-api-key
string
header
required

An Avazal API key (avz_…) created in Settings → API keys.

Body

application/json
text
string
required

a string at most 1000 character(s) long

Required string length: 1 - 1000
Pattern: ^\S[\s\S]*\S$|^\S$|^$
refs
maxItems(24) · object[]

What the owner picked in the words, by id and position.

Maximum array length: 24
scope
enum<string>
Available options:
team,
personal
current
object

Response

Success

_tag
enum<string>
required
Available options:
Drafted
draft
object
required
notes
string[]
required
unsupported
string[]