← Google Forms + Data Stores integrations

Get all records with Data Stores API on New Form Answer Update from Google Forms API

Pipedream makes it easy to connect APIs for Data Stores, Google Forms and 1,600+ other apps remarkably fast.

Trigger workflow on
New Form Answer Update from the Google Forms API
Next, do this
Get all records with the Data Stores API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Google Forms trigger and Data Stores action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Form Answer Update trigger
    1. Connect your Google Forms account
    2. Configure timer
    3. Configure Form ID
  3. Configure the Get all records action
    1. Connect your Data Stores account
    2. Configure Data Store
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are 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.

Trigger

Description:Emit a new event when an answer is sent or updated. [See the documentation](https://developers.google.com/forms/api/reference/rest/v1/forms.responses/list)
Version:0.0.1
Key:google_forms-new-form-answer-update

Trigger Code

import base from "../common/base.mjs";

export default {
  ...base,
  key: "google_forms-new-form-answer-update",
  name: "New Form Answer Update",
  description: "Emit a new event when an answer is sent or updated. [See the documentation](https://developers.google.com/forms/api/reference/rest/v1/forms.responses/list)",
  version: "0.0.1",
  dedupe: "last",
  type: "source",
  methods: {
    ...base.methods,
    generateMeta(response) {
      console.log(response);
      return {
        id: new Date(response.lastSubmittedTime).getTime(),
        summary: "New Answer Update",
      };
    },
  },
  async run({ $ }) {
    const lastSubmittedTime = this.getLastSubmittedTime();
    const { responses } = await this.googleForms.listFormResponses({
      formId: this.formId,
      $,
      params: {
        filter: lastSubmittedTime && `timestamp >= ${lastSubmittedTime}`,
      },
    });
    if (!responses || !Array.isArray(responses)) {
      return;
    }
    const responseSorted = this.sortResponses(responses);
    this.setLastSubmittedTime(
      responseSorted.length && responseSorted[0].lastSubmittedTime,
    );
    this.emitResponses(responseSorted.reverse());
  },
};

Trigger Configuration

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.
LabelPropTypeDescription
Google FormsgoogleFormsappThis component uses the Google Forms app.
timer$.interface.timer
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Form IDformIdstring

Identifier of a Google Form

Trigger Authentication

Google Forms uses OAuth authentication. When you connect your Google Forms account, Pipedream will open a popup window where you can sign into Google Forms and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Forms API.

Pipedream requests the following authorization scopes when you connect your account:

emailprofilehttps://www.googleapis.com/auth/forms.bodyhttps://www.googleapis.com/auth/forms.body.readonlyhttps://www.googleapis.com/auth/forms.responses.readonly

About Google Forms

Get insights quickly, with Google Forms. Easily create and share online forms and surveys, and analyze responses in real-time.

Action

Description:Get all records in your [Pipedream Data Store](https://pipedream.com/data-stores/). The memory consumption of the workflow can be affected, since this action will be exposing, to the workflow, the entire data from the selected datastore.
Version:0.0.2
Key:data_stores-get-all-records

Data Stores Overview

With the Data Stores API, you can build applications that:

  • Store data for later retrieval
  • Retrieve data from a store
  • Update data in a store
  • Delete data from a store

Action Code

import app from "../../data_stores.app.mjs";

export default {
  key: "data_stores-get-all-records",
  name: "Get all records",
  description: "Get all records in your [Pipedream Data Store](https://pipedream.com/data-stores/). The memory consumption of the workflow can be affected, since this action will be exposing, to the workflow, the entire data from the selected datastore.",
  version: "0.0.2",
  type: "action",
  props: {
    app,
    dataStore: {
      propDefinition: [
        app,
        "dataStore",
      ],
    },
  },
  async run({ $ }) {
    const { dataStore } = this;
    const keys = await dataStore.keys();
    const promises = [];
    for (const key of keys) {
      promises.push(dataStore.get(key));
    }
    const arrData = await Promise.all(promises);
    const objData = {};
    for (let i = 0; i < keys.length; i++) {
      objData[keys[i]] = arrData[i];
    }
    $.export("$summary", `Successfully returned ${keys.length} keys.`);
    return objData;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Data StoresappappThis component uses the Data Stores app.
Data StoredataStoredata_store

Select an existing Data Store or create a new one.

Action Authentication

The Data Stores API does not require authentication.

About Data Stores

Use Pipedream Data Stores to manage state throughout your workflows.

More Ways to Connect Data Stores + Google Forms

Add or update multiple records with Data Stores API on New Form Answer Update from Google Forms API
Google Forms + Data Stores
 
Try it
Add or update a single record with Data Stores API on New Form Answer Update from Google Forms API
Google Forms + Data Stores
 
Try it
Append to record with Data Stores API on New Form Answer Update from Google Forms API
Google Forms + Data Stores
 
Try it
Delete All Records with Data Stores API on New Form Answer Update from Google Forms API
Google Forms + Data Stores
 
Try it
Delete a single record with Data Stores API on New Form Answer Update from Google Forms API
Google Forms + Data Stores
 
Try it
New Form Answer from the Google Forms API

Emit a new event when the form is answered. See the documentation

 
Try it
New Form Answer Update from the Google Forms API

Emit a new event when an answer is sent or updated. See the documentation

 
Try it
Create Form with the Google Forms API

Creates a new Google Form. See the documentation

 
Try it
Create Text Question with the Google Forms API

Creates a new text question in a Google Form. See the documentation

 
Try it
Get Form with the Google Forms API

Get information about a Google Form. See the documentation

 
Try it
Get Form Response with the Google Forms API

Get a response from a form. See the documentation

 
Try it
List Form Responses with the Google Forms API

List a form's responses. See the documentation

 
Try it

Explore Other Apps

1
-
12
of
1,600+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
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.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
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
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
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.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
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.