FINANCE

Close Anomaly Narrative Drafter

An agent investigates each unexplained GL anomaly by pulling supporting transactions from Snowflake, drafts a plausible cause narrative.

CategoryFinance
Enginepaperclip
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSchedule fires near close lock deadline
  • ActionRead anomalies still lacking explanation
  • ActionQuery top contributing transaction lines from SnowflakeSnowflakeSnowflake
  • LogicAgent drafts cause narrative from line itemsOpenAI
  • ActionWrite draft flux memo to Drive close folderGoogle DriveGoogle Drive
  • OutputPost memos-awaiting-review note to SlackSlack

What it does

For anomalies still missing an explanation near the lock date, this agent does the first-pass investigation a junior accountant would. It retrieves the largest contributing journal lines for the account from Snowflake, reasons about likely drivers such as accruals, reclasses, or one-time entries, and drafts a flux narrative. The draft is saved as a memo document in a Drive close folder, clearly marked as AI-drafted and pending human sign-off.

When to use it

Use it in the final hours of close to clear the long tail of unexplained variances faster, while keeping a human approver in the loop. Best for teams whose flux commentary is otherwise the bottleneck to sign-off.

How it works

  1. 1A schedule fires near the close lock deadline.
  2. 2The agent reads the list of anomalies that still lack an explanation.
  3. 3For each, it queries Snowflake for the top contributing transaction lines.
  4. 4The agent drafts a cause narrative grounded in those line items.
  5. 5It writes the structured flux memo to the Drive close folder, flagged as draft.
  6. 6It posts a Slack note listing the memos awaiting controller review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SnowflakeWarehouses, queries, shares.
  2. 2
    Connect Google DriveDocs, sheets, slides, files.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Connect OpenAIModels, embeddings, files.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.