← Snowflake

Insert Multiple Rows with Snowflake API

Pipedream makes it easy to connect APIs for Snowflake and 1400+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Insert Multiple Rows with the Snowflake API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Insert Multiple Rows with the Snowflake API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Insert Multiple Rows action
    1. Connect your Snowflake account
    2. Select a Table Name
    3. Select one or more Columns
    4. Configure Row Values
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger


Insert Multiple Rows with Snowflake API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Snowflake
Try it
Insert Multiple Rows with Snowflake API on New Submission from Typeform API
Typeform + Snowflake
Try it
Insert Multiple Rows with Snowflake API on Custom Events from Zoom API
Zoom + Snowflake
Try it
Insert Multiple Rows with Snowflake API on New Submission (Instant) from Jotform API
Jotform + Snowflake
Try it
Insert Multiple Rows with Snowflake API on New Custom Webhook Events from Stripe API
Stripe + Snowflake
Try it


This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Insert Multiple Rows on Snowflake
Description:Insert multiple rows into a table


import snowflake from "../../snowflake.app.mjs";
import { ConfigurationError } from "@pipedream/platform";

export default {
  type: "action",
  key: "snowflake-insert-multiple-rows",
  name: "Insert Multiple Rows",
  description: "Insert multiple rows into a table",
  version: "0.0.6",
  props: {
    tableName: {
      propDefinition: [
      description: "The table where you want to add rows",
    columns: {
      propDefinition: [
        (c) => ({
          tableName: c.tableName,
    values: {
      propDefinition: [
  async run({ $ }) {
    let rows = this.values;

    let inputValidated = true;

    if (!Array.isArray(rows)) {
      rows = JSON.parse(this.rows);

    if (!rows || !rows.length || !Array.isArray(rows)) {
      inputValidated = false;
    } else {
      rows.forEach((row) => { if (!Array.isArray(row)) { inputValidated = false; } });

    // Throw an error if input validation failed
    if (!inputValidated) {
      throw new ConfigurationError("The row data you passed is not an array of arrays. Please enter an array of arrays in the `Values` parameter above. If you're trying to add a single row to Snowflake, select the **Insert Single Row** action.");

    const response = await this.snowflake.insertRows(this.tableName, this.columns, this.values);
    $.export("$summary", `Successfully inserted ${this.values.length} rows in ${this.tableName}`);
    return response;


This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
SnowflakesnowflakeappThis component uses the Snowflake app.
Table NametableNamestringSelect a value from the drop down menu.
Columnscolumnsstring[]Select a value from the drop down menu.
Row Valuesvaluesstring

Provide an array of arrays. Each nested array should represent a row, with each element of the nested array representing a value (e.g., passing [["Foo",1,2],["Bar",3,4]] will insert two rows of data with three columns each). The most common pattern is to reference an array of arrays exported by a previous step (e.g., {{steps.foo.$return_value}}). You may also enter or construct a string that will JSON.parse() to an array of arrays.


Snowflake uses API keys for authentication. When you connect your Snowflake account, Pipedream securely stores the keys so you can easily authenticate to Snowflake APIs in both code and no-code steps.

Snowflake recommends you create a new user, role, and warehouse when you integrate a third-party tool like Pipedream. This way, you can control permissions via the user / role, and separate Pipedream compute and costs with the warehouse. You can do this directly in the Snowflake UI.

We recommend you create a read-only account if you only need to query Snowflake. If you need to insert data into Snowflake, add permissions on the appropriate objects after you create your user.

Enter the username, password, and other details below. The account field expects your Snowflake account identifier. You may need to include the full identifier and region as a part of this string, e.g. au12345.us-east-1. Please consult your instance and Snowflake docs for more detail.

About Snowflake

A data warehouse built for the cloud

More Ways to Use Snowflake


New Row from the Snowflake API

Emit new event when a row is added to a table

Try it
New Query Results from the Snowflake API

Run a SQL query on a schedule, triggering a workflow for each row of results

Try it
Failed Task in Schema from the Snowflake API

Emit new events when a task fails in a database schema

Try it
New Database from the Snowflake API

Emit new event when a database is created

Try it
New Deleted Role from the Snowflake API

Emit new event when a role is deleted

Try it


Insert Single Row with the Snowflake API

Insert a row into a table

Try it

Explore Other Apps

apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Trigger workflows on an interval or cron schedule.
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.