Build With AI
Build With AI

# 167 I built an AI agent finance department (full build)

27 May 2026 43:43 Corey Ganim

Listen to episode

About this episode

I brought on Mike Dion, a senior corporate finance professional who has helped automate more than 100,000 hours of work out of finance processes, to walk through how to build a fully functional AI agent finance department inside N8n — from scratch, with no coding background required. We build a CFO agent named Charles, give him a team of specialist sub-agents (FP&A, Accounting, and Treasury), and watch the delegation logic in action as Charles routes questions to the right specialist instead of answering everything himself. Mike also breaks down how to use ChatGPT to write your own system prompts, why you should give the CFO a reasoning model while using cheaper models for the sub-agents, and how to publish the finished chat so your whole team can access it. By the end of this episode, you'll have everything you need to replicate this AI finance department in under 45 minutes.

Timestamps 00:00 – Intro 00:03 – What we're building: AI CFO inside N8n 00:23 – Mike's background and 100,000 hours of automation 00:52 – Why N8n over Make, Zapier, or Power Automate 02:00 – Setting up the chat trigger and naming the CFO 05:00 – Using ChatGPT to write the CFO system prompt 08:52 – Choosing the right AI model and saving on token costs 13:27 – Building the FP&A sub-agent (and what FP&A actually does) 16:36 – Adding the Accounting agent with code interpreter 19:25 – Building the Treasury agent 33:21 – Successful routing to FP&A and Treasury agents 38:19 – Publishing the chat and embedding it in Slack, Teams, or a website 39:22 – Mike's philosophy: train your team to build, don't just build for them 41:14 – Where to find Mike and his free Finance Automation Insider newsletter

Key Points

Using ChatGPT to write your own N8n system prompts is one of the fastest ways to get started — nothing knows ChatGPT better than ChatGPT itself, and what would have taken six hours of writing two years ago now takes minutes.

The delegation logic is non-negotiable. If the CFO answers questions directly instead of routing them to a specialist, you lose access to any tools or context you've connected to those specialist agents — and you pay more for it.

N8n can run completely free on a $4–5/month virtual private server, making this entire AI finance department buildable for nearly zero cost. You don't need a paid automation platform subscription.

Setting the context window to 10 (five back-and-forth interactions) is a practical default — enough for most finance questions without ballooning your API costs on every run.

You can publish the finished CFO chat and embed it directly in Slack, Microsoft Teams, or a company website. Your team sees a clean chat interface — all the N8n complexity stays invisible in the background.

Links:

F9 Finance YouTube channel — Mike's free weekly channel covering finance automation tools and builds: https://www.youtube.com/@F9Finance

F9 Finance website — corporate automation training and the free Finance Automation Insider newsletter (includes 15 five-minute finance automations you can build with tools you already have): https://f9finance.com

N8n — the free, self-hostable workflow automation tool used to build the AI CFO in this episode: https://n8n.io

Join the Build With AI community — weekly AI implementations, live coaching, and no-fluff templates built for non-technical entrepreneurs: https://www.skool.com/buildwithai/about

If this episode was valuable to you, it would mean a lot if you left a rating and review on Apple Podcasts or Spotify. It helps more entrepreneurs find the show.

FIND ME ON SOCIAL X/Twitter: https://x.com/coreyganim Instagram: https://www.instagram.com/coreyganim/ LinkedIn: https://www.linkedin.com/in/coreyganim/ YouTube: https://www.youtube.com/@coreyganim

FIND MIKE ON SOCIAL YouTube: https://www.youtube.com/@F9Finance Website: https://f9finance.com

Want to find AI jobs?

Join thousands of AI professionals finding their next opportunity

We respect your inbox. Unsubscribe at any time.

© 2026 Build With AI. All rights reserved.

Common Questions

Frequently asked questions

Quick answers about how DevFound's AI matching, resumes, and referrals work.

DevFound's AI Copilot ingests your profile, goals, and live job data to deliver curated matches in seconds. Every match includes a resume variant, suggested referrals, and interview prep so you can act immediately. The more feedback you provide, the sharper the Copilot becomes.

AI-led job searches shrink the hours spent sifting through boards and formatting resumes. DevFound pairs automation with your personal outreach, so you reserve energy for interviews and negotiation. Traditional networking still matters, but AI gives you a lift before you even send a message.

Modern AI roles expect comfort with production-grade code, data fluency, and practical ML tooling. The strongest candidates pair deep technical chops with storytelling—translating model impact to product, GTM, and exec partners. Continuous learning keeps you ahead as stacks evolve.

DevFound rewards active seekers. Keep your profile fresh, respond to match quality prompts, and enable alerts so you never miss a role. The AI prioritizes companies and teams that align with your feedback, accelerating both introductions and interview invites.

High-density tech hubs continue to host the deepest AI talent pools, yet distributed teams are catching up fast. Use DevFound filters to hone in on onsite, hybrid, or fully remote roles and watch openings expand across time zones.

DevFound aggregates thousands of remote AI openings and flags the nuances—core hours, async culture, and visa needs—up front. The Copilot also recommends how to position your distributed work experience so hiring managers know you can thrive on a remote team.