TinyForm and Google Sheets Integration
The Google Sheets add-on for TinyForm allows seamless connection and automatic data synchronization between TinyForm and multiple Google accounts. This integration ensures real-time data updates in Google Sheets, either in existing sheets or tabs, enhancing data management and automation.
Features of TinyForm Google Sheets Integration:
- Smooth Automation: Automatically send form data to your Google Sheets account upon form submission.
- Map Fields to Columns: Flexibly map TinyForm fields to any Google Sheets columns, regardless of their order.
- Granular Configuration: Specify the exact spreadsheet and worksheet (tab) where data should be saved.
- Avoid Duplicates: Ensure data uniqueness by setting up checks for unique fields, like email addresses.
- Selective Data Storage: Choose specific columns in your sheet to store the data you need.
- Conditional Logic: Implement conditional logic to control data entry based on specific conditions or opt-ins.
Setting Up Google API Console Project and OAuth Client:
- Visit the Google Developer Console and create a new project.
- Go to the 'Library' side menu, search for 'Google Sheets API', open it, and click 'Enable'.
- Similarly, search for 'Google Drive API', open it, and click 'Enable'.
- Navigate to the 'OAuth consent screen', input your application name, add 'example.com' in 'Authorized domains', then click 'Save'.
- In 'Credentials', click 'Create Credentials', select 'OAuth Client ID', choose 'Web application' as the application type, and click 'Create'.
- Enter a name, save 'https://example.com/addons/admin/authorized' in 'Authorized redirect URIs', and click 'Create'.
- Copy the 'Client ID' and 'Client Secret' from the newly created application.
- If you encounter an 'App is not verified' error, click 'show advanced' and proceed to the app.
- Navigate to TinyForm > Add-Ons > Google Sheets > Global Settings.
- Paste the 'Client ID' and 'Client Secret' and click 'Save'.
- Note: Replace 'example.com' with your actual domain name.
Setting Up a Form with Google Sheets:
- Go to the Add-ons Manager in TinyForm and select 'Google Sheets'.
- Click 'Set Up a Form' and then 'Authenticate'. You'll be redirected to Google's consent page.
- Log in with your Google email and password, then grant access by clicking 'Allow Access'. You'll return to the 'Create Sign Up Form' page.
- Configure the import form:
- Name: Give this integration a unique name for identification.
- Form: Choose the TinyForm to integrate.
- Spreadsheet: Select the desired Google Spreadsheet.
- Sheet: Select the specific Google Sheet.
- Event: Determine the event that triggers data storage in Google Sheets (e.g., 'Form is submitted').
- Status: Enable or disable this configuration without losing information.
- Conditions: Apply filters to manage entries based on their values.
- Map Fields: Pair TinyForm fields with Google Sheet columns.
- Form Field: Select the field from TinyForm.
- Sheet Column: Choose the corresponding column in Google Sheets.
- Click 'Save'.
Once set up, submissions from the selected TinyForm will automatically populate the designated Google Sheet with the specified data, ensuring a smooth and automated data flow.