What happens when Codex moves beyond writing code and starts working directly with real business data?
In this article, I walk through a practical experiment connecting Google Sheets with Codex CLI via MCP. The workflow uses a Community Google Workspace MCP server together with the Google Sheets API and OAuth, allowing Codex to read, analyze, validate, and update spreadsheet data from the terminal.
The article uses a realistic Monthly Sales Report as the main case study. Instead of stopping at a simple read/write demo, the workflow continues into profit calculation, Data Quality Audit, human-in-the-loop validation, Executive Summary generation, and controlled record updates.
*Key takeaways: *
- Google Sheets API and OAuth setup
- MCP configuration with Codex CLI
- Thai-language prompt examples
- Read and write operations
- Profit calculation
- Data Quality Audit
- Human-in-the-loop validation
- Executive Summary generation
- Real outputs from each case study
The article also includes the actual prompts used in each case study together with screenshots and results from every stage, making it easier to understand how the workflow behaves in practice.
If you are exploring MCP, AI agents, or practical ways to connect AI with the tools you already use, this may be a useful starting point.
Read the full article:
Top comments (0)