Inquiry workflow: start here
One shared workbook from the original request to a useful reply and the next action. Start with the register, connect a form, and add AI where it helps. You do not need to configure four different platforms.
Blank workbook · Filled fictional example
1. Prepare shared records
You need a Google account with Sheets, Forms and Apps Script enabled. Upload the blank XLSX to your Drive, open it in Sheets, then choose File → Save as Google Sheets. The script cannot run inside an unconverted Excel file. Share only with teammates handling inquiries. The CSV fallback needs four sheets with the exact supplied names and headers; import values as text. Do not rename sheets or columns.
In Settings fill owner, reference_version, timezone and reconcile_from (the observation start as an ISO timestamp, for example 2026-10-23T00:00:00Z). reviewer_email is one approved internal recipient; keep reminder_live as NO initially. Setting keys are stable technical identifiers. Store no API keys or passwords in the workbook.
2. Connect a form
Open Extensions → Apps Script. Replace Code.gs with the entire inquiry-workflow.gs, save and inspect requested permissions. The script reads/writes this workbook, manages its connected form and triggers, and sends to one internal recipient only when reminders are enabled. It does not read Gmail. If your organization prohibits access, use the manual register. Run onOpen or reopen the workbook.
In the new Inquiries menu choose Create / open form. It records form_id in Settings and creates four questions, with the two essential fields required. Review the form, supply your actual privacy information and configure respondent access before publishing it. For an existing form, enter form_id and its two exact question titles in email_question and request_question instead. Question titles must be unique.
Choose Enable form intake and submit a test through the actual respondent page. Originals stay in Forms and its raw response sheet; Requests gains a separate work record. Identity derives from the original Forms response, not row order. Choose Reconcile original responses: a repeat must create no extra work. Include reconciliation in daily review; a trigger alone cannot prove that no execution failed.
3. Handle email and ongoing work
Add email inquiry accepts the structure in email-intake.example.json. Replace every fictional value. Build source_key from the mailbox and stable Message ID; source_ref is the real thread link and request_id is a new stable job identity. Use an ISO received_at and YYYY-MM-DD review_due. Another job from the same client needs another identity. A person links later messages to an existing job in Sources after checking content; preserve originals and do not force a merge through new intake.
Business states are New, Waiting for client, In progress, Closed, Handed over. Draft states DRAFT / NEEDS_REVIEW / SKIP and intake states PENDING / LINKED / REVIEW mean different things. AI never changes business state. Put blocking information in Blocker and clear it manually after checking the correction. Do not sort or edit rows while a script is running; no other project may write the same register.
4. Add AI where useful
Complete company-rules.template.txt and use agent-instructions.txt with one inquiry in your tool, following the existing guide. Pricing and availability remain unknown without approved evidence. Start with the example workbook and company-rules.example.txt. Format the result like draft.example.json. A person takes identities and reference version from recorded data; the model does not choose them.
Choose Save AI draft JSON. Import checks the source, owner and version and replaces the one draft for the inquiry. A recorded sent reply or progressed business state blocks import. Use the prepared n8n bridge for recurring transfers. This is optional; the manual route needs no n8n account.
5. Reply and remind
Before sending, Alex opens the current source, checks facts and recipient, and replies in the mailbox. Only then record Sent reply, First useful reply, Waiting for client and the next review date. An automatic receipt is not a useful human reply.
Run Check reminders with reminder_live=NO. In Apps Script Executions → Logs inspect selected IDs, including blocked or unassigned work. Set a real internal reviewer_email and reminder_live=YES, then run once manually. Verify the received email and Last reminder. Repeat: nothing else should be sent on that day. Only then select Install daily reminder. It runs daily in a window around 9 a.m. in timezone, including weekends; this is not an exact minute or permission to send client messages. Do not also install the older generic Queue reminder.
6. Verify the whole workflow
Complete the checks and recovery. P-DEMO-001 links the bakery, original form, Alex, draft and next action in the fictional workbook. Start a clean workbook and replace references for actual work. Over the next two weeks record intake, first useful reply, missed inquiries, preparation and review time. Unknowns are not zero and a modeled result is not observed savings.
Verification and sources
Designed for one operational workbook, one intake script and no more than 200 form responses per reconciliation. Verify permissions and availability in your account. The base uses no AI API; optional tools may have separate charges. Code and fictional cases are tested locally; form creation, authorization and email delivery have not been tested in a Google account. The n8n validation step has local tests; it is not an export of an account-tested deployment.
- developers.google.com · form-response
- developers.google.com · installable
- developers.google.com · lock-service
- developers.google.com · mail-app
- docs.n8n.io · sheet-operations
Documentation checked October 23, 2026. This is neither a customer outcome nor an account-tested deployment.