How to build a CapEx Classification AI Agent
This AI agent analyzes project documents against CapEx guidelines, prompts for clarifications, verifies the analysis for accuracy, and automatically logs the results to Google Sheets.
Challenge
Ensuring that project proposals (RFCs) are rigorously and consistently evaluated against Capital Expenditure (CapEx) classification guidelines is challenging, complex, and time-consuming.
Industry
Finance
Department
Finance
Integrations

Excel/Sheets

OpenAI
TL;DR
This agent automates and verifies CapEx (Capital Expenditure) classification by analyzing project documents against your organization’s CapEx guidelines, prompting for clarifications, and writing the verified analysis to Google Sheets.
What it Does
Ingests project documents (RFCs) and CapEx guidelines.
Uses AI to analyze if the project meets CapEx criteria.
Prompts the user for clarifications if any criteria are unclear or unmet.
Runs a second AI check for completeness, accuracy, and bias.
Writes the final, verified analysis to a Google Sheet for record-keeping.
Who It’s for
Finance teams
Project managers
CapEx/OpEx analysts
Anyone responsible for CapEx compliance and documentation
Output
A clear, AI-generated CapEx classification analysis.
Follow-up questions if the RFC/project description is unclear or incomplete.
A verified summary written directly to your specified Google Sheet.
Common Pain Points of Classifying CapEx
Unclear or incomplete project descriptions.
Manual, time-consuming cross-referencing of guidelines.
Risk of missing compliance criteria.
Inconsistent documentation and record-keeping.
Lack of audit trail for decisions and clarifications.
What This Agent Delivers
Automated, consistent CapEx analysis.
AI-driven follow-up questions to ensure completeness.
Double-checks for accuracy and bias.
Centralized, auditable record in Google Sheets.
Saves time and reduces manual errors.
Want to See More? Check Out This Quick Tutorial:
Step-by-Step Build (StackAI Nodes)
1) CapEx Classification Guidelines (Files Node)
What it does:
Lets you upload your CapEx guidelines document.
Extracts and processes the text for use by the AI.
Goal:
Ensure the AI has the latest, official CapEx criteria for analysis.

2) RFC (Files Node)
What it does:
Lets you upload the project’s RFC (Request for Capital) or description.
Extracts and processes the text for analysis.
Goal:
Provide the AI with the project details to be classified.
3) User Response (Input Node)
What it does:
Allows the user to answer follow-up questions from the AI.
Goal:
Clarify any uncertainties or missing information in the RFC.
4) OpenAI (LLM Node)
What it does:
Analyzes the RFC against the CapEx guidelines.
Prompts the user for clarifications if any criteria are not fully met.
Goal:
Ensure the project meets 100% of CapEx criteria, or gather more info if not.

Instructions
Prompt
5) OpenAI Verification (LLM Node)
What it does:
Reviews the initial analysis for completeness, accuracy, and bias.
Flags any issues or confirms the analysis is sound.
Goal:
Provide a second layer of review for quality assurance.

Instructions
Prompt
6) Write to Google Sheets (Action Node)
What it does:
Writes the verified analysis to a specified Google Sheet and worksheet.
Goal:
Create a permanent, auditable record of the analysis.

7) Output (Output Node)
What it does:
Presents the final result to the user.
Goal:
Display the outcome and ensure the process is complete.