DEVOPS

Push merged GitLab flag changes to Vercel Edge Config on MR merge

When a merge request touching flags.json merges in GitLab, applies the new flag values to the Vercel Edge Config store and confirms the apply in Slack.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitLab merge request merged webhookGitLabGitLab
  • LogicFilter: MR changed flags.json on default branch
  • ActionFetch merged flags.json at commit SHAGitLabGitLab
  • ActionPatch Vercel Edge Config to matchVercelVercel
  • OutputConfirm applied changes in SlackSlack

What it does

Makes GitLab the write path for feature flags. The moment a merge request that modifies `flags.json` merges into the default branch, this workflow reads the merged file, patches the Vercel Edge Config store to match exactly, and confirms the applied changes in Slack so the team sees the rollout land.

When to use it

Use it once you've decided flags are code: every change goes through review and merge, never the Vercel dashboard. This closes the loop so an approved MR actually takes effect in production within seconds, no manual dashboard step.

How it works

  1. 1A GitLab merge webhook triggers on merge events targeting the default branch.
  2. 2A logic step filters to merges that actually changed `flags.json`, ignoring everything else.
  3. 3Fetch the merged `flags.json` content at the merge commit SHA from GitLab.
  4. 4Patch the Vercel Edge Config store with the new key/value set via the Vercel API.
  5. 5Post a Slack confirmation naming the MR, author, and the keys that changed.

Set it up

What you configure once, before turning it on.

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