FINANCE
On-Demand Cohort Margin Drilldown via Chat
Lets a finance operator ask in chat about any cohort, queries the live margin and cost breakdown from BigQuery, and replies with the segment's margin trend, drivers…
How it runs
The automated pipeline, trigger to output.
- TriggerChat message names a cohort
- LogicParse request into cohort filter and window
- ActionQuery cohort margin and costs from BigQueryBigQuery
- OutputReply with margin read in chat thread
What it does
Answers ad hoc margin questions on demand. An operator names a cohort or segment in chat; the workflow pulls that cohort's live margin, cost composition, and recent trend from BigQuery and replies with a clear read on its profitability and direction.
When to use it
Use it during a meeting or a Slack thread when someone asks "how is the Q1 enterprise cohort doing on margin" and you want a grounded answer from the warehouse in seconds instead of opening a BI tool.
How it works
- 1A chat message naming a cohort or segment triggers the run.
- 2An agent parses the request into a cohort filter and time window.
- 3BigQuery returns that cohort's trailing margin, cost breakdown, and trend.
- 4The agent composes a concise answer: current margin, the dominant cost driver, and whether the trend is eroding or stable.
- 5The reply is returned in the chat thread for follow-up questions.
Set it up
What you configure once, before turning it on.
- 1Connect BigQueryDatasets, queries, schemas.
- 2Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 3Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 4Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Finance workflows
Expense Submission Webhook Instant Triage and Routing
Receives each expense submission via webhook the instant it's filed, classifies it as in-policy, needs-review, or hard-violation, and routes it to auto-approval.
Monthly Vendor Spend Anomaly Brief for Finance Leads
Once a month, an agent analyzes the full expense ledger for vendor and category spend anomalies, drafts a narrative brief with the top outliers and likely causes.
Accrual Chase Board in Monday with Per-Owner Tasks
On a schedule it reads open uncoded expenses from Snowflake and creates or updates a Monday item per department owner.
Detect Annual-to-Monthly Downgrade Refunds Owed
Catches subscriptions switched from an annual term to monthly partway through the prepaid year, computes the unused prepaid balance owed back.
Detect Mid-Cycle Plan Change Mischarges and Queue Credit Memos
Listens for Stripe subscription plan changes, recomputes the correct prorated amount.
Overdue Accrual Escalation Emails to Owners and Managers
On a schedule it flags uncoded spend that has stayed open past the chase deadline and emails each delinquent owner via Gmail.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
