Ask a person
Pause a run until a person answers, by pressing a button, writing an answer or changing text you give them, then carry on with what they said. People outside your workspace can answer too.
An Ask a person step pauses the run and asks people for an answer. They get an email and a notice in Lodol, each with a link, and anyone outside your workspace can answer from the link without an account. The run waits without using any resources, then carries on with the answer.
They answer by pressing one of your buttons, such as Approve and Reject, Post it and Skip, or a single Submit. They can write something too, if you want, and change text you give them to check, such as a drafted email or post.
Ask a person
Check a post before it goes out
Generate text
Built-in step · This week's update
Ask a person
Built-in step · Post this thread? · Post it / Skip
If
Built-in step · @answer.answer is "Post it"
Create a post
X · @answer.draft
End if
Built-in step
Say what you need
What to ask is the one line people see first, such as Post this thread?. Put what they need to answer in Details: amounts, links to the source, what happens next.
Choose the buttons
List them in Buttons, up to six, the main one first. Approve and Reject are there to start with. A single Submit is enough when you only need someone to read something, or write something, and send it.
A written answer sets whether they may write alongside (Optional, the default), must (Required), or can't (None).
Give them text to check, if there is some
Put the text in Text they can edit, such as @draft.text. They see it in a box they can change before they press a button, and the run reads the text as they left it as @answer.draft. Use that, not the original, in the step that sends it, or their changes are lost.
Act on the answer
Add an If step after it that tests @answer.answer, the label of the button pressed, exactly as written: @answer.answer is "Post it".
Leave Who to ask empty, and anyone can answer
With no one listed, anyone in the workspace who can run workflows can answer. That's fine for a quick check, but not for a control. For tiered approvals especially, name the people at each level.
Ask for a sign-off
Keep Approve and Reject. Pressing Approve sets approved to true, so an If step can test @approval.approved, with the approved steps inside and the rejected steps under Otherwise.
Approve bills before they're paid
- Trigger
New QuickBooks bill
QuickBooks
Ask a person
Built-in step · Pay @bill.vendor_name $@bill.total? · Approve / Reject
If
Built-in step · @approval.approved is true
Pay a QuickBooks bill
QuickBooks
Otherwise
Built-in step
Send email
Gmail · to the person who entered it
End if
Built-in step
Ask a question
For something only a person knows, such as which PO number a bill goes against, use a single Submit button with A written answer set to Required. Later steps read the answer as @answer.reply.
Choose who answers
Put their email addresses in Who to ask, separated by commas. People in your workspace answer in Lodol; anyone else gets a secure link by email. Who can answer sets whether only those people can answer, those people plus the workspace's owner and admins, or anyone in the workspace who can run workflows.
When nobody answers
| Setting | What it does |
|---|---|
| Time limit (hours) | How long to wait. 72 hours if left empty, at most 720 (30 days). Fractions work: 0.5 is half an hour. |
| If nobody answers in time | A button to press for them, such as Skip or Reject: the run carries on with it, with timed_out set. Left empty, the run stops with an error. |
| Remind every (hours) | Reminds the people asked this often while the request waits, up to 10 reminders. |
| Escalate after (hours) | If nobody has answered after this long, also asks the people in Escalate to, or the workspace's owner and admins if that's empty. It must be shorter than the time limit. |
Keep approvals honest
Two settings keep the person who asked from answering their own request:
- Someone else must answer stops the person the run runs as from answering it: whoever started the run, or the workflow's owner for a scheduled or triggered run.
- Prepared by names whoever prepared the item, such as the person who entered the bill. They can't answer it.
Approve in steps
- Several levels: chain Ask a person steps, each followed by its If, so a second person only sees what the first approved. Use different people at each level, or the second level controls nothing.
- Route by amount: put Ask a person steps inside If branches, such as a manager for bills under $5,000 and the finance lead above.
- Approve small amounts automatically: start with an
approvedvalue set to true, ask for approval only inside an If for large amounts, and act on the result once after the If, so both paths share the same steps.
Post the request in Slack
Also post to Slack channel posts the request to a channel, with a link to answer, using your workspace's Slack connection. The Lodol app must be a member of the channel.
What the step returns
| Output | What it holds |
|---|---|
answer | The button pressed, exactly as labelled |
reply | What they wrote |
draft | The text to check, as they left it |
approved | true when they pressed Approve |
decision | approved or rejected for Approve or Reject, otherwise replied |
comment | What they wrote, when they pressed Approve or Reject |
decided_by | Who answered |
decided_at | When they answered |
timed_out | Whether the time limit ran out |
approval_id | The request's ID |
Every field of the step is on the Approvals reference page.
Repeat steps
Use Repeat to run steps once for each item in a list, a set number of times, or while something is true, and avoid the mistakes that make loops quietly wrong.
Use an AI agent
Give an AI a task, files to read and tools to use, and get back an answer or the exact fields you ask for. Use it where the work has no fixed recipe.