Table of Content
Still need help?
Request support
Request Support
Help
 / 
 / 
Integrations
 / 

Google Sheets/Drive Integrations.

We can connect our Clappia apps to Google Drive so that all submissions get synced to Google Sheets and all images and files get synced to Google Drive in real-time. The connected Google Drive gets updated on the following events:

1. New Submissions
2. Submission edits
3. Status change
4. Submission deletes
5. Bulk upload of data

Help video

Here are the steps to connect Clappia apps to Google Drive:

1. Sign in to Clappia and select the app you wish to connect with to Google Drive. Go to the ‘Design App’ tab and click on ‘Configuration’.

Then click on the ‘Google Sheets/Drive’ button.

Google Sheets Integrations

2. On the right panel, enable the option and click on the button Connect with Google Sheets/Drive. This will take you to Google Account authentication.

Google Sheets Integrations
Google Sheets Integrations

3. You will get a Google Sign In prompt. Select your Google Account or and Sign-in to your Google Account.

Google Sheets Integrations

Click on allow. This will authorize Clappia to write data to the Google Drive and you are done.

Google Sheets Integrations


Note: In case you get an error message while connecting to Google Drive, try checking your browser settings or updating your browser.

4. Once connected successfully, the right panel will be updated with syncing options. You can click on Show Google Sheets and Show Google Drive Folders option to view the connected Sheet and Folder. 

Existing submissions of the app will get synced to Google Sheets and all submission events after this step will also update the Sheet in real-time. Any images or files data will be synced only for new submissions. Old image data cannot be back-filled.

Google Sheets Integrations

Sync Specific Fields

After connecting your app to Google Sheets or Drive, you have the flexibility to control which fields from your submissions are synced.

Google Sheets Integrations

In the right panel, under Columns Selected, click the dropdown. You will see a list of all fields currently available in your app's submissions.

Google Sheets Integrations

Deselect any fields you do not want to sync to your Google Sheet.

Google Sheets Integrations

Once you make your selections, click Save & Resync. A success message will appear confirming the changes.

Google Sheets Integrations

Only the selected fields will be visible in your connected Google Sheet.

Note:

  • If you add new fields to your app later, they will not automatically sync to your Google Sheet. You must manually select them in the Columns Selected list and save again.

  • If you deselect any fields, they will immediately be removed from the Google Sheet. If you want them back, simply reselect and save.

Sync Images and Other Files

Google Sheets Integrations

When your app submissions include files such as images, videos, or documents, Clappia can automatically upload these files to the connected Google Drive. This ensures that all file attachments from submissions are stored securely and are easy to access later.

After enabling Google Sheets/Drive integration, you can enable the “Sync Images and Other Files” option from the right panel. Once this option is turned on:

  • Every file attached to a submission (e.g., photos taken in the app or uploaded PDFs) will be uploaded to the Google Drive folder linked to your app.

  • New files will continue to sync in real-time for every new submission, along with the data updates in the connected Google Sheet.

  • Each file can be automatically organised by the submission it belongs to, making it easier to identify which files came from which records in the app (see Organise Files into Sub-Folders section). You can also leave the pathway as it is, which is {$app_id}, where all the files will reside in the main folder.

Note:

Files (images, videos, documents) are only pushed to Google Drive for new submissions made after the integration is enabled.

Submissions created before enabling this feature or during periods when the feature is disabled will not automatically sync their files to Google Drive.

Workaround:

You can manually download these files from the Submissions tab. Use filters (e.g., by submission date) to find the files corresponding to the time when Drive integration was disabled, then upload them manually to your Google Drive.

Sync Print Templates

Google Sheets Integrations

If your app generates PDF documents using print templates, you can enable Clappia to automatically save these PDFs to your connected Google Drive folder.

By enabling the “Sync Print Templates” option in the right panel:

  • A PDF copy of each print template generated for a submission will be stored in Google Drive, along with other synced data.
    This is useful for keeping a centralised archive of all generated PDFs, such as invoices, certificates, or reports, without manually downloading them.
  • Only the primary print template (if multiple are configured) will be synced to Google Drive.
  • The PDF files generated from print templates will also follow the same folder structure as defined in the File Path settings under Sync Images and Other Files (see Organise Files into Sub-Folders section).

Note:

PDFs from print templates are only pushed to Google Drive for new submissions made after enabling this feature. Older submissions will not sync their PDFs automatically. You can download them manually from the Submissions tab and upload them to Google Drive if needed.

Organise Files into Sub-Folders

Google Sheets Integrations

When submissions in your Clappia app include files (such as images, videos or PDFs from print template), these files are automatically stored in a Google Drive folder named after your app’s ID (e.g., AppID).

With the File Path setting, you can create a custom folder structure within this main AppID folder. This helps you organise files based on submission data instead of having all files stored in a single location.

How it works:

  • Default Behaviour: By default, all files are stored in a single folder:
    AppID/

  • Dynamic Folders: You can insert field variables (like dropdown values or text fields) into the folder path to automatically create sub-folders for each submission.

How to set it up:

  1. In the File Path field, {app_id} will appear by default, which means all files go to the main folder.

  2. By typing @ in the File Path field, you can choose any field variable (like country or state) to build your own folder hierarchy. You can get multiple folders to store corresponding images within the main AppID folder.

Example Scenario:

Google Sheets Integrations

If your app contains dropdown fields named Country and State, having same variable names, and you set the File Path as:

{$app_id}/{country}/{state}

Google Sheets Integrations
Google Sheets Integrations
Google Sheets Integrations

Then, a file uploaded by a user in the submission, selecting the dropdown named country as ‘India’ and state as ‘Karnataka’, will be saved like this:

AppID/India/Karnataka/

Google Sheets Integrations
Google Sheets Integrations

This approach is especially useful for apps that manage data from multiple regions, projects, or categories, as it keeps files neatly separated and easy to find.

Note on Subfolder Retention:

If you define a folder path using field variables (e.g., {$app_id}/{country}/{state}), Clappia creates subfolders inside the main AppID folder based on those field values.

If you later delete that field (e.g., state) from the app or remove it from the File Path, the corresponding subfolders and files will not be deleted automatically. These subfolders will remain in your Google Drive.

You can manually delete these subfolders if needed, but ensure you download or back up their files first to avoid data loss.

Resync Data

Google Sheets Integrations
  • If your connection to Google Drive gets interrupted or some submissions fail to sync, you can use the Resync button at the bottom of the panel.
  • Clicking Resync will refresh the sync and ensure your Google Sheet is updated based on the current data in your app.
  • The Resync option only updates submission data (Google Sheets). It does not resync files (images, videos, or documents) or print template PDFs that were missed or uploaded previously.

Key considerations

1.   Google Sheets can support up to a maximum of 5,000,000 cells. So if a Clappia App has 10 fields, then every app submission will occupy 10 cells and so up to 500,000 submissions will be accommodated in the Google Sheets. The number of supported submissions will keep reducing as the number of fields in the app increase.

2.   On disconnecting the Google Sheets once, the Sheet is deleted from the user's account and on connecting again, a new Sheet will be created. So it is not possible to pause the sync by disconnecting for some time and then connecting again.

3.   If there are any changes in the structure of the app, like field additions/removals, Google Sheets need to be disconnected and connected again. This is because the Header Row of the Sheet gets fixed on the initial connection and it never changes.

4.   If you want to create more sheets that have dependencies on the connected Sheet, it is advisable to do so in a separate Google Sheet, not as a sub-sheet of the connected Sheet. You can use the IMPORTRANGE function to do this. Otherwise you run into the risk of the entire sheet getting deleted if an App Admin disconnects the Google Sheet from the App.

5.   If you are having multiple print templates then only the first one will be synced to the Google Drive folder, as of now.

FAQs
Try our free plan
It will answer many more questions within just 15 minutes.