Google Forms
The Google Forms package provides comprehensive automation capabilities for creating, managing, and collecting data from Google Forms. This package enables you to programmatically build surveys, quizzes, and data collection forms as part of your RPA workflows.
Overview
Google Forms is a powerful tool for collecting information through customizable surveys and questionnaires. With the Robomotion Google Forms package, you can automate the entire lifecycle of form management - from creation and question setup to response collection and analysis.
Key Features
- Form Creation: Create new Google Forms or Quizzes programmatically
- Question Management: Add open-ended (text) and closed-ended (multiple choice, checkbox, dropdown) questions
- Quiz Support: Build quizzes with correct answers and point values for grading
- Response Collection: Retrieve and process form responses automatically
- Form Modification: Update, delete, and manage form questions dynamically
- Form Access: Open and work with existing forms via URL
Common Use Cases
Automated Survey Creation
Create surveys for customer feedback, employee satisfaction, or market research automatically based on templates or data-driven requirements.
Quiz Generation
Build educational quizzes or assessment forms programmatically from question banks stored in spreadsheets or databases.
Event Registration
Generate registration forms for events, webinars, or conferences with custom questions based on event type.
Data Collection Workflows
Combine forms with other automation to collect, process, and analyze data - for example, create a feedback form after each customer interaction.
Dynamic Form Updates
Update form questions based on responses or external data, enabling adaptive surveys and questionnaires.
Authentication
The Google Forms package supports two authentication methods:
Service Account Authentication
Recommended for server-side automation. Provides programmatic access without user interaction.
OAuth2 User Authentication
Required when you need to access forms owned by specific user accounts. The package handles the OAuth2 flow automatically.
Available Nodes
📄️ Add Closed-Ended Question
Robomotion.GoogleForms.AddClosedEndedQuestion
📄️ Add Open-Ended Question
Robomotion.GoogleForms.AddOpenEndedQuestion
📄️ Create Form
Robomotion.GoogleForms.CreateForm
📄️ Delete Question
Robomotion.GoogleForms.DeleteQuestion
📄️ Get Form
Robomotion.GoogleForms.GetForm
📄️ Get Responses
Robomotion.GoogleForms.GetResponses
📄️ Open Form
Robomotion.GoogleForms.OpenForm
Getting Started
- Set up credentials: Configure Google Forms API credentials (Service Account or OAuth2)
- Create or Open a Form: Use CreateForm to create a new form or OpenForm to work with an existing one
- Add Questions: Use AddOpenEndedQuestion or AddClosedEndedQuestion to build your form
- Collect Responses: Use GetResponses to retrieve submitted answers
- Manage Form: Use GetForm, DeleteQuestion, and other nodes to maintain your forms
Tips for Success
- Always use OpenForm before working with an existing form - this establishes the connection needed for other nodes
- Use the form_id output from CreateForm or OpenForm to pass to subsequent nodes
- Question indexes are 1-based (first question is at index 1)
- For quizzes, set correct answers and point values when adding closed-ended questions
- Consider using GetForm periodically to verify form structure before making changes
Requirements
- Google Cloud Project with Forms API enabled
- Valid API credentials (Service Account JSON or OAuth2 client credentials)
- Appropriate permissions to create and modify forms in the target Google account