What the agent does
This is for a company that sells board-reporting software to venture-backed startups: seed and Series A companies with a founder who runs the board deck, an outsourced bookkeeper who closes the books each month in QuickBooks Online, and a board that meets every quarter. The financial section of the deck is the same every time (revenue by month, gross margin, spending against the budget the board approved, cash, burn and runway) and it is the part founders dread, because it means exporting reports, pasting them into a spreadsheet and checking the arithmetic the night before. Board meeting financial prep is the feature the software sells: an agent per customer that reads that company's own books once the quarter is closed and drafts those pages.
The software company connects a QuickBooks company of its own and saves the agent once as a template with POST /o/{org}/agents, naming "connections": ["quickbooks"] and instructions that keep it to reading. When a startup turns the feature on, the backend calls POST /o/{org}/agents {"template": "<template id>", "name": "board-<company id>"}, stores the agent id against the startup, calls POST /o/{org}/agents/{agent}/connections {"type": "app", "name": "quickbooks"} and opens the authorize_url in a popup while the founder or the bookkeeper is signed in to the software. They sign in on Intuit's page and pick the company. The software company registers no Intuit app and holds no Intuit token.
When the quarter is marked closed, the software starts a run with the quarter's dates and the budget lines the board approved, which it already stores. The agent reads four reports through the QuickBooks Online Accounting API's reports endpoints. ProfitAndLoss comes twice, with start_date and end_date for the quarter, summarize_column_by=Month and accounting_method=Accrual: once for this quarter and once for the same quarter a year earlier. BalanceSheet comes with summarize_column_by=Quarter across the last two quarter ends, then CashFlow for the quarter and AgedReceivables with report_date set to the quarter end. It reads the rows by account name as the reports return them, without assuming a chart of accounts, and maps each top-level expense account to the budget line the input names for it.
From those numbers it computes what the board pages show: revenue and gross margin by month, operating expenses by budget line against the approved budget with the variance in dollars and percent, ending cash, net burn as the drop in cash over the quarter divided by three, and runway as ending cash over that burn. Any line more than 10 percent off budget gets the two or three accounts that moved most, named from the report rows. Receivables more than 60 days past due are listed by customer. It writes board-financials.md with the tables and short notes, and returns the same numbers as JSON for the software to render as slides. It changes nothing in QuickBooks.
Start it with one API call
POST https://api.phoenix.so/o/{org}/sessions with this body:
{
"agent": "<agent id>",
"input": "Board meeting financials for Q3 2026 (2026-07-01 to 2026-09-30). Read only: never create, edit or delete anything in QuickBooks. Approved Q3 budget (line: amount; QuickBooks top-level accounts): Revenue: 420000; Cost of goods sold: 96000 (Cost of Goods Sold); Payroll: 510000 (Payroll Expenses); Software and hosting: 58000 (Software, Hosting); Marketing: 45000 (Advertising & Marketing); Office and admin: 31000 (Rent, Office Expenses, Legal & Professional Services). 1) GET reports/ProfitAndLoss with start_date 2026-07-01, end_date 2026-09-30, summarize_column_by Month, accounting_method Accrual; and again for 2025-07-01 to 2025-09-30. 2) GET reports/BalanceSheet with start_date 2026-04-01, end_date 2026-09-30, summarize_column_by Quarter. 3) GET reports/CashFlow for 2026-07-01 to 2026-09-30. 4) GET reports/AgedReceivables with report_date 2026-09-30. Read rows by account name; do not assume account numbers. Compute: revenue and gross margin by month and for the quarter, and versus Q3 2025; actual versus budget per line with variance in dollars and percent; ending cash from the balance sheet; net burn = (cash at 2026-06-30 minus cash at 2026-09-30) / 3; runway months = ending cash / net burn, or 'not burning' if cash grew. For each line more than 10 percent off budget, name the two or three accounts with the largest movement. List receivables over 60 days by customer. Show every figure you computed with the report and row it came from. Write board-financials.md (tables, then notes) and return JSON: {quarter, revenue_by_month, gross_margin_by_month, budget_vs_actual: [{line, budget, actual, variance, variance_pct, drivers}], ending_cash, net_burn_monthly, runway_months, receivables_over_60: [{customer, amount}], checks: []}. Put anything that did not reconcile, such as a balance sheet that does not balance or an account you could not map, in checks."
}- Get an API key. In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
- Send the request. POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
- Read what came back. Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.
What comes back
What comes back is the JSON in the session's result, carried to the software's server by the run.completed webhook, and board-financials.md among the session's files. The software fills its financial slides from the JSON: a revenue chart, a budget-versus-actual table with the lines off by more than 10 percent highlighted and their drivers underneath, and a cash and runway box. Every figure in the markdown names the report and row it came from, so the founder can trace a number in the deck back to the books.
What the founder or the bookkeeper checks before the deck goes out: that the quarter is really closed, since a late bill posted after the run changes the numbers; the checks list, which holds any account the agent could not map to a budget line; and the drivers named for a variance, which come from account movements and may need a sentence of context only the founder has. The commentary the board reads, and any decision about spending, is the founder's. The agent drafts the numbers and never edits the books.
Run it on every quarter close
The software starts one run per company when the founder or bookkeeper marks the quarter closed in it: POST /o/{org}/sessions with {"agent": "<agent id>", "input": "…"} for that company's agent, with the quarter's dates and stored budget written into the input and a request_id that is a UUID v5 of the company id and the quarter, so pressing the button twice starts one run.
Startups close their quarters within the same two or three weeks, so hundreds of runs can start together, each on its own computer with only its own company's books. A founder who wants a mid-quarter look before an investor update can start the same agent with month-to-date dates.
The use case this job follows, with its automation and trigger: Run an agent per customer task.
Why run it on Rush?
Each startup's Intuit sign-in is held in Rush's connection under that company's own agent, so the software company never stores an Intuit token and one company's run cannot read another's books. Every session lists the QuickBooks company's realm id it read in accounts, and GET /o/{org}/sessions?account=<realm id> lists every run that touched a company's books, which answers a founder or an auditor asking what the software read.
A fixed export script breaks on the first company whose bookkeeper named the payroll account "Salaries & Wages" instead of "Payroll Expenses". The agent maps accounts from the budget lines in the input, says in checks when it could not, and shows its arithmetic. Each run has its own computer and a record of every report it requested, and each company's sessions, listed with GET /o/{org}/sessions?agent=<agent id>, add up to what that company's model calls cost.
Frequently asked questions
Which QuickBooks reports does it read?
ProfitAndLoss for the quarter and the same quarter a year earlier, BalanceSheet across the last two quarter ends, CashFlow for the quarter and AgedReceivables as of quarter end, all from the QuickBooks Online Accounting API. They are the reports a bookkeeper would export by hand for the same pages.
Does it use cash or accrual accounting?
The request asks for accounting_method=Accrual, which is what most venture-backed boards see. A company that reports to its board on a cash basis changes that one parameter in the input, and the template stays the same.
How is runway calculated?
As ending cash divided by the quarter's average monthly net burn, the drop in cash from the last balance sheet to this one divided by three. It is simple arithmetic on the books, not a forecast, and the founder adds any known change such as a hire or a raise in the notes.
Can it write the whole board deck?
This agent drafts the financial pages only, because those come from the books. Product updates, hiring and asks of the board come from the founder; the software can put them beside the numbers, but the agent does not write them.