Problem
A small marketing team at a software company grew from organic channels to five paid ones in six months. Each ad platform has its own schema, conversion definitions and attribution windows, and campaign parameters do not map cleanly to sign-ups, sales inquiries or pipeline. The team could no longer track what was running, what worked and what to try next by hand.
Example from the article: LangChain's warehouse joined campaign data by keyword, so Google video campaigns without keywords were missing: about 10% of Google spend was absent from the warehouse.
Solution in brief
Build a long-running agent that lives in Slack and runs a weekly report. Give it a sandbox, a playbook and a company wiki instead of one giant prompt. Compute every number in code, fix a source of truth per metric, and let people approve every campaign change.
Questions this case answers
- How to make an LLM analytics agent produce verifiable numbers across several data sources whose schemas, conversion definitions and attribution windows do not match
- How to give an agent access to a very large tool catalog and an arbitrary analytical query surface without paying for all tool schemas in every context
- How to move an agent from analysis to action while keeping approval and verification outside the model
- How to build an LLM agent that reports on ad performance across several channels and gets the numbers right?
Tools and methods
- LangChain Deep Agents — agent harness: planning, subagents, files, code execution
- LangSmith Sandbox and Deployment — isolated microVM per run, hosting, scheduled runs
- pandas, DuckDB — deterministic analysis inside the sandbox
- BigQuery, Salesforce — warehouse with leads, opportunities and pipeline
- Pipeboard MCP — more than 200 ad-platform tools behind search, read and run
- Slack Block Kit — approval cards for proposed changes
- Skills and wiki — reusable how-to instructions, kept apart from company-specific context
Google or a one-time email code. No password.