DEVOPS

Block Vercel promotion until preview smoke checks pass

When Vercel reports a preview deployment ready, runs a smoke-check suite against the preview URL and only promotes the deployment to production if every check passes.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVercel preview deployment readyVercelVercel
  • ActionRun HTTP smoke checks against preview URLHTTP webhook
  • LogicAll smoke checks passed?
  • ActionPromote deployment to productionVercelVercel
  • OutputAlert deploy channel on failureSlack

What it does

This workflow turns every Vercel preview into a gated release candidate. The moment a preview finishes building, it hits the live preview URL with a battery of smoke checks (homepage 200, auth route, API health, a known data endpoint). Promotion to production only happens when all checks are green. Any failure stops the promotion and posts the exact failing check to Slack so an engineer can decide.

When to use it

Use it when you want automated preview QA but are not ready to fully auto-deploy. It is ideal for teams practicing continuous delivery who need a deterministic gate between "built" and "live" without a human clicking through every PR.

How it works

  1. 1Vercel fires a deployment.ready webhook for a preview build.
  2. 2The flow extracts the preview URL and deployment ID.
  3. 3It runs a sequence of HTTP smoke checks against that URL and scores pass/fail.
  4. 4A branch evaluates whether all checks passed.
  5. 5On pass, it calls the Vercel API to promote the deployment to production.
  6. 6On fail, it posts the failing check names and preview URL to the deploy Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect VercelDeploys, runtime logs, analytics.
  2. 2
    Connect HTTP webhookTrigger any URL on agent actions.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.