propose_write

Translate a plain-English workflow description into a structured automation (trigger + action) and create a plan card th

Translate a plain-English workflow description into a structured automation (trigger + action) and create a plan card the user must approve. Examples: "every Monday at 9am alert me if ROAS dropped >30% week-over-week", "when open alerts exceed 20 send me an email". If the description is ambiguous, returns clarification questions instead of creating the plan card.

post/api/v1/tools/compile_workflow_from_nl

Request

  • Base URL: https://app.magistry.io
  • URL: https://app.magistry.io/api/v1/tools/compile_workflow_from_nl
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.magistry.io/api/oauth/authorize, token URL https://app.magistry.io/api/oauth/token, scopes: automation:write)

Request body

nl_descriptionstring required

Plain-English description of the desired automation.

Response

Tool result

okboolean required
resultunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.