Approvals
Built-in step · 1 step
Pause a workflow until someone approves or rejects it, or until someone replies.
To learn when to use these steps, with examples, read Ask for approval.
Ask a person
Pause the run until a person answers: approves, picks an option or gives input only a human can. They get an email and a notification with a link, and can answer without an account.
Inputs
- What to ask
titletextRequired - The question people see first, in one line, for example: Post this thread? or Pay @bill.vendor $@bill.total for invoice @bill.number?
- Details
detailstext - Everything people need to answer: amounts, line items, what you need and in what form, and links to the source documents. Links are clickable in the email and the app.
- Text they can edit
drafttext - Something to check before it goes out, such as an email or a post. They can change it before they answer, and the next steps get it as they left it.
- Buttons
buttonslist - What they press to answer, main one first: Approve and Reject, Post it and Skip, or just Submit. Up to 6.Default:
["Approve", "Reject"]. - A written answer
written_answertext - Whether they write something too: a note, or an answer you need.One of:
none,optional,required. Default:optional. - Who to ask
approverstext - Email addresses of the people to ask, separated by commas. People in this workspace answer in the app; anyone else gets a secure link by email, so a client can answer without an account. Leave empty to let anyone in the workspace who can run workflows answer.
- Who can answer
approver_grouptext - Only the people asked, the people asked plus the workspace's owner and admins, or anyone in the workspace who can run workflows (not Viewers).One of:
listed(Only the people asked),admins(People asked, plus admins),anyone(Anyone who can run workflows). - Time limit (hours)
time_limit_hoursnumber - How long to wait for an answer. Leave empty for 72 hours; at most 720 (30 days). Hours can be fractions, for example 0.5 for half an hour.From 0 to 720.0.
- If nobody answers in time
timeout_answertext - A button to press for them, such as Skip. Leave empty to stop the run.
- Remind every (hours)
remind_every_hoursnumber - Remind the people asked this often while the request waits (at most 10 reminders). Leave empty for no reminders. Hours can be fractions, for example 0.5 for half an hour.From 0 to 720.0.
- Escalate after (hours)
escalate_after_hoursnumber - If nobody has answered after this long, also ask the people in Escalate to. Must be shorter than the time limit. Hours can be fractions, for example 0.5 for half an hour.From 0 to 720.0.
- Escalate to
escalate_totext - Email addresses to escalate to, separated by commas. Leave empty to escalate to the workspace's owner and admins.
- Someone else must answer
require_different_approvertrue/false - The person the run runs as can't answer it: whoever started it, or the workflow's owner for scheduled and triggered runs.Default:
false. - Prepared by
prepared_bytext - Email addresses of whoever prepared this item, for example the person who entered the bill. They can't answer it.
- Also post to Slack channel
slack_channeltext - A channel ID or #name to post the request to, with a link to answer. Uses the Slack account connected to this workspace; the Lodol app must be in the channel.
Outputs
The answer: the button pressed, anything written, the text as they left it, and who answered and when.
answertext- The button pressed, exactly as the step labels it: Approve or Reject on an approval, one of the step's own buttons otherwise, or the one chosen for when time runs out. Empty for a written reply and when nobody answered.
approval_idtextapprovedtrue/false- True when the person pressed Approve.
commenttext- What the person wrote when they pressed Approve or Reject, if anything; reply holds it for any button.
decided_attext- When they answered (ISO 8601).
decided_byobject- Who answered.
decisiontext- approved or rejected when the person pressed Approve or Reject, otherwise replied.
drafttext- The text to edit, as left: changed by the person or as the step gave it. Empty when the step gave no text to edit, and for a written reply.
replytext- The written reply. Empty for an approval, and when nobody replied in time and the step was set to continue.
timed_outtrue/false- True when nobody answered in time and the time-limit outcome was applied.
Example output
{
"answer": "Approve",
"approval_id": "sample-approval",
"approved": true,
"comment": "Looks good.",
"decided_at": "2026-01-15T16:30:00+00:00",
"decided_by": {
"email": "jordan@example.com",
"name": "Jordan Lee"
},
"decision": "approved",
"draft": "",
"reply": "",
"timed_out": false
}