Office hours: Build your self-driving GTM engine·Oct 29, 9:00am PT, onlineRegister→
Cargo
  • PrimitivesData ModelsYour companies, contacts and deals, merged from every sourceContextWhat your team knows, as files every agent readsTerritoriesWho sells where, defined onceMailboxesMailboxes in your reps' names, warmed up and kept under limitsToolsThe actions your agents, plays and reps callAgentsAI that researches, decides and writes, reading your contextPlaysWorkflows that run on a trigger or a schedule, with retriesAppsInternal apps for your reps, hosted on Cargo
    Add-onsChrome ExtensionSell faster, right in your browserButtonTrigger AI agents inside your CRMFormTurn any tool into an embeddable formSlackTag Cargo in Slack. It does the GTM workGitHubPlan on every pull request, deploy on merge
    MoreProjectsDefine your entire GTM in codeCLIUse Cargo from your terminalMCPUse Cargo from Claude and ChatGPTDeveloper resourcesCargo API docs, OpenAPI spec, auth docs, webhooks, MCP serverAPI ReferenceExplore the Cargo APIDocumentationLearn how to use CargoIntegrationsConnected to your entire GTM stack
  • VeriffHow Veriff replaced MuleSoft with Cargo under NetSuite, Stripe and SalesforceAugmentHow Augment Code routes developer sign-ups to reps in under an hourWeights & BiasesHow Weights & Biases ships a new purchase signal in 2 days on CargoSee all
  • Pricing
  • Cookbooks
  • Blog
Sign in
Blog

Preview What a Go-to-Market Change Will Send Before You Merge It

16 Oct5min read
AurelienAurelien

To see what a go-to-market change will set in motion before it merges, connect its repository to your Cargo project: every pull request gets a plan comment with an “On merge” table that counts, for each play and one-off execution, the records it runs on, the emails, LinkedIn actions and messages it can send, and the credits it can spend. Past 100 emails, 100 LinkedIn actions, 100 chat messages, 5,000 audience adds or 2,500 credits, the Cargo check fails until a reviewer adds the cargo:approve-impact label.

A resource diff tells you that a play changed. It does not tell you that the new filter enrolls 1,200 contacts who will each get an email. The preview answers the second question, on the pull request, before anyone presses merge.

Turn it on #

The preview is part of the connected-repository deploy. Once a repository holding a Cargo project is connected in Settings → States, there is nothing else to configure:

shellscript
git checkout -b widen-expansion-filter
# edit infra/plays/expansion.ts
git commit -am "Expansion: include accounts from 50 employees"
git push -u origin widen-expansion-filter
gh pr create --fill   # Cargo comments the plan and the preview on this pull request

Cargo clones the commit into a sandbox, runs your project’s own @cargo-ai/cdk with plan, and updates the same comment on every later commit. A plan never gets a Cargo credential: it reads a copy of the deploy state and nothing else.

What the comment shows #

Above the resource table, one “On merge” table covers every play the pull request creates, updates or enables, and every one-off execution the merge would run:

WhatRunsRecordsSends, at mostCredits, at most
Expansionplay, keeps running1,2001,200 emails, 1,200 chat messages1,200
2026-10-14-pilotbatch of Expansion, once4040 emails40

How each column is counted:

  • Records, for a play. A new play, or one this change enables, counts every record its filter matches. A running play whose filter is unchanged counts only the records that match now and are not enrolled yet, so rewording a step does not read as a fresh send. A changed filter, sort or limit counts every record it matches. A play keeps enrolling after the merge, so its row is a snapshot.
  • Records, for an execution. It runs once, so its row is all of it: a filter’s matches under its limit, a segment’s records, the listed ids, the records written in code, a file’s rows, or one for a run.
  • Sends. Emails, LinkedIn actions, Slack and Teams messages and audience adds, read from the workflow’s steps, including steps inside a loop, once per record. Every branch is assumed taken, so these are upper bounds.
  • Credits. Each connector action’s credit cost. Actions on a connector that uses your own API key count as zero.

Steps that call a tool or an agent are noted in the comment but not counted.

The approval gate #

These limits come from Cargo’s code (STATE_RUN_IMPACT_THRESHOLDS, October 2026), totalled across plays and executions:

EffectNeeds approval above
Emails100
LinkedIn actions100
Chat messages100
Audience adds5,000
Credits2,500

Over any of them, the check fails with Needs approval: large impact. It also fails when a play or execution that sends or spends cannot be counted: its model or segment is created by the same change, its steps could not be read, or it sends inside a loop. Adding the cargo:approve-impact label re-plans the pull request and the check passes; removing the label fails it again.

Make the check required in branch protection so the gate actually stops a merge. It is named Cargo, or Cargo (directory) for a project that is not at the repository root.

What the merge does with the preview #

A merge starts only the executions a pull request previewed. The deploy holds an execution, rather than starting it, when no successful plan counted that exact version of it, when that plan was not approved, or when it now runs on more records than the preview allowed (up to 10% over a filter’s or segment’s count). A held execution stays pending and is previewed again by the next pull request.

Limits #

  • The preview needs a connected repository. A plan run on your machine with cargo-ai project plan lists executions but does not count sends or credits, because counting reads live workspace data.
  • Pull requests from forks are not planned.
  • Counts are upper bounds, not forecasts: every branch is assumed taken.

Full reference: GitHub deploys in the Cargo docs. The whole lifecycle is in GTM as code: the complete guide.

~/run-it-on-cargo/

Build this workflow instead of reading about it.

Cargo is the GTM infrastructure your coding agent builds on: enrichment, scoring, routing and outreach, defined in code and run in production.

Start building
AurelienAurelienOct 16, 2026
On this page
  • Turn it on
  • What the comment shows
  • The approval gate
  • What the merge does with the preview
  • Limits

Stay Informed with our
weekly Newsletter

Related articlesSee all articles
GTM Engineering
CI/CD for Go-to-Market: What It Means and How to Set It Up

CI/CD for GTM means every change to enrichment, scoring, routing and sequences ships as a pull request that is planned, checked, approved, deployed on merge, logged and reversible. What each software CI/CD step becomes for go-to-market, and how to set it up on Cargo.

AurelienAurelien·Nov 3, 2026
GTM Engineering
Require Approval Before a High-Impact Go-to-Market Change Goes Live

How Cargo holds a go-to-market pull request that would send or spend more than set limits until a reviewer adds the cargo:approve-impact label: the thresholds, what counts as high impact, who should approve, and what the gate does not catch.

AurelienAurelien·Nov 3, 2026
GTM Engineering
Test a Go-to-Market Change Before It Reaches Production

How to test a change to enrichment, scoring, routing or outreach before it runs on every lead: check the project offline, dry run an action, read the plan on the pull request, ship the play switched off and pilot it on 50 records, evaluate agents, and use a second workspace as staging.

AurelienAurelien·Nov 3, 2026

Build the self-driving GTM engine

Your coding agents build it on Cargo.Or our team builds, operates and improves it with you.

Start building
Cargo
Backed byY CombinatorSOC 2 Type IICertified
LinkedinX

Product

Data ModelsContextTerritoriesMailboxesToolsAI AgentsPlaysAppsIntegrationsPricing

Add-ons

Chrome extensionButtonFormSlackGitHub

Build

DocsDeveloper resourcesCargo API docsCargo OpenAPI specCargo auth docsCargo webhooksCargo MCP serverProjectsClaude CodeCodexCursorAll coding agents

Resources

ReportsBlogCustomer storiesCookbooksEnrichmentRoutingSignalsScoringCRM hygieneAd audiencesGTM skillsGTM EngineeringGlossaryCompareCargo x ClayCargo x WorkatoCargo x n8nCargo x DeeplineCargo x DefaultCargo x LeanDataCargo x UnifyCargo x ValleyCargo x Gojiberry

Company

ManifestoCommunityEventsJobsPartners DirectoryPartner Program

Legal

SecurityTerms of servicePrivacy PolicyRefundsDPASupport
© 2026 Cargo
 ////////    ///////    ////////     ////////    ///////
///         ///   ///   ///   ///   ///         ///   ///
///         ///   ///   ///   ///   ///         ///   ///
///         /////////   ////////    ///  ////   ///   ///
///         ///   ///   /// ///     ///   ///   ///   ///
///         ///   ///   ///  ///    ///   ///   ///   ///
 ////////   ///   ///   ///   ///    ///////     ///////

$ npm install -g @cargo-ai/cli