View as Markdown
Google Forms icon

Google Forms ACTION

Create Text Question

Creates a new text question in a Google Form. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Forms account once, then configure and run Create Text Question from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_forms-create-text-question",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_forms: { authProvisionId: "apn_xxxxxxx" },
    formId: "Form ID",
    title: "Title",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Text Question inputs
Property Type Description
formId Form ID string
Identifier of a Google Form
Required
title Title string
Title of the question
Required
description Description string
Description of the question
Required
index Index integer
The index of an item in the form. This must be in the range [0..N), where N is the number of items in the form.
Required
paragraph Paragraph boolean
Whether the question is a paragraph question or not. If not, the question is a short text question.
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
google_forms-create-text-question
Version
0.0.2
App
Google Forms
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes