Snowflake
Run SQL queries against Snowflake data warehouses. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
14 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Run QueryExecute a SQL query against your Snowflake database and return the results as rows.
runQuery - Create / Refresh Dynamic TableCreate or replace a Snowflake Dynamic Table that automatically refreshes based on a query. Dynamic Tables are a declarative way to define a table whose content is derived from a query, updated on a schedule.
create_dynamic_table - Delete RowDelete one or more rows from a Snowflake table that match a WHERE condition.
delete_row - Execute Stored ProcedureCall a stored procedure in Snowflake and return its result.
execute_stored_procedure - Get Row by IDRetrieve a single row from a Snowflake table by matching a column value.
get_row_by_id - Get Table SchemaRetrieve the column definitions (name, data type, nullability, default) for a Snowflake table.
get_table_schema - Insert Multiple RowsInsert multiple rows into a Snowflake table in a single operation.
insert_multiple_rows - Insert RowInsert a row into a table.
insert-row - List TablesList all tables in a Snowflake schema.
list_tables - Load Data from StageLoad data into a Snowflake table from a named internal or external stage using COPY INTO.
load_data_from_stage - Run Multiple QueriesExecute multiple SQL statements in sequence against your Snowflake database. Optionally wrap them in a transaction so all changes are rolled back if any statement fails.
runMultipleQueries - Search RowsSearch for rows in a Snowflake table using an optional WHERE condition, ordering, and row limit.
search_rows
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Snowflake. To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
Fill in the fields the provider needs (listed below). They are stored encrypted in the vault.
- Account Snowflake account identifier (e.g. xy12345.us-east-1)
- Username Snowflake login username
- Password Snowflake login password
- Database Default database to use
- Warehouse Compute warehouse to use
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("snowflake", "runQuery", { "sqlText": "<sql query>" }); if (!res.success) throw new Error(res.error); ctx.log.info("Snowflake answered", { output: res.output }); }
More in Data and storage
Snowflake and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.