

Snowflake Reporting: Automate SQL Jobs and Business Reports
Your Monday revenue report has two jobs: produce the right numbers from Snowflake, then give the team something it can use. A scheduled query can finish successfully while the report still includes an incomplete period, omits late orders or reaches the wrong audience.
For Snowflake reporting, choose the mechanism around the work. Use native SQL Tasks for repeatable warehouse processing; evaluate Snowflake's native agent automations for recurring prompt-driven work; consider an analytical workspace when people need to review, discuss and distribute the result. Orion by Gravity fits the last job through inspectable analysis and recurring deliverables.
Gravity builds Orion. This guide uses public documentation checked December 2, 2026. The worked cutoff example is synthetic, not an executed Snowflake deployment or a product benchmark.
Define the report before choosing its scheduler
An agency analytics lead might need a weekly client brief. A finance lead might need net sales reconciled to a signed-off definition. Those sound similar until you ask who can see the detail, which time zone closes the week and what happens when the source arrives late.
Write a short report agreement: the business question, approved measure, reporting calendar, completeness signal, comparison period, recipients and accountable owner. Name the source object or governed metric. “Use revenue from Snowflake” leaves too much unresolved.
Separate the reporting window from the data cutoff. The reporting window determines which business events belong in the report. The cutoff determines which version of those events was available when the report ran. Preserve both so a rerun does not silently rewrite the historical story.
Use Snowflake Tasks for warehouse work with a known recipe
Snowflake Tasks run SQL or supported procedural work on schedules or triggers. They are a natural choice when the intended output is a prepared table, transformation or check that should live in Snowflake. Tasks support serverless and user-managed compute; choose based on the actual workload and operating requirements.
For a recurring reporting table, first run the underlying query manually and reconcile it. Then decide whether each run replaces a complete period, appends an immutable snapshot or updates existing records. These choices determine what a retry or backfill means. A scheduled insert that is safe once may duplicate a report when someone reruns it.
Task setup is administrative work, not a permission-free shortcut. Identify the owner role, compute access and source privileges. Snowflake documents the execution context and also supports an explicit user execution path; review the configuration you actually use rather than assuming the person reading a report is its query identity.
Use the CREATE TASK reference to configure the schedule, time zone and failure behavior. Assign someone to inspect task history, handle repeated failures and maintain the reporting logic. A schedule is not an operating owner.
Native SQL is usually sufficient when the business already has a trusted calculation and only needs that calculation refreshed. A separate AI product needs to remove some additional work, such as investigating exceptions or preparing an accepted management brief.
Native agent automation is another valid route
Snowflake also documents CoCo cloud automations: scheduled prompts run in Snowflake-managed environments, with inspectable run history. They can support recurring work beyond a fixed SQL statement.
Distinguish those cloud automations from local desktop automations, whose lifecycle depends on the local application and machine. Test the selected mode, available tools, identity and output path. Do not assume an automation created in one surface has the same operating conditions as another.
For a question that needs a fresh investigation each week, native agents may be a good starting point. For a settled reporting calculation, decide how much variability is appropriate. “Run this approved recipe again” and “investigate the latest situation” are different assignments, even when both send a Monday update.
The Snowflake AI analytics comparison covers native agents, Hex and Orion as broader product choices. This guide concentrates on making the recurring report reliable.
A late-order fixture that tests the reporting agreement
Consider a synthetic sales report for the UTC week from November 9 through November 15, 2026. The event window ends at November 16 at 00:00 UTC. The first delivery uses data available at 08:00 UTC that Monday.
| Order | Business event time, UTC | Available in the reporting source, UTC | Amount |
|---|---|---|---|
| A | November 15, 23:30 | November 16, 06:00 | $600 |
| B | November 15, 20:00 | November 16, 08:20 | $400 |
| C | November 16, 00:15 | November 16, 00:20 | $250 |
At the 08:00 cutoff, order A contributes $600. Order B belongs to the reporting week but is not yet available. Order C is available but belongs to the next week. The initial result is therefore $600, with known incompleteness if the ingestion check can identify it.
At a corrected 09:00 cutoff, orders A and B contribute $1,000. The extra $400 is a change in data availability, not evidence that sales grew between reporting periods. Comparing those two snapshots as business growth would tell the wrong story.
Use this fixture to decide the policy before launch. You might delay delivery until the upstream completeness check passes, send a clearly provisional report, or publish a corrected version with its new cutoff. The right choice depends on the operating review; silent replacement is the behavior to avoid.
Then test actual late arrivals and corrections in a representative production period. This small example checks the agreement's logic. It does not prove that a real ingestion pipeline exposes trustworthy completion metadata.
Where Orion can reduce the remaining work
Orion connects to Snowflake using a configured service user and key-pair authentication. Its connection guide describes the role, warehouse and grants an administrator must establish. Source permissions and recipient permissions need deliberate review; they are not automatically equivalent.
Use Orion when the remaining burden is analytical preparation: reconcile results, inspect the query and transformations, assemble the useful report and let colleagues investigate the evidence. Its Analysis Notebook exposes the work behind an answer.
After the analysis is accepted, Workflows, currently beta, can rerun it and deliver refreshed outputs. The creation guide describes a full dry run before saving. Verify that the notebook calculates the next reporting window correctly; a literal date that worked during the demonstration can be wrong on the next scheduled run.
If dbt owns the measure, demonstrate that execution route. Orion's Metrics Catalog documents a separate dbt Semantic Layer connection and metric import, with definitions and query execution retained in dbt. Metadata augmentation and direct warehouse SQL are different paths. Choose intentionally rather than treating every calculation over a dbt-built table as the approved metric.
A sensible proposal might retain a Snowflake Task that prepares the reporting table and use Orion for the accepted analytical brief. That is a proposed architecture to test, not a claim of a special task-to-Orion trigger or native import of Task definitions.
Accept the complete report, including the failure cases
Before switching off the manual process, test the whole chain using the actual audience. Confirm the event period, cutoff, calculation, source freshness and comparison baseline in the delivered artifact. Have a reviewer open the supporting analysis and ask one realistic follow-up.
Deliberately test a late source, failed query, rerun and restricted recipient. Record whether delivery should stop, show a limitation or send an exception to the owner. Test that decision; a successful normal run does not establish the failure behavior.
Include query compute, agent usage where applicable, review effort and maintenance in the operating estimate. Avoid comparing only the scheduler's price. If the existing native setup already produces the accepted report reliably, keep it.
For a broader operating example, see automating weekly executive reports. For an Orion working demo, bring one current report, its metric definition and the source cutoff. Ask to see that report reconciled, reviewed and rerun before expanding to more teams.
