To create virtual machine (VM) instances programmatically using Google Sheets, you can link a Google Sheets spreadsheet to a Google Form. The form can collect responses, such as machine name, zone, type, disk size, and operating system. By using Google Apps Script, you can trigger a workflow whenever a request is approved through an update to the spreadsheet. The workflow can call the Compute Engine API connector to create the VM instance based on the form responses.