Generates production-ready Google Apps Scripts with triggers, UI, and best practices.
Create a Google Apps Script that [DESCRIBE FUNCTIONALITY]. The script should: 1. **Core Logic**: - Implement the main functionality with clear function decomposition - Handle Google Workspace API calls (Sheets, Docs, Drive, Gmail, Calendar as needed) - Include proper error handling with try-catch blocks and user-friendly error messages 2. **Triggers and Automation**: - Set up appropriate triggers (onOpen, onEdit, time-driven, form submit) - Include installable trigger setup function - Handle trigger authorization properly 3. **User Interface**: - Create custom menu items in the Google app - Build sidebar or dialog UI with HTML Service if needed - Include loading spinners and success/error notifications 4. **Data Handling**: - Batch operations for efficiency (getValues/setValues instead of cell-by-cell) - PropertiesService for configuration storage - CacheService for frequently accessed data - Proper handling of sheet data types (dates, numbers, strings) 5. **Best Practices**: - Stay within Apps Script quotas (6 min execution, API rate limits) - Use LockService for concurrent access - Add JSDoc comments for all functions - Include a README section as comments at the top Provide the complete script ready to paste into Apps Script editor.
Replace the description placeholder with your automation need. Copy output to Apps Script editor.
Use Gemini's Google Search grounding to provide factual, up-to-date answers with source citations. Reduces hallucination by anchoring responses in real search results.
Expert coding assistance for Google Cloud Platform services. Covers Cloud Functions, BigQuery, Firestore, Cloud Run, and GCP-native architectures using Gemini Code Assist.
Automate Google Docs, Sheets, Slides, and Gmail workflows using Gemini's native Google Workspace integration. Templates for common business automation.
Leverage Gemini's 1M+ token context window for processing long documents, PDFs, and multimodal content. Extracts, summarizes, and cross-references across large document sets.
Activates Gemini Deep Research for thorough multi-source topic analysis with citations.
Creates a complete interactive web app within Gemini Canvas with responsive design and accessibility.
Workflows from the Neura Market marketplace related to this Gemini resource