A Zapier integration for LoopQuest — put a human in the loop on your AI and automation output. Block a downstream action until a person approves it (gate), or review quality in the background without pausing anything (monitor).
- Auth — API key (Workspaces → API keys). The connection test hits
GET /api/v1/meand labels the connection with the workspace name. - Action: Create Review Task — send content to a human. Pick the game (Swiper, Versus, Sorter, Detective, Fixer, Redact, Grounding) and the mode (gate or monitor); optional timeout + on-timeout fallback. Returns the task
id. - Trigger: New Verdict — a REST Hook that fires the moment a review resolves. Gives you the verdict, choice, reason, flags (
escalated,timed_out) and yourexternal_id. Zapier subscribes/unsubscribes automatically when you turn the Zap on/off.
-
Monitor — Create Review Task and carry on. Reviews happen in the background for quality and audit; nothing waits.
-
Gate — Zaps are linear, so you split the flow across two Zaps:
- Zap A does the work, then Create Review Task with Mode = Gate.
- Zap B starts from the New Verdict trigger, then branches (Paths/Filter): on
verdict = truerun the real action; on a flag or timeout route to a fallback.
The action never runs unless a human approves — that's the "stop". The External ID you set on the task comes back on the verdict so Zap B knows which item to act on. Set a Timeout + On Timeout so a gate never hangs (defaults to escalate, fail-closed).
npm install
npm test # schema + unit checks
npx zapier login
npx zapier register "LoopQuest" # first time only, creates the app
npx zapier push # upload this versionThen, in the Zapier developer platform:
- Add it to your account and build a test Zap for each item — Create Review Task, and a New Verdict Zap (turn it on so the subscription registers, then resolve a task to see it fire).
- Fill in the app profile (logo, description, category), homepage
https://loopquest.tomphillips.uk, and a support contact. - Submit for public review (
npx zapier promote <version>then request publishing). Zapier's reviewer will want: working auth, the trigger's sample data (served byGET /api/v1/verdicts), and clear field labels — all present here.
| Component | Call |
|---|---|
| Auth test | GET /api/v1/me |
| Create Review Task | POST /api/v1/tasks |
| New Verdict — subscribe | POST /api/v1/hooks { url } |
| New Verdict — unsubscribe | DELETE /api/v1/hooks/{id} |
| New Verdict — sample / test | GET /api/v1/verdicts |
Full API: https://loopquest.tomphillips.uk/docs · spec: https://loopquest.tomphillips.uk/openapi.json
MIT