Skip to content

Create Google Forms Questions

Create Google Forms Questions lets you design the questions that will appear in a Google Form.
You can choose the type of question (multiple‑choice, short answer, etc.), set the title, add options, and decide whether a text question should be shown as a paragraph. The component prepares the data that can later be sent to Google Forms to actually create the form.

How it Works

The component collects all the information you provide in the input fields and builds a structured data object called FormsQuestionData.
No external API calls are made at this stage; the component simply organizes the data locally.
Later, another component in your workflow can take this data and use the Google Forms API to create or update a form.

Inputs

Mapping Mode

This component has a special mode called “Mapping Mode”. When you enable this mode using the toggle switch, an additional input called “Mapping Data” is activated, and each input field offers you three different ways to provide data:

  • Fixed: You type the value directly into the field.
  • Mapped: You connect the output of another component to use its result as the value.
  • Javascript: You write Javascript code to dynamically calculate the value.

This flexibility allows you to create more dynamic and connected workflows.

Input Fields

  • Choice Type: Select the type of answer options for a choice question (e.g., single choice, multiple choice, checkbox).
  • Headers Mode: Choose how to configure the options for a choice question: either use a predefined set of options or create them manually with individual fields.
  • Mapping Mode: Toggle this switch to enable batch processing of multiple data records.
  • Number of Headers: Specify how many header fields you want to add to the request.
  • Options: Provide a list of possible answers for a choice question.
  • Paragraph: Set this to true if you want a text question to be displayed as a paragraph instead of a single line.
  • Question Title: Enter the text that will appear as the question heading in the form.
  • Type of question: Choose the overall type of the question (e.g., textQuestion, choiceQuestion, etc.).

Outputs

  • Data: The component outputs a FormsQuestionData object that contains all the information needed to create a question in Google Forms. This output can be fed into another component that interacts with the Google Forms API.

Usage Example

  1. Drag the Create Google Forms Questions component onto your workflow canvas.
  2. Set Type of question to choiceQuestion.
  3. Set Question Title to “What is your favorite fruit?”.
  4. Set Choice Type to single choice.
  5. In Headers Mode, choose Predifined.
  6. In Options, list Apple, Banana, Orange, Grape.
  7. Leave Paragraph unchecked.
  8. Connect the Data output to a Google Forms Create Question component that actually sends the data to Google Forms.

The workflow will now generate a multiple‑choice question in your Google Form with the specified options.

  • Google Forms Create Question – Sends the prepared question data to Google Forms to create the question.
  • Google Forms Update Question – Updates an existing question in a Google Form.
  • Google Sheets Read – Reads data from a Google Sheet that can be mapped to the inputs of this component.

Tips and Best Practices

  • Use Mapping Mode when you need to generate many questions from a data source like a spreadsheet.
  • Keep Number of Headers consistent with the number of options you provide to avoid errors.
  • If you want a long text answer, set Paragraph to true so respondents can type more comfortably.
  • Test the component with a single question first before scaling up to batch processing.

Security Considerations

The component only prepares data locally; it does not send any information outside of your Nappai environment.
When you connect it to a component that calls the Google Forms API, ensure that your Google credentials are stored securely in Nappai’s credential manager.