[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"tutorials-build-an-ai-agent-with-business-data":3},{"id":4,"title":5,"body":6,"canonical":13,"card":14,"component":18,"createdAt":19,"description":20,"difficulty":21,"extension":22,"faq":23,"featured":42,"indexStory":43,"intent":51,"keywords":52,"meta":60,"metaTitle":61,"navigation":42,"pageType":15,"path":17,"sections":62,"seo":63,"slug":64,"status":65,"stem":66,"timeToComplete":67,"updatedAt":19,"__hash__":68},"tutorials/tutorials/build-an-ai-agent-with-business-data.md","Build an AI Agent with Business Data",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],"https://getapibutler.com/tutorials/build-an-ai-agent-with-business-data",{"tag":15,"headline":5,"summary":16,"href":17},"Tutorial","Connect customer, subscription, invoice, and usage data to a customer success agent using API Butler — build in Cursor, Claude, ChatGPT, or Mistral.","/tutorials/build-an-ai-agent-with-business-data","BuildAiAgentBusinessData","2026-06-15","Learn how to connect business data to AI agents using CSV files, APIs and AI coding tools. Build a customer success agent step-by-step.","Intermediate","md",[24,27,30,33,36,39],{"question":25,"answer":26},"Where do I build the AI agent?","API Butler provides the data layer — not the agent itself. Build in Cursor or Claude Code for a full dashboard with chat UI (recommended in Step 5). Use Claude API, ChatGPT Custom GPTs/Actions, or Mistral Agents with the same API Butler endpoints registered as tools. All platforms call your GET URLs over HTTPS and answer from structured JSON.",{"question":28,"answer":29},"How does an AI agent access API Butler APIs?","Agents call the same REST endpoints your frontend uses. Upload CSV files to API Butler, copy the GET URLs, and pass them to Cursor or Claude Code. The agent fetches structured JSON with predictable fields—customers, invoices, subscriptions—instead of parsing raw spreadsheet files.",{"question":31,"answer":32},"Do I need a vector database?","Not for this tutorial. Structured business data—customers, invoices, usage metrics—works best through REST APIs with filtering and pagination. Vector databases help with unstructured documents. For account lookups, revenue questions, and subscription status, API Butler endpoints are the right layer.",{"question":34,"answer":35},"Can I use Google Sheets instead of CSV?","Yes. Export your spreadsheet as CSV and upload to API Butler. Google Sheets, Excel, and Airtable exports all work. The tutorial uses CSV files because they are portable, version-controllable, and easy to share with AI coding tools.",{"question":37,"answer":38},"Can Cursor generate the frontend automatically?","Yes. Paste your API Butler endpoint URLs into the Cursor or Claude Code prompts in Step 5. For ChatGPT, Claude, or Mistral chat agents, register the same URLs as tools or Actions — the agent fetches live data before answering.",{"question":40,"answer":41},"When should I use APIs instead of uploading files directly?","Use APIs when your agent or app needs structured queries—filter by plan, find overdue invoices, check inactive accounts. File uploads work for one-off analysis. APIs give agents repeatable, filterable access to business data without re-parsing spreadsheets on every request.",true,{"eyebrow":44,"title":45,"description":46,"readMoreLabel":47,"flowLabel":48,"requestLine":49,"responseLine":50},"Flagship tutorial","From business spreadsheets to an AI customer success agent","Learn why AI agents need APIs, design realistic business datasets, publish endpoints, and generate a working agent dashboard with AI coding tools.","Start the tutorial","Agent data path","GET /v1/apis/customers?filter[plan]=pro","{ \"data\": [{ \"id\": 1, \"company_name\": \"Acme Corp\", \"plan\": \"pro\" }], \"meta\": { \"total\": 12 } }","Educational",[53,54,55,56,57,58,59],"build ai agent","ai agent business data","ai agent api tutorial","business data for ai agents","ai agent data source","ai agent with csv data","ai-ready business data",{},"Build an AI Agent with Business Data | API Butler Tutorial",null,{"title":5,"description":20},"build-an-ai-agent-with-business-data","published","tutorials/build-an-ai-agent-with-business-data","30–45 minutes","U6NygZJUEvXp6QG3B2ngUh3Eg2IGPpK5XdpnwkXDJVg",1782745366455]