A deployment workflow that suspends for human approval via a web UI. The suspend event includesDocumentation Index
Fetch the complete documentation index at: https://polos.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
_form metadata that the Polos UI renders as an interactive form, and an _approval_url so the client knows where to send the user.
Define the workflow
Invoke and wait for approval
The client starts the workflow and streams events. When the workflow suspends, the client prints an approval URL for the user to open in their browser.The _form schema
The _form object in the suspend data tells the Polos UI what to render:
| Field | Description |
|---|---|
title | Heading displayed on the approval page |
description | Explanatory text below the heading |
fields | Array of form fields (boolean, text, textarea, select) |
context | Read-only metadata displayed alongside the form |
Flow summary
- Workflow runs pre-deploy checks
- Workflow suspends with
_formmetadata and a 24-hour timeout - Client prints the approval URL
- User opens the URL, fills in the form, and clicks Submit
- Workflow resumes with the submitted data
- If approved, the deployment executes; if rejected, the workflow returns a rejected status