clari-core-workflow-a

v2026.09.24

Build a Clari forecast-export pipeline with reconciliation, schema controls, and warehouse lineage. Use when loading forecasts, quotas, adjustments, or CRM totals. Trigger with: "export Clari forecasts", "load Clari into the warehouse", "build a forecast pipeline".

GitHub
安装命令
npx skhub add jeremylongshore/clari-core-workflow-a
Markdown
SKILL.md

Clari Forecast Warehouse Pipeline

Overview

Move forecast data through a three-stage pipeline: immutable landing, validated normalization, and reconciled publication. Preserve Clari identifiers and export context so every dashboard value can be traced back to one job and request.

Prerequisites

  • Forecast ID, hierarchy scope, fiscal-period convention, and requested data types
  • Landing storage with encryption, retention, and access controls
  • Warehouse schema owner and reconciliation tolerances

Instructions

Step 1: Define the snapshot key

Use forecast ID, requested time period, scope, currency, data types, and export timestamp as the immutable business key.

Step 2: Reserve export capacity

Read organization limits and ensure the scheduler will not exceed concurrent or rolling quota constraints.

Step 3: Run the asynchronous export

Queue the forecast job, poll boundedly to a terminal state, and retrieve the result only after DONE.

Step 4: Land before transforming

Write the original approved result to immutable, access-controlled storage with job ID, content hash, contract fingerprint, and ingestion timestamp.

Step 5: Normalize and reconcile

Map fields into versioned tables, preserve raw identifiers, check row counts and totals, and quarantine unknown fields or malformed monetary values.

Step 6: Publish atomically

Expose the new snapshot only after reconciliation passes; otherwise keep the prior known-good snapshot and emit an actionable failure receipt.

Authentication

Use a dedicated Revenue API integration identity and apikey header. Warehouse credentials must be separate from the Clari token, and logs must exclude both secrets and raw forecast values.

Tool Discipline

Use Read and Grep to inspect configuration, provider contracts, fixtures, logs, schemas, and existing tests before proposing a change. Use Write or Edit only for the approved plan, implementation, test, or redacted receipt; do not issue, rotate, revoke, create, update, cancel, delete, export, ingest, or publish provider data without explicit operator approval.

Output

  • Immutable landing manifest tied to the Clari job ID
  • Versioned normalized tables with lineage and schema checks
  • Reconciliation report and atomic publish or rollback decision

Return the exact surface, environment, resource or job identifiers, contract fingerprint, evidence, unresolved risks, and final decision without exposing credentials or sensitive customer data.

Examples

A quarterly forecast export lands as an immutable object, normalizes forecast and quota rows, reconciles counts and totals against the landing file, and advances the dashboard view only after all gates pass.

Error Handling

FailureResponse
Export is emptyVerify period, scope, data types, hierarchy access, and Forecast Tab configuration before publishing.
Schema adds an unknown fieldQuarantine the snapshot, classify the field, and version the mapping before retrying publication.
Warehouse load partially succeedsRollback the staging transaction and retain the prior published snapshot.

Resources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/.curated/clari-core-workflow-a

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8