Skip to main content

Finance team built five order-to-cash Grok Bots and moved rulebooks into a reviewed repo

YouTubeYouTubeGrok2026-11-2756:24

Multi-bot teamsSource read in fullRead first

Open original

Overview

On the official Grok channel, Paul Baines and Will walk through how the finance team structured order-to-cash, then built five Grok Bots whose rulebooks live in a reviewed repository.

Workflow

  1. Trigger: Official Grok workshop on how the finance team built order-to-cash bots. On the official Grok channel, host Noah introduces Paul Baines and Will from the finance team. Paul leads the order-to-cash team and reports to Will, who owns the revenue accounting ecosystem. Auto captions render the employer as Curser or Kurser and as SpaceXsi or a broader SpaceX group; Will said they joined in November 2025 and had previously run workshops on tools built in Cursor. Today's focus is how they implemented Grok Bots in order-to-cash. The session is recorded, and Noah triages questions from the Q&A tab.
  2. By hand: Frame the talk as one team's story, with some work live and some still in development. A speaker reads a legal disclaimer. As auto-captioned, the speaker said SpaceX is a public company, that nothing in the session is guidance or a forecast, and that this is a story about how one team operates. Some of what they show is live; some is still in development and may change, and they say they will tell viewers which is which. It is how they do the work, not necessarily advice for how others should do it; controls and auditors are each organization's call. The session is for information and demo purposes only.
  3. By hand: Describe a three-phase AI journey, then insist a person still owns the outcome. They started with chatbots (prompt in, answer out), which they believe is still where most accountants spend day-to-day work. They then ran tasks through agents that can be triggered on a cadence or a command. One example is collections email triage: they gave a cloud agent a set of skills; it sorted the inbox into easy, medium, and hard and drafted pre-written responses, and a collections person still had to read each draft and click send, on a daily cadence. They say they are now in a third phase, handing full end-to-end workflows to AI teammates. From late 2025 to the recording, their read from peers is that most finance teams are still in phase one or between phase one and two. The distinction they want remembered is that the bot owns the doing, but a person still owns the outcome. They describe Grok Bot as an AI teammate you message the way you would message a direct report: it takes on whole jobs, uses apps the team already uses, brings questions, waits for approval on judgment calls, and can be asked to improve itself from feedback.
  4. By hand: Build rails and an internal app before pointing bots at the process. When Will arrived in November 2025, the speakers say there were a handful of people in accounting and finance and about 200 people across the company, mostly in engineering and go-to-market (author's claim, not reproduced). Contract information was typed by hand from spreadsheet to spreadsheet and into a provisioning tool; sales questions arrived in Slack at all hours and were hard to manage. By January they had built the first version of an internal app they call Accounting Sphere, using Cursor, connected to their systems with scoped permissions, reading the actual contract and provisioning in a few clicks instead of retyping. A process that roughly took eight hours a day fell to roughly two to three hours using that internal UI (author's claim, not reproduced). The principle, because everything else depends on it, is that they did not point AI tools at a manual process and hope it would work. They first put structure around the steps, the source of truth, and the checks, then built an application that only exposes the actions that should exist, with an order log and application logging, and only then taught bots to run the process inside those apps. They say you could also use existing SaaS tools. Two reasons for the approach: control, because bounds live in the application rather than in a prompt, and if the button does not exist the bot cannot press it; and resilience, because if the bot platform or a connector is down, a person can still open the same app and do the same steps. They say they have already had connector outages and the process did not stop.
  5. Bot: Release a first billing-support bot from Slack history, then replace opaque memory with a written rule book. As go-to-market volume grew, unblocking reps became a full-time load. Leadership pushed them to exhaust tooling first. An IT ticketing system helped with first-line repetitive questions from a knowledge base, but second-line work stayed manual: usage from a data warehouse, pulling PDF invoices for reps, and updating purchase orders in a billing system. After the product team launched Grok Bot in alpha, they say they released a first bot out of desperation. They had it read months of Slack messages to train itself and build memory, which they say it did in seconds (author's claim, not reproduced). It answered questions, pulled data, and flagged them when a person was needed. The problem was that they did not know what the bot knew or why; instructions such as not taking direction from anyone outside the team could disappear into memory. They tied in the knowledge bases they had been creating since January. Will said they had not believed in documenting a process unless it was for SOX or audit, but documenting early became a timesaver when training bots. The knowledge base becomes the rule book, and they say the bot checks it at least twice a day to refresh memory (author's claim, not reproduced). They then applied the same process four more times to four more bots. Early on, the rule book was still a wiki, such as a Notion page or a Google Doc, that the bot read on each trigger.
  6. By hand: Move every bot rule book into an Origin repository with prepare-and-review pull requests. A wiki edit is live immediately. There may be version history, but there was no real approval flow, which they treated as a control gap because the rule book is the bot's behavior. They moved all bot rulebooks into a code repository on Origin, described as Cursor and SpaceX's own internal code hosting, and they treat it the way engineers treat code. The speakers say the first line of the repo's own README states that every change is reviewed and approved like code before a bot sees it. They showed a screenshot of the actual OTC operations repo: one folder per bot, and inside each folder standing instructions and hard rules, reference knowledge, step-by-step skills, change logs, and an owner file that names who must approve a change. Nobody edits the rule books directly; that is enforced in Origin. You propose a pull request with a change log that says what changed and why, and a different person has to approve it. Even an author or admin still needs a second approver; there is no override switch, on purpose: one preparer, one reviewer every time. They designed it that way from past experience as auditors. Nothing reaches the live rule book any other way, and rolling back is another pull request reviewed the same way. Bots read this repo as their source of truth every time they are triggered. Anyone can suggest a change to a bot in Slack or similar; that suggestion does not change what the bot can do until the team makes the change in code. They say they still meet the product team at least once a week on finance and accounting features (author's claim, not reproduced). Asked whether external auditors have tested the processes, they say they have walked external auditors through how the bots are used and how human review is ensured, but they are still in early stages of that discussion. On credentials, they limit what each bot gets to the scope of its job and keep hard rules about what it owns.
  7. Bot: Run five order-to-cash bots from a closed-won Slack post through to cash application, plus a chief-of-staff bot named Apollo. They started with order-to-cash because it is a well-structured environment with defined steps and expected end states: once a deal is closed and provisioned, you expect an invoice and access, and each bot can pass work to the next. As they describe the process today, a deal closes and a post in the closed-won Slack channel triggers the provisioning bot to read the signed order, the actual PDF and not just the CRM summary, and to set up the customer contract in the provisioning system. In parallel, the billing bot sees the same notification, creates a contract in the billing system from the actual PDF, and schedules or sends the invoice. The collections bot follows up on unpaid invoices on top of automated dunning emails. The cash applications bot matches each payment to the right invoice by checking remittance advice in the email ticketing system, and surfaces a recommendation to a person when amounts or remittance advice do not line up cleanly. The billing support bot, their first bot, answers internal questions along the way. They say the go-to-market team surfaces customer questions and the billing support bot takes care of about 99% of them in real time (author's claim, not reproduced). Paul also set up a chief-of-staff bot named Apollo, which surfaces system blockers, such as a bot signed out of its credentials, and judgment calls as cards so a person can read the card and decide. They do not use one bot for the whole process. They apply the same segregation-of-duties logic they apply to people: one job per bot, scoped permissions per step, easier debugging, and rule books small enough to correct in real time. Will described watching the bots work in Slack and seeing people give a thumbs up or thank the bot.
  8. By hand: Write rule docs the way you would onboard a new hire, and keep native system work in the ERP when it belongs there. Asked for a template, Paul said you would provide links to the tools, tables to pull from when answering questions, hard rules, and real-life examples. One hard rule: no one is able to influence the bot's opinions except Will and Paul, and that is also controlled in the Origin codebase. Another: if someone asks the billing support bot for a credit and rebill, the bot must not answer that question itself and must loop in a human, because there is judgment. They showed, in an internal demo the week before, how templates began as a knowledge dump, a desktop procedure with screenshots and if-this-then-that steps. The documentation level they aim for is whatever a new hire who knew nothing would need in order to succeed: screenshots, workflow diagrams, words, and rules. On when to configure something natively in the ERP versus use a bot, they say a bot is useful when you would otherwise work around the ERP, but it does not replace good native systems, especially if a connector is down. The benefit they highlight is working across a stack: CRM, billing, ERP, querying Databricks for a customer's usage, and ticketing. They would still build a new performance obligation in the ERP, and they say they have not tested a Grok Bot running SSP calculations or splitting performance obligations on a deal.
  9. By hand: Connect bots through connectors, MCPs, APIs, or a dedicated browser, and scope credentials tighter than the human owner's. If no connector, MCP, or API exists, they can sign a bot in through its own dedicated browser with credentials they provide. Each bot only gets the access its job needs. A connection can be scoped tighter than the person who set up the bot: if a person has write access to the CRM but does not want the bot to have it, the bot's credentials are read-only, enforced by the credential, not only by a prompt. Even when a bot could write, they often tell it not to. Their bots do not fix data in the CRM. If the contract and the CRM disagree, the bot flags that to a person and they route it to the revops team to fix at the source; they do not want bots to be gatekeepers of someone else's system of record. The billing support bot has read access into most systems core to order-to-cash so it can answer quickly. If a write is required, it may flag Paul or work with another bot that has narrow write permissions, and even that still requires review and approval.
  10. By hand: Turn every miss into a dated, reviewed rule, including a 48-hour catch-up check. They say you can prompt a bot to update itself through the codebase, adding or deleting sections, but every change still goes through the same Origin review and is timestamped. In one example, Paul's daily manual review found that the provisioning bot had missed a few deals. Instead of only telling the bot it had missed a deal, they changed the rule in its playbook. It still triggers on every new post in the Slack channel, but it also goes back and rechecks the last 48 hours once a day, and it logs every deal before it starts, so nothing is done twice and nothing is missed. A rule change is a dated line in the change log with a pull-request number next to it, which they can show a reviewer, internal audit, or an external auditor if asked why the bot does that.
  11. By hand: Let a bot earn the keys in four stages, then layer preventative and detective controls. The four stages they found successful: first, after the rule book is built, observe the work; second, propose, meaning the bot does the work on paper and they review the outputs, and every miss becomes a rule; third, act with approval, so every consequential action waits for a person; fourth, act and log, so standard work runs end to end, everything is logged and also reviewed by a human, and anything that needs judgment still waits. They also say you can run the same bot against different knowledge bases to compare how it behaves. On top of Grok Bot's built-in security they add their own rules in two halves, before a bot acts and after. Preventative: the rule book is version-controlled, one person proposes and a different person approves, nobody edits it live, and suggestions go to an owner first; bots run inside apps that only expose allowed actions; each bot has only the access its job needs and posts only in assigned channels; consequential actions go through a named person. For low-risk reference data, such as adding a purchase-order number to an invoice, the bot may update the field itself under validation rules in the same reviewed rule book, with those updates logged and reviewed afterwards. If a purchase-order number already exists, the bot asks why and a person must respond; if there is no purchase order at all, it may be added automatically. Everything that goes out to a customer is draft first: the bot drafts, checks source information, and a person reviews and approves before send. Detective controls, where they say most of their time is spent now: every action is logged, with daily summaries; for provisioning, one of them reviews what the bot did; for billing, every invoice the bot creates is tracked and reviewed. Month-end controls are unchanged: they still reconcile what was provisioned to what was billed, whether a person or a bot clicked the button, and a person still signs off. Their honest summary is that the bots have changed who does the first draft of work; they do not necessarily change who signs off, and they did not change month-end controls. They would like to automate more of those detective controls over time, but those controls have a human attached now. They treat a bot like a new hire: train it, check its work, and still own the outcome. If the bot makes a mistake, that is their mistake, not the bot's. The takeaway they ask viewers to remember: build the rails first, write the rule book, put it somewhere with review and approval, decide who owns the result before the bot does anything, then let it earn the keys. They also challenge viewers to ship a full teammate bot within the week.
  12. Bot: Walk through a Cursor-built demo Slack UI of closed-won to cash, not as an independently verified production run. They wanted to show live infrastructure, but said that was challenging for a workshop, so they had Cursor build a demo Slack environment: Slack on the left, and what the bot is doing on the right. They say the bots they use day to day are sitting behind that demo (author's claim, not reproduced). In the demonstration, a message that Customer ABC just closed in the CRM starts the cycle. A closed-won bot posts the deal in Slack, checks the signed order form against the CRM, books the contract, and hands it to provisioning. The provisioning bot sets up the account as 50 enterprise seats scheduled to start January 1st, then notifies Gizmo, the account owner. The billing bot activates the contract and sends an annual invoice of $150,000 on net30 terms, then hands off to billing support. They invite a live question to the billing support bot and ask:

does this invoice have tax on it?

When the invoice is past due, the collections bot sends accounts payable a reminder and asks cash applications to watch for the payment. The cash applications bot finds the remittance in the inbox and the wire on the bank statement, matches both to the invoice, and marks it paid. Credits, refunds, and customer replies still come to Paul for approval before anything goes out. Customer ABC, the 50 seats, January 1st, $150,000, and net30 terms are demonstration figures in this walkthrough, not independently verified results.

  1. By hand: Answer questions on team structure, how they built the knowledge base, tax collection, and a wish list. There is no separate finance team whose only job is to build and audit the bots. The speakers say they started from zero systems, with automation in mind, and that Paul, Will, and Aaron, who runs revenue accounting, all retrained around this work. Paul built the bots, and Paul's team now manages them end to end; they also use Cursor and their other tools to ship updates into their own repo, and they go to engineering and security when they need more technical support. The Origin pull-request process was a practice they took from engineering. On getting started, they used Cursor and Grok Bot to scrape the last three months of activity from the channel, including questions, responses, and follow-ups, and built the knowledge base from that instead of exporting Slack history into a spreadsheet by hand. On withholding and tax, they described a billing-support instruction: when invoicing someone in India who has not provided an ID, the bot flags the rep that the ID is needed within 24 hours, provides documentation in the same channel, and if the rep does not respond within 24 hours the invoice still goes out, so they add as little friction as they can at the point of sale while still holding sales accountable. Separately, using Cursor, they built an automated email that goes out when a deal is closed-won, showing the customer the information on file for the coming invoice and inviting corrections, such as a missing tax ID, which they can validate and add to the profile. Asked about FP&A workflows, they say they have embraced this more than broader finance functions because order-to-cash is well structured; FP&A often has more subjectivity and business context, so it may need more human involvement. They are not deep in that space, though they know finance is thinking about automating some reporting. Asked whether a bot can handle customer registration into accounts-payable portals, they say it can, and they name Caric Padma, as auto-captioned, at SpaceX as having built a lot of that on the Cursor side; that work is not demonstrated in this video. On their wish list: a revenue accounting bot for tier-one work such as reviewing contracts and drafting ASC 606 memos for month end, and an audit bot that could gather samples and communicate with auditors in real time instead of waiting for someone to pull files. They add that you cannot tackle an entire knowledge base in one go; coaching the bots is repetitive for a few months, and a trial that does not work is a reason to redefine the process or the documentation and try again. They also mention reconciliations as something bots can prepare when inputs and outputs are well defined, as long as a person reviews completeness and accuracy.

Check: The speakers said some of what they show is live and some is still in development. Paul describes a daily manual review of the provisioning bot, which is how missed deals were found, and they say month-end reconciliation is still signed off by a person. They have walked external auditors through human review but say that work is still in early stages. The closed-won-to-cash walkthrough is a Cursor-built demo Slack UI; they claim day-to-day bots sit behind it, which is not independently verified here. Auto-generated captions do not independently verify spoken figures such as the eight-hour-to-two-or-three-hour UI change or the 99% billing-support claim. The source does not give an outside measurement of those figures.

Key points and results

  • The speakers distinguish a live process from work still in development, and they present the talk as one team's story rather than advice. The legal framing, as auto-captioned, also said the session is for information and demo purposes only, and that each organization's controls and auditors are its own call.
  • They built structure and an internal app before they taught bots to run the process. Accounting Sphere, built in Cursor by January, is said to have taken a process that roughly took eight hours a day down to roughly two to three hours on the internal UI (author's claim, not reproduced). That hours figure is about the human UI, not a measured bot runtime. They have had connector outages and say a person can still do the same steps in the same app.
  • Opaque bot memory was not good enough for order-to-cash, so the rule book moved from a wiki into a reviewed Origin repo. The first bot, released after Grok Bot launched in alpha, read months of Slack messages and is said to have built memory in seconds (author's claim, not reproduced). They later used one folder per bot, pull requests with change logs, a required second approver, no override, and the same process for rollbacks. Bots read that repo as the source of truth on every trigger.
  • Five bots pass work along the order-to-cash path, and a chief-of-staff bot named Apollo surfaces blockers and judgment cards. Provisioning reads the signed order PDF, not only the CRM summary; billing, collections, cash applications, and billing support follow. Billing support is said to take care of about 99% of go-to-market-surfaced customer questions in real time (author's claim, not reproduced). They reject a single bot for the whole process on segregation-of-duties grounds.
  • A miss becomes a dated rule, not only a one-off correction. After daily review found missed deals, the provisioning bot still triggers on each new Slack post, rechecks the last 48 hours once a day, and logs every deal before it starts. A rule change is a dated change-log line with a pull-request number.
  • Autonomy is staged, and month-end sign-off stays with a person. The four stages are observe, propose, act with approval, and act and log. Customer-facing output is draft first. Low-risk edits such as a missing purchase-order number may be applied under reviewed rules; changing an existing number requires an explanation. The speakers' own summary is that bots changed who drafts the work, not who signs off, and did not change month-end reconciliation. If the bot makes a mistake, they treat it as the team's mistake.
  • The closed-won-to-cash walkthrough is a demonstration. They had Cursor build a demo Slack UI after deciding live infrastructure was hard to show in the workshop. Figures such as Customer ABC, 50 enterprise seats starting January 1st, and a $150,000 net30 invoice are demo scenario numbers, not independently verified results.
  • Getting started, in their telling, included scraping three months of channel activity to draft the knowledge base, and they have walked external auditors through the setup while still calling that work early. Wish-list bots for revenue accounting (including ASC 606 memos) and audit support were described as future work, not as running systems in this video. Spoken figures throughout are the authors' claims and were not reproduced here.

Timestamps

Transcript status: Auto-generated English captions (yt-dlp)

Timestamp source: Description chapters + auto captions

Source

Platform
YouTube
Author
Grok
Published
Categories
Multi-bot teams
Channel
Grok

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.