FINANCE
Snapshot pre-amendment waterfall to Snowflake on inbound amendment webhook
Receives an amendment notification from your CPQ or billing system via webhook and snapshots the contract's current deferred-revenue schedule into a versioned Snowflake history…
How it runs
The automated pipeline, trigger to output.
- TriggerInbound amendment webhookHTTP webhook
- LogicValidate contract id and effective date
- ActionRead current active schedule from SnowflakeSnowflake
- ActionWrite versioned snapshot to history tableSnowflake
- OutputReturn snapshot id confirmation to callerHTTP webhook
What it does
Before a waterfall is recomputed, the prior schedule should be preserved so auditors can see exactly what changed and when. This workflow listens for an amendment notification from any system that can call a webhook, captures the contract's current schedule, and writes an immutable, timestamped snapshot to a Snowflake history table.
When to use it
Use it as the first stage of your amendment pipeline, especially when amendments originate outside Stripe — a CPQ tool, a manual ops form, or a contract-management system. It guarantees you never lose the pre-change schedule even if the downstream recompute runs immediately after.
How it works
- 1An inbound HTTP webhook delivers the amendment payload with the contract identifier and effective date.
- 2A logic step validates the payload has a known contract id and a future-or-current effective date, rejecting malformed calls.
- 3It reads the contract's current active schedule rows from Snowflake.
- 4It writes those rows to a versioned snapshot table with a snapshot timestamp and the originating amendment reference.
- 5It returns a confirmation with the snapshot id so the caller can chain the recompute step.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect SnowflakeWarehouses, queries, shares.
- 3Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 4Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 5Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Finance workflows
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.
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.
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.
Real-Time Uncoded Expense Nudge on New Spend Event
When a new expense lands without a GL code, a webhook fires and the workflow immediately Slack-nudges the spending owner to code it on the spot.
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.
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.
