Skip to content

RecipesVercel

Vercel deploys

Free

Production status, recent deploys, failed in 24 hours, and the current build. Botopticon is not affiliated with Vercel.

Access

Vercel token, GET calls only

Required. Env VERCEL_TOKEN. Mode api_key.

In Vercel open Account Settings, then Tokens. Name it Botopticon board, scope it to the one team (or project) you want shown, and set an expiry. Vercel tokens can't be limited to read, so the agent only makes GET calls with it: it lists deployments and reads their status. It never creates, cancels, or promotes a deployment.

Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.

Board

Sample · not your account.

Recent deploys

Sample · Newest 10, all targets

  1. 11:55www · production · ERROR
  2. 11:40www · preview · READY
  3. 09:12docs · production · READY

Updated just nownowVercel

Failed 24h

Sample · of 14 deploys · 2 canceled

2fails

Updated just nownowVercel

Current build

Sample · In flight

  1. www · QueueDone
    100%
  2. www · BuildBuilding
    0%
  3. www · DeployQueued
    0%

Updated just nownowVercel

Command Tiles

Pro

Sample · not your account. The agent puts the ask on the board. You answer there. How Command Tiles work

  • Redeploy www

    Needs you

    Sample data

    Approval · Vercel

    Redeploy www after the failed production deploy?

    You redeploy in Vercel. The board agent makes GET calls only.

    Updated just nownowVercel

    Needs you
  • Where should prod go?

    Needs you

    Sample data

    Question · Vercel

    www production deploy failed. Redeploy or roll back?

    Updated just nownowVercel

    Needs you

Tiles

  • Productionneeds you
  • Recent deploys
  • Failed 24h
  • Current build
  • Production. Latest production deploy across your projects.
  • Recent deploys. Newest 10 deploys.
  • Failed 24h. Deploys in state ERROR in the last 24 hours.
  • Current build. Phases of deploys in flight, up to 3.

State map

  • Production. QUEUED, INITIALIZING, BUILDING -> "working". READY on all projects -> "idle" (never "done"). ERROR on any project -> "needs_you" with needs. 401/403 -> "blocked" with a blocker needs. CANCELED is skipped: look at the deploy before it. Needs you: www production deploy failed. Redeploy or roll back?
  • Recent deploys. Label "<project> · <target> · <STATE>". tone: ERROR "warn"; QUEUED/BUILDING "ok"; READY/CANCELED "idle". props.state "working" if anything is in flight, else "idle".
  • Failed 24h. value = count of ERROR. CANCELED is not a failure; say it in the subtitle. needs_you stays false (Production carries the ask).
  • Current build. Rows "<project> · Queue / Build / Deploy", value 0 or 1, max 1, state queued / building / done. A failed phase is "blocked" with a note. Nothing in flight: one open row {"label":"No build in flight","value":0,"max":1}.

Verify

The agent runs these on the first run, then reports.

  1. GET https://www.botopticon.com/api/catalog with the token -> 200. A 401 means the token is wrong, revoked, or still the placeholder.
  2. POST each body to https://www.botopticon.com/api/ingest?dry_run=1 (or post_tile with dry_run true). On board_not_found, stop and ask me; don't switch boards. On a validation error or warning (title or subtitle too long, weak title), fix that body and dry-run it again.
  3. Post for real. Each reply has ok true, a pane_id, and board_name "Vercel deploys".
  4. Call list_tiles (or open the board): 4 tiles on "Vercel deploys", none stale.
  5. Then tell me those four results in one short message.

Keep it current

A small script, not an LLM loop. It runs every 2 minutes, and every 60 seconds while a build is in flight. It posts to “Vercel deploys” only when a tile changes, and reads BOTOPTICON_TOKEN and VERCEL_TOKEN from the environment.

An LLM routine every few minutes spends your usage and adds nothing new.

Setup

  1. 01

    Make a Vercel token

    Vercel > Account Settings > Tokens. Name it Botopticon board, scope it to one team or project, and set an expiry. Vercel tokens can't be limited to read, so the agent only makes GET calls with it. Keep it in VERCEL_TOKEN on the agent or cron host. Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.

  2. 02

    Create a Botopticon token

    In the app, open Connection tokens and create one named after this board. It starts with bot_ and is shown once. Save it as BOTOPTICON_TOKEN where the agent runs. It posts to Botopticon. It is not the Vercel token.

  3. 03

    Paste the prompt into your agent

    Open the tab for Grok Bot, Muse, MCP, Cursor, Claude, or curl. The agent checks the token, dry-runs every tile, posts to the Vercel deploys board, and reports back.

  4. 04

    Let the script keep it current

    The agent writes a small script that checks every 2 minutes (60 seconds while a build runs) and posts only what changed. A quiet tile overnight is normal.

Snippets

Read BOTOPTICON_TOKEN from your environment or secret store. If it isn't set, stop and ask me. Never send the text $BOTOPTICON_TOKEN. If I paste a token in chat, save it as BOTOPTICON_TOKEN and don't repeat it.

Same recipe, one tab per platform. The prompt fetches the source and posts. Do not paste the sample numbers as live data.

Grok Bot

Click Use this recipe first so the board exists.
Paste this into Grok Bot. Set BOTOPTICON_TOKEN in its environment or secret store first.

1. Goal
Keep my Botopticon board "Vercel deploys" current with live Vercel data.
Any agent that can make HTTPS calls can do this. You report; I decide.

2. Connect
- Botopticon token (starts with bot_): Read BOTOPTICON_TOKEN from your environment or secret store. If it isn't set, stop and ask me. Never send the text $BOTOPTICON_TOKEN. If I paste a token in chat, save it as BOTOPTICON_TOKEN and don't repeat it.
- HTTP (works everywhere): POST https://www.botopticon.com/api/ingest
  Headers: Authorization: Bearer <token>, Content-Type: application/json
- MCP (optional, same token): https://www.botopticon.com/api/mcp, tool post_tile. If an MCP tool returns HTML or an error, use HTTP.

3. Source access
Vercel: read VERCEL_TOKEN from your environment (Vercel token, GET calls only). If it isn't set, ask me.
In Vercel open Account Settings, then Tokens. Name it Botopticon board, scope it to the one team (or project) you want shown, and set an expiry. Vercel tokens can't be limited to read, so the agent only makes GET calls with it: it lists deployments and reads their status. It never creates, cancels, or promotes a deployment.
Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.

4. Board
Send "board": "Vercel deploys" on every post. On a Free workspace with one board, posts land on that board, and the reply warns board_ignored_free when the names differ.

5. Tiles
Bot "Vercel" on every tile. Never change the tile keys.
- prod-now, status, "Production". Latest production deploy across your projects. States: QUEUED, INITIALIZING, BUILDING -> "working". READY on all projects -> "idle" (never "done"). ERROR on any project -> "needs_you" with needs. 401/403 -> "blocked" with a blocker needs. CANCELED is skipped: look at the deploy before it. ttl_seconds 43200 idle, 900 while busy. When a person must act: needs_you true and needs {"who":"Vercel","kind":"issue","ask":"www production deploy failed. Redeploy or roll back?","link":"https://vercel.com/"}.
- deploy-feed, feed, "Recent deploys". Newest 10 deploys. States: Label "<project> · <target> · <STATE>". tone: ERROR "warn"; QUEUED/BUILDING "ok"; READY/CANCELED "idle". props.state "working" if anything is in flight, else "idle". ttl_seconds 43200 idle, 900 while busy. needs_you stays false.
- failed-24h, kpi, "Failed 24h". Deploys in state ERROR in the last 24 hours. States: value = count of ERROR. CANCELED is not a failure; say it in the subtitle. needs_you stays false (Production carries the ask). ttl_seconds 86400.
- build-now, progress, "Current build". Phases of deploys in flight, up to 3. States: Rows "<project> · Queue / Build / Deploy", value 0 or 1, max 1, state queued / building / done. A failed phase is "blocked" with a note. Nothing in flight: one open row {"label":"No build in flight","value":0,"max":1}. ttl_seconds 43200 idle, 900 while busy. needs_you stays false.

6. Fetch notes
Read the current Vercel REST docs.
Production. For each project take the latest production deploy, skipping CANCELED (look at the one before it). QUEUED, INITIALIZING, BUILDING -> state "working", task "<project> building since <time>". READY on all projects -> state "idle", task "<project> live · <time>". Never use "done": it removes the tile after 5 minutes. ERROR on any project -> state "needs_you", needs_you true, needs {"who":"Vercel","kind":"issue","ask":"<project> production deploy failed. Redeploy or roll back?","link":"<inspectorUrl>"}. Vercel answers 401/403 -> state "blocked", task "Vercel token rejected", needs {"who":"Vercel","kind":"blocker","ask":"Replace VERCEL_TOKEN"}.
Recent deploys. Label "<project> · <target> · <STATE>", time HH:MM in my timezone. tone: ERROR "warn"; QUEUED/BUILDING "ok"; READY/CANCELED "idle". props.state "working" if anything is in flight, else "idle".
Failed 24h. value = count of ERROR. CANCELED is not a failure; say it in the subtitle, e.g. "of 14 deploys · 2 canceled". needs_you stays false (Production carries the ask).
Current build. For each deploy in flight (up to 3): rows "<project> · Queue", "· Build", "· Deploy", each value 0 or 1, max 1, state queued / building / done. A failed phase gets state "blocked" and a short note. When nothing is in flight, post one row: {"label":"No build in flight","value":0,"max":1,"stage":"last READY <time>"} with no state. Never post every row finished: a finished progress tile leaves the board after 5 minutes.
- List: GET https://api.vercel.com/v6/deployments?limit=20 (add teamId for an account-wide token).
- Production: the same call with projectId and target=production, per project.
- Failed 24h: the same call with since= (24 hours ago); follow pagination.next.
- Per item: Build phases come only from one deployment: GET https://api.vercel.com/v13/deployments/{id} (readyState, buildingAt, ready). Call it only for deploys in flight.
- Look-back: Builds can finish between checks. Each run, also read deploys created since your last run and post their final state, so a 40-second build still shows in the feed and in Failed 24h.

7. Posting rules
Fields: bot, tile, type, title, subtitle, props, needs_you, needs, ttl_seconds, board, brief (link optional). Send the full body each time; a post without needs or link clears it.
needs is required whenever needs_you is true: {"who","kind":"task|issue|question|blocker|approval","ask"} (link and detail optional).
Limits: title shows 24 characters (max 80). Subtitle shows 48 (cut at 80). Row labels 64. Feed labels 280. needs.ask 140 on one line. needs.who 48.
Post a tile only when its body changes. Do not invent numbers. Do not post the same body again just to keep a tile fresh.

8. Verify on the first run
a) GET https://www.botopticon.com/api/catalog with the token -> 200. A 401 means the token is wrong, revoked, or still the placeholder.
b) POST each body to https://www.botopticon.com/api/ingest?dry_run=1 (or post_tile with dry_run true). On board_not_found, stop and ask me; don't switch boards. On a validation error or warning (title or subtitle too long, weak title), fix that body and dry-run it again.
c) Post for real. Each reply has ok true, a pane_id, and board_name "Vercel deploys".
d) Call list_tiles (or open the board): 4 tiles on "Vercel deploys", none stale.
e) Then tell me those four results in one short message.

9. Keep it current
Write a small script (no LLM in the loop). Run it every 2 minutes; every 60 seconds while a build is in flight. Use cron or a loop that holds a lock. It keeps a hash of each body, posts only the tiles that changed, retries once on 429 or 5xx, stops re-posting a body that got a 4xx, reads BOTOPTICON_TOKEN and VERCEL_TOKEN from the environment, never logs them, and has a --dry flag.
Don't set up an LLM routine that runs every few minutes; it spends my usage and adds nothing.
On the board, a quiet tile with an old "updated" time is normal. A stale tile means your script stopped.

10. Report back
One short message: the token check, the dry-run result, each pane_id, the board name, and the schedule you chose.

FAQ

Which pane turns amber?
Production. When the latest production deploy of any project failed, the agent sets needs_you with a needs ask: redeploy or roll back. Preview deploys stay in the feed.
Does this run on the Free plan?
Yes. Every tile in this recipe is a Free type. A Free workspace still has one board and 8 live tiles. Using this recipe adds the sample tiles to that board.
Does Botopticon store the Vercel key?
Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.
How does the board stay current?
A small script fetches the source and posts a tile only when its body changes. A quiet tile is fine: nothing changed. A stale tile means the agent stopped checking. Fifteen minutes after a tile goes stale it leaves the board, and it comes back on the next post.
Why did a tile leave the board?
Three reasons. A progress tile with every row finished leaves 5 minutes later. A status tile set to done leaves 5 minutes later. A stale tile leaves 15 minutes after it goes stale. The next post brings it back.