DEVOPS

Auto-open a GitLab MR to reconcile the env manifest after dashboard edits

When a Vercel env var changes outside of code, detect the drift against the GitLab manifest and automatically open a merge request that updates the manifest to match.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerevent
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVercel env var updated webhookVercelVercel
  • ActionFetch current project env config from VercelVercelVercel
  • ActionRead existing manifest from GitLabGitLabGitLab
  • LogicDiff and decide if manifest is stale
  • ActionCommit updated manifest and open GitLab MRGitLabGitLab
  • OutputPost MR link to SlackSlack

What it does

Instead of just flagging drift, this workflow closes the loop. When someone edits an environment variable in the Vercel dashboard, it detects the difference from the committed manifest and opens a GitLab merge request that updates the manifest to reflect the live value. A human still reviews and merges — but the tedious work of capturing the change as code is done for them.

When to use it

Use it when emergency dashboard edits are a fact of life and your problem isn't preventing them but recording them. It keeps your `env.manifest.json` honest without forcing every hotfix through a PR first.

How it works

  1. 1A Vercel env-var-updated webhook fires.
  2. 2The flow fetches the current full env config for the affected project from Vercel.
  3. 3It reads the existing manifest from GitLab and diffs the two.
  4. 4If the manifest is out of date, it generates an updated manifest file.
  5. 5It commits the change to a new branch and opens a merge request in GitLab with the diff in the description.
  6. 6The MR link is posted to Slack tagging the engineer who made the edit.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect VercelDeploys, runtime logs, analytics.
  2. 2
    Connect GitLabRepos, MRs, pipelines, registry.
  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.