FINANCE

Daily FX Exposure Snapshot Archive to R2

Snapshots the full per-currency unhedged exposure table from BigQuery each day, writes a timestamped CSV to Cloudflare R2, and confirms the archive in Slack for audit retention.

CategoryFinance
Enginesim
Difficultybeginner
Triggerschedule
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule after book settlement
  • ActionExport per-currency exposure table from BigQueryGoogle BigQueryBigQuery
  • LogicFormat snapshot as dated CSV
  • ActionUpload snapshot to R2 archive bucketCloudflareCloudflare R2
  • OutputConfirm archive landed in SlackSlack

What it does

It captures a complete daily picture of FX exposure as an immutable file, building the historical record that drift comparisons and audits depend on.

When to use it

When you need a defensible, point-in-time archive of currency exposure for compliance, audit, or to feed downstream models — separate from any alerting logic.

How it works

  1. 1A daily schedule runs after the books settle for the day.
  2. 2A BigQuery action exports the full per-currency exposure table, including hedged, unhedged, and total amounts.
  3. 3A logic step formats the result into a CSV named with the snapshot date.
  4. 4An R2 action uploads the file to a write-once archive bucket.
  5. 5A Slack message confirms the archive path and row count so the team knows the daily snapshot landed.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect Cloudflare R2Object storage, S3-compatible.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.