AIHotple English inquiry workflow. Fictional messages only.
1. Open Google Apps Script, New project. Paste ONLY SampleOnly.gs into Code.gs, save, choose runSampleTwice beside Run, then Run and inspect Execution log. Do not paste both sample and full files together. Actual English-editor sample:first2,second0,passed:true.
2. Code.gs is the optional live-service version, disabled by default. It uses fixed English keywords, not live AI classification. It never sends mail, calls an AI API or creates a trigger.
3. Live setup is a separate, unexecuted stage: review code and permissions; replace sample with full Code.gs; add Gmail API v1 with identifier Gmail under Services. A standard Cloud project may need API enablement. setupSheet intentionally creates AIHotple Inquiry Practice - Test Only/Inquiries and stores INQUIRY_SHEET_ID.
4. Create Gmail label AIHotple-Inquiry-Practice and apply only to approved test messages. The done label is AIHotple-Inquiry-Done. A label filter does not limit the account permission grant to that label.
5. After reviewing authorization and inputs, set CONFIG.enabled=true, save and manually run processInquiries on two test messages. Check the sheet, draft-only behavior and duplicate rerun. No real Gmail/Sheets authorization or this live test was executed by AIHotple.
6. Only after a successful manual live test: Triggers/Add Trigger/processInquiries/Time-driven/Minutes timer/Every15minutes. Runs as the trigger creator and can fail under quotas. This is polling, not instant incoming-mail execution.
7. Stop by saving enabled:false and deleting the trigger. Existing drafts/rows/labels remain. PROCESSING and ERROR require manual inspection because a draft may already exist. Do not delete rows and retry blindly. An error-filled100-message window can block further work.
8. Independent verification:14Node VM cases with fake Gmail/Sheets adapters, including45-message pagination,100+20backlog,invalid recipients,formula injection and partial failures. These are not live service tests. The source README records model-stage local checks; the actual Apps Script sample and AIHotple adapter checks occurred afterward. No messages were sent.
