Add Open-Ended Question
Adds an open-ended question (short answer or paragraph) to a Google Form.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Form Id - The unique identifier of the Google Form to which the question should be added.
- Question Title - The title or text of the question to be added.
- Index - The position (1-based) where the question should be inserted in the form.
Options
- Required - If enabled, respondents must answer this question before submitting the form.
- Type - The type of open-ended question:
- Short Answer - Single line text input
- Paragraph - Multi-line text input
How It Works
The Add Open-Ended Question node inserts a new open-ended question into an existing Google Form. When executed, the node:
- Validates the required inputs (Form Id, Question Title, and Index)
- Retrieves the Google Form using the provided Form Id
- Validates the index position (must be greater than 0)
- Constructs a request to create a new item with the specified question properties
- Uses the Google Forms API to insert the question at the specified index position
- The form is updated with the new question
Requirements
- A valid Google Forms form ID
- Appropriate permissions to modify the form
- Valid question title
- Valid index position (must be greater than 0)
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Form Id
- Empty or invalid Question Title
- Empty or invalid Index
- Invalid Index value (0 or negative)
- Invalid Type selection
- Google Forms API errors during question creation
- Insufficient permissions to modify the form
Usage Notes
- The Index is 1-based, meaning position 1 is the first question in the form
- Short Answer questions allow for single-line text responses
- Paragraph questions allow for multi-line text responses
- The question will be inserted at the specified position, shifting existing questions to the right
- Open-ended questions allow respondents to provide free-form text answers