Slack
ClicKey can talk to a Slack workspace, so you can be notified when a macro starts, finishes, or needs your attention – and you can answer ask-user prompts and verifications directly from Slack instead of from your Mac.
Overview
Section titled “Overview”Once connected, Slack picks up several kinds of messages:
- Playback start / finish notifications.
- User Verification prompts with Continue / Stop buttons. See User Verification (with Slack).
- Show Error Dialog prompts from a Find action or Conditional branch, with Continue / Stop / Run branches again buttons. See Show Error Dialog.
- Ask user inputs from Set Variable actions – render in Slack with input controls.
- Error and alert messages when something goes wrong during a run.
- On-demand screenshots of the Mac, pulled into the run message with a button.
When a prompt is answered, its buttons are replaced with the result and the time it was resolved – the original message is updated instead of leaving an active-looking button behind.
The local floating dialog and the Slack message race – whichever answer arrives first wins.
How to connect
Section titled “How to connect”- Open ClicKey → Settings… and choose the Slack tab.
- Click Connect Slack. A browser tab opens. Sign into your Slack workspace and approve ClicKey.
From this point, ClicKey writes to you in Slack. In the settings you choose where its messages arrive: as a Direct message to me, in specific channels, or both.
If your team should see it too
Section titled “If your team should see it too”Under Where messages arrive, tick any channel in the list. Messages then go to your direct message and to those channels.
- Public channels work straight away – ClicKey joins them itself when you tick them.
- Private channels only appear once someone has invited ClicKey inside Slack
(
/invite @ClicKey). Slack does not allow an app to add itself to a private channel.
Turn off Direct message to me if you only want the team channels and not a copy for yourself.
Settings
Section titled “Settings”The Slack tab has the following fields:
| Setting | What it does | Default |
|---|---|---|
| Connection | Which workspace ClicKey is connected to, with Refresh and Disconnect. | Not connected |
| Direct message to me | Sends every message to you personally in Slack. Needs no setup. | On |
| Channels | Any channel you tick also receives the messages. Public ones ClicKey joins itself; private ones need an invite in Slack first, and say so. | None ticked |
Tick more than one place and every message is sent to each of them – you’ll get a copy in your direct message and in each channel.
Once Slack is connected, Send updates to Slack appears right below Connection – it is the master switch. Turn it off to pause everything ClicKey posts to Slack – runs, prompts, warnings and screenshots – while keeping the workspace connected. Turn it back on to resume. Everything below it only applies while this is on.
Under When to notify, choose which events should post a message:
| Setting | What it does | Default |
|---|---|---|
| A run starts | A message each time a macro starts. | On |
| A run finishes or stops | A message when a run ends – whether it finished on its own or you stopped it. | On |
| The macro asks something | User Verification, Ask User, and Show Error Dialog prompts also post to Slack, with buttons. | On |
| Warnings | Errors and alerts from the macro go to Slack. | On |
Under Further options:
| Setting | What it does | Default |
|---|---|---|
| Send screenshots to Slack | Adds a Get screenshot button to the run message. Anyone in the channel can press it to pull a fresh screenshot of the Mac into the message; pressing it again replaces the picture. With this off, runs post no screenshots and show no button. | Off |
What a run posts
Section titled “What a run posts”A single run posts up to two messages, and they stay separate on purpose.
| Message | When | What it holds |
|---|---|---|
| Playback started | The moment the run begins | The macro name, the start time, a Pause Playback button and – if screenshots are on – the screenshot and its button |
| Playback finished or Playback stopped | The moment the run ends | The macro name, the end time, and a summary line: duration, actions and interruptions |
The start message keeps saying “Playback started” for good. It reports that a run began, and that stays true – so it is never rewritten into “finished” or “stopped” later. Scrolling back through a channel therefore shows what actually happened, in order, instead of a single card that has quietly replaced its own history.
What does change on the start message while the run is alive: pausing swaps the Pause Playback button for Continue and adds a Paused line, resuming swaps it back, and a screenshot request puts the new picture in place of the old one. When the run ends, its buttons disappear – they would do nothing from then on – and everything else stays as it was, screenshot included.
Each message goes to every destination you picked, so with a direct message plus two channels you get three copies of each. You can switch either message off on its own under When to notify; with A run finishes or stops off there is no summary anywhere, because the summary lives on that message.
How User Verification, Ask user, and Show Error Dialog work over Slack
Section titled “How User Verification, Ask user, and Show Error Dialog work over Slack”When ClicKey posts a prompt to Slack:
- The message includes the macro name and the prompt text.
- Variables in the prompt are already substituted before posting (you don’t see
{name}, you see the actual value). - For User Verification, the message has Continue and Stop buttons.
- For a Show Error Dialog inside a branch, the message is headed Action Error rather than Verification, and has a third button: Run branches again. It does the same as the button of that name on the Mac.
- For Set Variable with Ask user, Boolean prompts show True / False buttons.
- Text and Number prompts open a Slack input dialog for a custom value.
- Text and Number prompts whose fallback is set to From list also show one button per current fallback-list option, plus Enter custom value….
- The local floating dialog also opens at the same time.
- Whichever answer arrives first wins. Both dialogs are dismissed together.
Notes & limitations
Section titled “Notes & limitations”- Slack is optional. ClicKey works fully without it. Skipping Slack just means User Verification and Ask user use only the local floating dialog.
- The ClicKey Slack app must be a member of each channel you want alerts in. Slack doesn’t allow apps to post to channels they aren’t in. Invite the app once per channel.
- Disconnecting clears the connection for that workspace. You’ll need to redo the sign-in step to reconnect.
- All messages identify the macro by name, so the receiver can tell which macro is asking.
- The summary sits on the end-of-run message – duration, actions and interruptions – so you can see how a run went at a glance. It is never added to the Playback started message; see What a run posts.
- Screenshots are taken on request, not continuously. A run message with screenshots enabled carries a Get screenshot button; each press captures the Mac’s screen once and shows it in the message. The button reads Update screenshot once a picture is there.
- A paused run still takes screenshots. Pausing is often exactly when you want to see the screen, so the button stays and keeps working. Only a run that has finished or been stopped loses it.
- A screenshot can be requested every 15 seconds. After a press, the button goes away and comes back by itself.
- Private channels work if the ClicKey app has been invited to them. Use the same
/inviteflow. - Slack’s own delivery policies decide whether channel messages push to your phone. For best results, use a dedicated alert channel and set its notification preferences in Slack to push every new message.
- If Slack is unreachable when a prompt fires, the local dialog still works – the macro will not stall just because Slack is offline.
Using more than one Mac
Section titled “Using more than one Mac”You can connect the same Slack workspace from several Macs and run them at the same time. A few things to know:
- Each message names the Mac it came from, so a shared channel stays readable.
- Slack shows that name in the sender line as ClicKey · Mac name, while the card itself stays focused on the macro and its status.
- Buttons always act on the right Mac. Continuing, stopping or answering a prompt affects only the Mac that posted it, even when several are running at once.
- Give each Mac its own channel if you’d rather keep the streams fully separate.
- If the same Slack user connects every Mac, they all share one direct message thread; different Slack users get separate direct messages.
Related
Section titled “Related”- User Verification (with Slack) – the specific action that uses Slack for Continue/Stop prompts.
- Set Variable – Ask user input prompts that route through Slack.
- Screenshots and Screen Recording – where inline-screenshot output comes from.
- Run Settings: Speed, Loops, and Vollgas – turn on screenshots for the run.
- Settings – the Slack tab and ClicKey’s other settings.
- Why Did My Macro Stop? – diagnose Slack-related interruption scenarios.