Ask a person in the middle of a run
A flow asks someone a question by email, WhatsApp or Slack and carries on with the answer.
By the xMap team · Updated
The Ask a person block (Logic) stops a run to ask someone a question, such as "Which of these 3 sites should I dig into?", and carries on as soon as the answer comes in. Approval only says yes or no to items; Ask a person takes a free answer. It costs nothing.
- Write the Question.
{{items}}adds the list of items that reached the block (the first 20, numbered),{{count}}how many there are, and{{field}}a field such as{{name}}. - Pick who to Ask: you (the flow’s owner), a teammate, or someone outside your organization (by email only; they answer on a page, with no account).
- Pick how: by email (a link to a page where they answer), on WhatsApp from xMap’s number (their next message is the answer; choices come as buttons or a list) or in a Slack channel (the first reply in its thread by someone of your organization). When someone has no WhatsApp number confirmed, the question goes by email and the step says so.
- Pick what an answer is: words, one of your choices (2 to 6), a number, or yes or no. An answer that does not fit is asked again.
- Ask once for the run, or about each item (up to 20): each item then goes on with its own answer. On WhatsApp the questions come one at a time.
- Set how long to wait (1 hour to 14 days) and what happens with no answer: the run stops, or carries on with a default answer.
Later blocks use the answer: each item has answer, answered_by and answered_at, and {{answer}} works in an Email or a message. A Filter on answer keeps, for example, only the items someone said yes to.
The person asked also gets a notice in the bell, and your organization’s admins can answer from the app too. The run’s panel shows whose answer it waits for, with Answer here and Stop; Carry on now cannot skip a question.