Skip to main content

Self-hosted OpenLoops board collects every Grok Bot ask; clicks reach the bot via webhook

RedditRedditcmer2026-11-26

Life assistantGetting startedSource read in fullRead first
RedditRedditcmer2026-11-26

Open original

Overview

The author's Grok Bot kept raising decisions, actions and unanswered questions in chat that got lost while scrolling back, so the author built OpenLoops, a self-hosted SQLite board behind Cloudflare Access that the bot feeds over an API and reacts to through a webhook.

Workflow

  1. Trigger: Grok Bot asks kept getting lost in chat. The author's Grok Bot kept asking for things in chat — a decision about a venue, a contract to sign, a question it asked on a Monday that was never answered — and scrolling back through the chat history to find them was getting old.
  2. By hand: Build a board that collects every ask in one place. The author built OpenLoops, a small self-hosted board with a section for each kind of ask: Needs your decision, where the bot lays out the options and the author taps one; Needs your action, for things only the author can do, with due dates; Questions going both ways; Waiting on others, for things out of the author's hands for now; and Stalled, where anything untouched for a week ends up so it is not forgotten.
  3. By hand: Work through the board once or twice a day. The author marks things done, snoozes them, replies, or picks an option. A message box on the board sends quick notes, and other bots can be tagged through it with @.
  4. Bot: Act on every board click right away. Each click goes straight to the bot through a webhook, so it can act on it immediately. If the bot is offline, the action is queued and the bot catches up later.
  5. By hand: Host it as one container behind Cloudflare Access. OpenLoops is a single Docker container running on SQLite. It sits behind Cloudflare Access, and the board will not load until Access is set up, so it cannot be exposed to the open internet by accident. It works on a phone, and has a Kanban view, keyboard shortcuts, and dark mode.
  6. By hand: Install the server with the first prompt. Setup is two prompts. One goes into a coding agent with a shell on the server (Claude Code, Codex, or similar) and installs Docker, the Cloudflare Tunnel, and Access; when it is finished, it hands back the second prompt to paste into the Grok Bot. If the agent can reach the repository, the server-side install can be started with this prompt from the repo README:

Install OpenLoops on this server. Follow the instructions in docs/SERVER_SETUP_PROMPT.md from https://github.com/cmer/openloops

  1. Bot: Connect to the board with the second prompt. The second prompt, pasted into the Grok Bot, has the bot store the API token, set up the webhook routine, and start syncing. In the repo, the connect prompt has the bot ask for the board URL and the API token one at a time, keep the token in its secrets store, verify the API before building routines, create a webhook-triggered routine plus a recurring sync routine (the repo suggests every 30 minutes while the author is likely to be around), and run a connection checklist at the end.
  2. Check: The post says the author goes through the board once or twice a day and that each click reaches the bot right away, but describes no separate verification of the setup. In the repository, the author's own pull requests report a container smoke test — /healthz returned success, the UI returned HTTP 200, and SQLite created its database under /data — and 46 passing tests (author's claim, not reproduced).

Key points and results

  • Every ask from the bot lands on one page instead of chat history. The board has sections for decisions (the bot lays out the options and the author taps one), actions only the author can do (with due dates), questions in both directions, items waiting on others, and anything untouched for a week, which moves to Stalled.
  • Board actions reach the bot immediately and survive downtime. Each click is sent to the bot through a webhook so it can act right away; if the bot is offline, the action is queued and the bot catches up later.
  • The board refuses to run unprotected. It is a single Docker container on SQLite behind Cloudflare Access, and it will not load until Access is set up, so it cannot be put on the open internet by accident.
  • Setup is two prompts. One prompt for a coding agent on the server installs Docker, the Cloudflare Tunnel and Access; the second prompt, pasted into the Grok Bot, has the bot store the API token, set up the webhook routine and start syncing.
  • No measured results are given. The post reports no counts of cards handled or time saved, and no comparison with the old chat-scrolling workflow. This is the author's claim; the source gives no comparison figures.

Contributions from others

Added by others (not the author)

Source

Platform
Reddit
Author
cmer
Published
Categories
Life assistant, Getting started

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.