/

Snowflake

Warehouse connector

Snowflake

Run Snowflake queries as steps in a Tessel workflow and get typed rows back. Use them to decide what happens next, then write results to a staging schema you control.

Connect Snowflake
Connect Snowflake
See setup steps
See setup steps

Warehouse

Category

Batch

Sync mode

p95 4.1 s

Latency

8 min

Setup time

What it can do

Triggers · 2
  • Scheduled query returned rowsPoll
  • Table stream has new rowsPoll
Actions · 3
  • Run a queryQuery
  • Write rows to stagingBatch
  • Call a stored procedureWrite

Overview

The Snowflake connector runs SQL on a warehouse you choose and returns typed rows to the workflow. Queries can start runs on a schedule, read a table stream for new rows or run mid-workflow as a lookup, and every query shows up in the trace of its run.

Teams use it to flag accounts in Salesforce when usage drops, to reconcile Stripe payouts against the ledger and to write model scores back for Databricks jobs to pick up.

Supported editions

  • Standard, Enterprise and Business Critical, on AWS, Azure or Google Cloud

  • Key-pair authentication for a service user, or OAuth

  • AWS PrivateLink and Azure Private Link on Business Critical

How batch queries work

Tessel sends each query through the Snowflake SQL API with a query tag, so you can find it in query history. Results come back in pages and are checked against the expected columns. Writes are staged and loaded with COPY INTO, so a retry never loads the same batch twice.

CREATE ROLE tessel_role;
CREATE WAREHOUSE tessel_wh
  WAREHOUSE_SIZE = XSMALL AUTO_SUSPEND = 60;
GRANT USAGE ON WAREHOUSE tessel_wh TO ROLE tessel_role;
GRANT USAGE ON DATABASE analytics TO ROLE tessel_role;
GRANT SELECT ON ALL TABLES IN SCHEMA analytics.marts TO ROLE tessel_role;
GRANT ALL ON SCHEMA analytics.tessel_staging TO ROLE tessel_role;
CREATE ROLE tessel_role;
CREATE WAREHOUSE tessel_wh
  WAREHOUSE_SIZE = XSMALL AUTO_SUSPEND = 60;
GRANT USAGE ON WAREHOUSE tessel_wh TO ROLE tessel_role;
GRANT USAGE ON DATABASE analytics TO ROLE tessel_role;
GRANT SELECT ON ALL TABLES IN SCHEMA analytics.marts TO ROLE tessel_role;
GRANT ALL ON SCHEMA analytics.tessel_staging TO ROLE tessel_role;
CREATE ROLE tessel_role;
CREATE WAREHOUSE tessel_wh
  WAREHOUSE_SIZE = XSMALL AUTO_SUSPEND = 60;
GRANT USAGE ON WAREHOUSE tessel_wh TO ROLE tessel_role;
GRANT USAGE ON DATABASE analytics TO ROLE tessel_role;
GRANT SELECT ON ALL TABLES IN SCHEMA analytics.marts TO ROLE tessel_role;
GRANT ALL ON SCHEMA analytics.tessel_staging TO ROLE tessel_role;

Cost

Give Tessel its own extra-small warehouse with a short auto-suspend, so it only bills while a query runs. Each step can set a statement timeout, and the trace shows the credits each query used.

Permissions needed

Create a service user with key-pair authentication and a dedicated role. It needs read access to the schemas workflows query and write access to one staging schema only.

  • USAGE on the warehouse, database and schemas

  • SELECT on the tables and views workflows read

  • CREATE TABLE and INSERT on the staging schema only

Setup

Five steps. About eight minutes.

Most of the time goes into the key pair. Tessel runs a test query on the warehouse before you finish.

  1. Create a role and an extra-small warehouseSnowflake2 min
  2. Create a service user with a key pairSnowflake3 min
  3. Add Tessel's static IPs to a network policyNetwork1 min
  4. Paste the account identifier and pick schemasTessel2 min
  5. Run a test query and check the resultVerify4.1 s

Your warehouse, in a workflow today.

Connect Snowflake on the free plan. Up to three builders and 10,000 runs a month, no card required.

Connect Snowflake
Connect Snowflake
All integrations
All integrations

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

Create a free website with Framer, the website builder loved by startups, designers and agencies.