Docs > AI Tools > Apps Script Generator
Apps Script Generator
Generate Google Apps Script code for automating Sheets, Docs, Forms, and Gmail. Includes trigger setup guidance.
Send an email when a new row is added to the sheet
function onEdit(e) { MailApp.sendEmail(to, subject, body); }
Examples
Create PDF from sheet →
function exportPDF() { DriveApp... Sync two sheets →
function syncSheets() { SpreadsheetApp... 1 credit per generation. Included in all plans.
Was this helpful?