Skip to content

API data exchange from an external SaaS application to several Google Sheets

The team needed data from a SaaS application in several Google Sheets. Apps Script fetches it via REST API, caches the queries and fills the sheets.

LaravelAPIGoogle SheetsEmployee portalPrototyping

The team needed the data from an external SaaS application in several Google Sheets, structured and up to date, to use it for various analyses and reports. A data integration built by Unique-P therefore connects the application to Google Sheets via its REST API: it collects the data automatically, structures it and keeps the sheets current. Custom “Apps Script” functions in Google Sheets ensure optimal integration and performance. After the handover and training, the customer’s development team can develop the solution further on its own.

Features of the Google Sheets integration in detail

Google Apps Script for the REST API integration

The data integration uses Google Apps Script to retrieve data via the external application’s REST API and process it directly in Google Sheets.

Apps Script made it possible to develop flexible and scalable scripts for data processing and presentation, tailored specifically to the requirements of the SaaS application.

Caching for faster load times and efficient testing

All read requests to the SaaS application’s REST API are cached heavily, to allow fast, smooth development and to minimize load times during the testing phases.

Caching the REST API requests reduces the number of API calls and improves performance. Load times for users drop significantly, and the API can be used cost-effectively without hitting rate limits.

Automated creation and filling of Google Sheets

Several Google Sheets are created automatically and filled with the data from the SaaS application. This reduces manual effort and ensures consistent, up-to-date information across the various sheets.

Automated filling from the REST API ensures that the information is always current and that the data is transferred to the corresponding Google Sheets without delay.

Reusable Apps Script solutions

The Apps Script functions are modular and can be reused in several Google Sheets. This increases efficiency, and the solution can be applied flexibly to different sheets and data requirements.

Prototyping with Laravel for requirements analysis

A prototype was developed as a Laravel application to show the exact requirements and possibilities of the data integration with Google Sheets. The “show, don’t tell” approach helped clarify complex requirements visually and functionally and align the final design with the customer’s expectations.

Support for the customer’s development team

After the Google Sheets integration was completed, there was a thorough handover and training for the development team on the customer’s side. This ensured that the team understands the solution and can develop it further on its own when needed.

Technologies in this project

Related serviceWeb application development with Laravel & TYPO3