If you’re about to hand a Google Apps Script project to a colleague, a new developer, or a client, the biggest worry is losing access or breaking the automation that already runs for your business. The solution is a clear, ordered handover that covers ownership, permissions, trigger migration, and deployment settings.
Why a Structured Handover Matters
Google Apps Script lives inside a Google Workspace account. When the owner’s account is changed, any installed triggers (time‑driven, form‑submit, on‑edit, etc.) and web‑app deployments keep pointing to the original user. If the original owner leaves the company or disables the account, the script stops working. A proper handover prevents downtime, protects data, and keeps audit trails intact.
Prerequisites Before You Start
- Identify the current owner – the Google account that created the script.
- Gather all related files – the bound spreadsheet, any external libraries, and the script project itself.
- Document existing triggers – open Triggers in the Apps Script editor and note type, function name, and schedule.
- Confirm deployment URLs – if the script is published as a web app, copy the Current web app URL and the Version number.
- Set up the receiving account – the new owner must have a Google Workspace (or Gmail) account with edit access to the spreadsheet and any other resources.
Step‑by‑Step Handover Process
- Share the script project
Open the script editor, click the three‑dot menu ► Share, and add the new owner’s email with Editor rights. This gives them full access to the code.
- Transfer file ownership
In Google Drive, locate the bound spreadsheet (or standalone script file). Right‑click ► Share ► Advanced ► Make owner and select the new account. Ownership of the container file is essential because Apps Script inherits the file’s permissions.
- Recreate installed triggers
The new owner opens the script, goes to Edit ► Current project's triggers, and clicks Add Trigger for each entry noted earlier. Choose the same function, event source, and schedule. Once recreated, the old triggers can be deleted by the former owner.
- Publish a new web‑app version (if applicable)
If the script is used as a web app, the new owner must create a fresh deployment:
- Open Deploy ► New deployment.
- Select Web app as the type.
- Set Execute the app as to Me (new owner).
- Choose Who has access (e.g., Anyone, Anyone with Google account, or Specific users) based on the original setting.
- Click Deploy and copy the new URL.
Update any external integrations (e.g., forms, email templates) with the new URL, then delete the old deployment.
- Update OAuth scopes and API access
If the script uses Google APIs (Sheets, Drive, Gmail, etc.), the new owner must re‑authorize the script. Open the script, run any function, and follow the consent screen. This step also refreshes the OAuth token tied to the new account.
- Verify data access permissions
Check that the new owner can read/write all required files. For shared drives, ensure they have at least Content manager rights. For external services (e.g., third‑party APIs), confirm that API keys are stored in the script’s Properties Service and that the new owner can view them.
- Test end‑to‑end
Run a quick test that covers every trigger type and the web‑app endpoint. Confirm that data updates appear in the spreadsheet and that emails (if any) are sent.
- Document the handover
Create a short handover note (Google Doc or plain text) that lists:
- Project name and purpose
- Current owner and new owner emails
- Trigger table (type, function, schedule)
- Web‑app URLs (old & new)
- Any external API keys or service accounts
- Location of logs (Stackdriver, Execution transcript)
Store this document in a shared folder for future reference.
- Remove former owner’s access (optional)
Once the new owner confirms everything works, the previous owner can be removed from the file’s sharing list. Keep a backup copy of the script in a separate Drive folder before revoking access, just in case.
Realistic Example: Order‑Tracking Script for a Small Retailer
Ali runs a boutique that sells handmade accessories. He built a Google Apps Script that:
- Copies new rows from a Google Form response sheet into an “Orders” sheet.
- Sends a confirmation email to the buyer.
- Creates a calendar event for the expected shipping date.
Ali is moving to a new manager, Sara, who will take over the automation. Here’s how the handover looks in practice:
- Ali shares the script project with Sara’s Gmail address.
- In Drive, Ali makes Sara the owner of the “Order Tracker” spreadsheet.
- Ali notes three triggers: a Form submit trigger on onFormSubmit, a Time‑driven trigger that runs sendReminder daily at 9 am, and a On edit trigger for updateStatus.
- Sara recreates those triggers in the script editor.
- The script is also published as a web app that the sales team uses to pull order data. Sara creates a new deployment, sets “Execute as me,” and shares the new URL with the team.
- Both run a test submission in the form. The order appears in the sheet, the email arrives, and the calendar event is created – confirming the handover succeeded.
Common Mistakes and How to Fix Them
- Forgetting to transfer spreadsheet ownership – Triggers keep running, but the script may lose permission to edit the sheet. Fix: Change ownership in Drive before recreating triggers.
- Leaving old triggers active – Duplicate triggers cause duplicate emails or double entries. Fix: Delete the former owner’s triggers after the new ones are verified.
- Using the old web‑app URL – Users see a “Permission denied” error. Fix: Update every place the URL is referenced (email templates, internal docs).
- Missing OAuth re‑authorization – API calls fail with “You do not have permission.” Fix: Run any function manually to trigger the consent flow for the new owner.
- Over‑sharing the script – Giving “Viewer” rights to a contractor who needs to edit. Fix: Assign the correct role (Editor) and remove unnecessary collaborators.
Handover Checklist
- Share script project with new owner (Editor).
- Make new owner the file (Spreadsheet/Doc) owner in Drive.
- Document all installed triggers (type, function, schedule).
- Recreate triggers under the new owner’s account.
- Publish a new web‑app version if the script is a web app.
- Update any external URLs or API keys.
- Run a full test of each automation path.
- Write a handover summary document and store it in a shared folder.
- Remove the former owner’s access only after confirming everything works.
When to Seek Professional Help
If the project uses advanced services (Google Cloud APIs, OAuth client IDs, or external databases), or if the handover must happen quickly to avoid business interruption, consider hiring a developer familiar with Apps Script. A professional can audit the code, ensure proper error handling, and set up a backup deployment strategy.
Conclusion
A careful handover protects your automation, your data, and your team’s productivity. By following the checklist above—sharing the project, transferring ownership, recreating triggers, redeploying the web app, and testing end‑to‑end—you can move a Google Apps Script project with confidence.
Ready to see a ready‑made solution? View the Apps Script ecommerce source‑code package. Need help deploying or customizing the workflow? Ask us about deployment or custom workflow support.