Prepare the images
Images are organised in Google Drive according to the agreed workflow structure so they are ready for automated processing.
Workflow automation · Google Workspace
A Google Apps Script solution that processes image folders, places the images into the correct Google Sheets destination, and archives completed batches automatically.
Overview
The original process required images to be organised and transferred manually into an existing reporting workbook. The automation was designed around the client's existing Google Drive and Google Sheets setup, allowing the working process to remain familiar while removing repetitive file handling.
The script identifies the correct destination for each image set and adapts to the current workbook structure. Where required, it prepares the necessary destination automatically before continuing the image-loading process.
Workflow
The user prepares the image files and starts the script. The remaining matching, destination preparation, image insertion, and archiving steps are automated.
Images are organised in Google Drive according to the agreed workflow structure so they are ready for automated processing.
The script identifies the appropriate destination in the workbook and uses the existing structure when it is already available.
Images are inserted into the designated image area and continue from the next available position without overwriting previously added content.
After successful processing, the completed image batch is moved automatically into the designated archive location.
Automation logic
The workflow does more than copy files. It checks the workbook state first and chooses the appropriate action before processing each image set.
When the required destination already exists, the automation locates the correct image area and continues from the next available position.
If the required destination is missing, the script creates it from the approved workbook structure before loading the images.
Images are inserted directly into Google Sheets using a consistent method that allows future runs to continue from the next available position.
Image files are sorted before insertion so the final output follows a predictable sequence rather than the order returned by Google Drive.
Reliability
The automation validates the expected file structure, workbook state, insertion location, and supported image content before completing each batch.
When a required destination is missing, it is created from the approved workbook structure instead of generating an untested layout from scratch.
The script validates the designated image area before inserting content, helping prevent files from being placed in the wrong part of the workbook.
The workflow only processes JPG and PNG files, while non-image files encountered by the script are skipped and recorded in the execution log.
At the end of the process, the user receives a summary of completed batches, inserted images, and any new destinations created during the run.
Outcome
The finished workflow turns a multi-step manual task into a controlled process that can be launched directly from the client's Google Sheets environment.
Multiple image batches can be processed in one run instead of repeating the same manual image-placement steps again and again.
Any new destinations follow the same approved workbook structure, helping keep the final output consistent.
Processed files are archived and the final report confirms what the automation completed during the run.
Client feedback
"Before Simona built this solution, uploading and organising images was a repetitive manual task that could take up to two hours every day. The workflow she created made the whole process much faster and more efficient, removing a lot of unnecessary manual work.
It has saved valuable time, improved the way information is organised, and allowed me to focus on other important tasks instead of spending hours on routine updates."