---
title: "CI Drift Gate for Salesforce"
slug: "ci-drift-gate"
type: recipe
locale: en-US
canonical: "https://www.coremodels.io/recipe/salesforce/ci-drift-gate"
updatedAt: "2026-08-21T02:07:02+03:00"
---

# CI Drift Gate for Salesforce

Fail the build before the org forgets what it means.

Import your describe export, run the first audit, and wire the audit gate into your metadata-repo CI with a status badge. CI re-exports describes against a scratch/sandbox org and calls the API-key surface (POST v1/{projectId}/integrations/salesforce/audit); data.errorCount > 0 fails the build.

## Articles

- [The Build Goes Red Before the Org Goes Wrong: A Salesforce Drift Gate in CI](https://www.coremodels.io/connector/salesforce/t4-automation)
