Skip to main content
Options describing the approval card posted by requestApproval.

Properties

string
Label for the approve button. Default: “Approve”
string[]
User IDs allowed to decide. Clicks from anyone else post a notice to the thread and the workflow keeps waiting. Omit to accept any user.
string
Label for the deny button. Default: “Deny”
string
Optional body text (markdown) rendered above the fields
Record<string, string>
Key/value pairs rendered as a bold-label list on the card
string
Optional subtitle rendered under the title
How long to wait for a decision before giving up. When it elapses the card is finalized as timed out and the result has timedOut: true. Omit to wait indefinitely.
string
required
Card title, e.g. “Deploy v1.2.3?”