Create Form
Creates a new Google Form or Quiz.
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
- Title - The title for the new Google Form or Quiz.
Options
- Credentials - The Google Forms API credentials used to authenticate with the service.
- Type - The type of document to create:
- Form - A standard Google Form for collecting responses
- Quiz - A Google Form with grading capabilities
Output
- form_id - The unique identifier of the newly created form.
How It Works
The Create Form node creates a new Google Form or Quiz. When executed, the node:
- Validates the required input (Title)
- Retrieves the Google Forms API credentials
- Validates the form type selection
- Uses the Google Forms API to create a new form with the specified title and type
- Returns the ID of the newly created form
Requirements
- Valid Google Forms API credentials
- Appropriate permissions to create forms
- Valid form title
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Title
- Invalid or missing Credentials
- Invalid Type selection
- Google Forms API errors during form creation
- Insufficient permissions to create forms
Usage Notes
- The form will be created with the specified title
- Forms and Quizzes are similar, but Quizzes have additional grading features
- The returned form_id can be used with other Google Forms nodes to modify the form
- The form will be created in the Google Drive account associated with the credentials
- Newly created forms are initially empty and require additional nodes to add questions