Mastering Revenue Operations

Mastering Revenue Operations

How to Use Codex by OpenAI to Build and Run Your Revenue Engine

Matt McDonagh's avatar
Matt McDonagh
Jul 28, 2026
∙ Paid

My consulting firm RevSystems just became an official Partner of OpenAI via the OpenAI Partner Network. This is being released as part of a Paid Series for our amazing supporters. Multiple parts, hands-on examples, scripts and more.

Let me show you why they invited me to become the very first revenue operations partner.

The revenue engine is becoming executable.

Codex gives Revenue Operations a practical way to build, inspect, and operate it.

Most companies already have the raw material for a revenue engine.

The strategy lives in slides. The definitions live in the CRM. The operating plan lives in spreadsheets. The customer truth lives across call transcripts, support tickets, product usage, and the heads of experienced employees. The reporting logic lives in SQL. The process lives nowhere in particular.

That is the problem.

The company may own all the pieces, but it does not own the system. Revenue Operations becomes the human integration layer for a machine that was never fully assembled.

Codex by OpenAI creates a different possibility.

Codex is usually described as a coding agent. That description is accurate, but too narrow for Revenue Operations. A modern revenue engine is already made of code-shaped things: data models, stage rules, routing logic, scoring formulas, automations, reports, forecasts, compensation logic, integrations, procedures, and tests. Even the parts written in prose eventually have to become a decision or an action.

Codex can work inside that system. It can read the files that define it, trace logic across them, write and change code, use connected tools, test its work, and explain what changed.

This is not a better way to ask a chatbot for sales advice.

It is a way to make the revenue engine inspectable and increasingly executable.

The revenue operator moves from administering tools to directing a system of work.

Your Revenue Engine Is Already Software

Every revenue organization runs on hidden programs.

An ideal customer profile is a classification program. Lead routing is a decision tree. Qualification is an evidence standard. A sales stage is a state. A forecast is a model. A compensation plan is an incentive algorithm. Customer health is a scoring function. A QBR is a recurring query against the state of the business.

Most companies do not manage these things as one system. They manage them as settings inside different applications, documents owned by different teams, and habits enforced through meetings.

That fragmentation makes the engine hard to change.

Suppose leadership decides to move upmarket. The change should reach scoring, territories, messaging, qualification, pricing, capacity, and customer success. Instead, each part changes at a different speed. Six months later, the website speaks to the enterprise while the forecast still assumes the old sales cycle.

The strategy changed.

The system did not.

Codex is useful because it works across the artifacts where these decisions become real. It can compare the written ICP with the scoring model. It can inspect whether stage-entry rules match the forecast query. It can find where the same metric is defined three different ways. It can change the model, update the documentation, run the checks, and leave the work ready for review.

The revenue engine stops being a collection of configurations.

It becomes a body of operating logic.

Give the Engine a Home

The first step is not connecting Codex to every application. The first step is creating a clear home for the revenue system.

Build a revenue-engine workspace. Put it under version control with Git, even if much of the initial content is Markdown, CSV, SQL, and spreadsheet files rather than application code. The point is not to turn every RevOps leader into a software engineer. The point is to create one inspectable place where the company can see how the engine is supposed to work.

A simple structure might include:

  • strategy/ for the market thesis, ICP, offers, pricing, and economic assumptions.

  • definitions/ for lifecycle stages, metric definitions, ownership, and entry and exit criteria.

  • data/ for schemas, lineage, source-of-truth rules, and sample data.

  • workflows/ for routing, qualification, forecasting, onboarding, renewal, and expansion logic.

  • analysis/ for SQL, models, experiments, and recurring reports.

  • skills/ for repeatable Codex workflows.

  • tests/ for data checks, business rules, reconciliations, and known edge cases.

This repository becomes the legible version of the revenue engine.

Git matters here for reasons that have little to do with programming. It gives the company history. A proposed change has an author, a rationale, and a visible difference from the current state. People can review it before it becomes real. If the change fails, the prior version still exists.

The diff becomes a management interface.

Instead of hearing that the scoring model was “updated,” a leader can see that employee count now carries less weight, product usage carries more, and five target accounts changed tiers. Instead of debating which definition of qualified pipeline is correct, the team can approve one definition and trace every report that depends on it.

Codex works especially well in this environment because it can examine the whole workspace before making a change. Give it the repository, the relevant source files, and the desired outcome. It can discover dependencies that are easy to miss when work is split across tickets and applications.

You are not merely storing documentation.

You are giving the revenue engine an address.

Now, lets get to the industry secrets.

Teach Codex How Your Business Works

User's avatar

Continue reading this post for free, courtesy of Matt McDonagh.

Or purchase a paid subscription.
© 2026 Matt McDonagh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture