User Verification (with Slack)
User Verification (with Slack)
Section titled “User Verification (with Slack)”The User Verification action stops the macro, shows a message you wrote, and waits for the user to choose Continue or Stop. If ClicKey is connected to Slack, the same prompt is posted to your selected channels too – whichever answer arrives first wins.
Overview
Section titled “Overview”In the + Add Action menu, under Utilities, User Verification is “Wait for your input.” Use it whenever a macro should stop and let a human confirm something before continuing:
- Before a destructive step.
- Before a manual login that the macro can’t automate.
- Before a step that depends on something hard to verify automatically.
- As a check-in during a long run.
It’s the most lightweight form of “ask the user” – just a confirmation, not a value collection. For collecting a typed value, see Set Variable with Ask user.
How to use
Section titled “How to use”- Click + Add Action → User Verification.
- Enter the message the user will see. It has a Text / Expression switch: in Text mode you write a plain sentence and drop in a value with
{name}(e.g.Check order {orderId}); in Expression mode the whole message is JavaScript coerced to text. See Text mode vs Expression mode. - Save.
When the macro reaches the action, it pauses and shows the message. Continue lets the macro proceed; Stop ends the run.
Options & settings
Section titled “Options & settings”| Option | What it does | Default |
|---|---|---|
| Message | The text the user sees in the dialog. Has a Text / Expression switch: Text inserts {name} variables into a plain sentence, Expression evaluates JavaScript. | ”Please verify and continue.” (default message; you should customize it) |
The User Verification action itself has no timeout, no auto-decide behavior, and no fallback – it always waits for an answer.
What the user sees
Section titled “What the user sees”Locally (always)
Section titled “Locally (always)”A floating dialog window appears in the foreground with:
- Your message text.
- A Continue button – playback resumes.
- A Stop button – playback ends.
The dialog floats above other windows. Return activates Continue. Esc does nothing – to stop the run, click Stop.
In Slack (if connected)
Section titled “In Slack (if connected)”If you’ve connected ClicKey to a Slack workspace and configured channels to receive notifications, the same prompt is also posted to those channels as a Slack message with Continue and Stop buttons.
The local dialog and the Slack message race – whichever answer arrives first wins. The other prompt is dismissed automatically.
That means anyone in the selected Slack channels can answer the prompt.
To set up Slack, see Slack.
Notes & limitations
Section titled “Notes & limitations”- The action never times out. It waits until someone clicks Continue or Stop – in the dialog or, if connected, in Slack.
- The message is a template. Literal text is kept as-is, and every
{...}block is evaluated at playback time. For example,Approve order {orderId} for {customerName}?uses current variable values, andAttempt {retryCount + 1}can compute text directly. - Slack prompts go wherever your Slack messages arrive. See Slack for setup. If The macro asks something is switched off under When to notify, only the local dialog appears.
- First-answer-wins is symmetric. A click on the local Continue dismisses the Slack message; a click on the Slack Continue dismisses the local dialog.
- The Slack message includes the macro name and the message text. Variables are already substituted before posting.
- User Verification works regardless of which app is focused – Accessibility permission lets it surface the local dialog even when ClicKey is in the background.
- If ClicKey is force-quit during a User Verification, the run is lost; auto-save preserves the macro file itself but the run state is not resumable.
Related
Section titled “Related”- Slack – set up the Slack workspace connection.
- Set Variable – collect a typed value from the user instead of just a confirmation.
- Variables and Expressions – the
{variable}substitution syntax used in the message. - Verification and Failure Handling – other ways the macro can pause and ask for input.
- Playback Basics – overview of the playback flow.