Prompt Details
Model
Chat - (gpt-6-luna)
Token size
1,091
Example input
[BUSINESS_TYPE]: Small Digital Marketing Agency
[PROCESS]: Capture website inquiries, qualify leads, notify the sales owner
[TRIGGER]: A visitor submits the website contact form
[AVAILABLE_TOOLS]: Google Forms, Google Sheets, Gmail, Make
[DESIRED_OUTCOME]: Lead record + classify by agreed rules + acknowledgement draft (owner reviews and sends) + notify sales owner
Example output
# TEST CASE 1 — SAMPLE OUTPUT — not executed in a live account
# AI Business Workflow Architect — prepared from Test Case 1 inputs (sample output; not executed in a live account)
# Business Type: Small Digital Marketing Agency
# Process: Capture website inquiries, qualify leads, notify the sales owner
# Trigger: A visitor submits the website contact form
# Tools: Google Forms, Google Sheets, Gmail, Make
# Desired Outcome: Lead record + classify by agreed rules + acknowledgement draft (owner reviews and sends) + notify sales owner
---
## Inputs, assumptions, and items requiring confirmation
**Confirmed inputs (from the user):** business type, process, trigger, tool list, desired outcome.
**Assumptions (must be confirmed by the owner before build):**
1. **A1 — The website contact form is a Google Form.** The trigger is "a visitor submits the website contact form" and Google Forms is in the tool list. This design assumes the form on the website is a Google Form embedded on the site, so Make can use the Google Forms "Watch Responses" trigger. Alternative if the site uses a native form: replace the trigger with a Make Custom Webhook receiving the form POST — verify which form the site actually uses before building.
2. **A2 — Default qualification rules.** No classification rules were supplied. This design uses a provisional 3-tier rule (Hot / Warm / Cold) based on budget, timeline, and service requested. These rules are assumptions, not agreed rules — the owner must confirm or replace them before the workflow goes live.
3. **A3 — One sales owner.** Notifications go to a single sales-owner email address. The address was not supplied; it must be provided before build.
4. **A4 — Response-time promise.** The acknowledgement is prepared as a draft the owner reviews and sends — it is not sent automatically — and it deliberately promises no response time and no service or price. If the owner wants a "within 24 hours" promise, that is a business decision to confirm, not something the workflow invents.
5. **A5 — No CRM.** No CRM was listed. Google Sheets is the lead record. If a CRM is added later, the Sheets step becomes the CRM step.
**Questions that would have been asked (none block the design — assumptions above cover them):** What are the agreed qualification rules? What is the sales owner's email? What services and budget ranges should the form offer?
---
## 1. Executive Summary
A visitor submits the website contact form. Make picks up the response, validates the required fields, checks for duplicates, writes one lead record to Google Sheets, and classifies the lead Hot / Warm / Cold using the provisional rules. The workflow then prepares a draft acknowledgement for the visitor (a plain receipt, no service or price promised) and emails the sales owner a notification with the lead's details and classification, so the owner can review and send the draft. No message goes to the visitor unless the owner sends it. Leads with missing contact details are flagged for manual follow-up: they are recorded as "Incomplete" and the owner is notified. The design prevents duplicate records: a failed duplicate check holds the record for manual review instead of creating a second row. No sales promise is made by the system.
**Three most important next actions** (see §10 for detail): (1) Confirm the qualification rules and the sales owner's email. (2) Verify the website form is a Google Form (or switch the trigger to a Make webhook). (3) Build in Make's test environment and run the six tests in §9 before turning the scenario on.
---
## 2. Current Process and Improvement Opportunity
**Current process (assumed, to be confirmed):** Inquiries arrive through the website form and are read manually from an inbox. There is no single lead list, no consistent qualification, no acknowledgement to the visitor, and no guaranteed notification to the sales owner. A busy inbox can delay or lose a lead.
**Intended users:** The sales owner (receives notifications, works the leads); the agency owner (reviews the lead sheet); visitors (receive the acknowledgement once the owner sends it).
**Inputs:** Name, email, phone (optional), company (optional), service requested, budget range (optional), message.
**Outputs:** One lead record per unique inquiry; a classification; a draft acknowledgement for the owner to review and send; an owner notification.
**Business value:** the design aims to lose no lead — every inquiry is recorded and routed, and the owner sees Hot leads first.
**Likely bottlenecks:** Manual inbox checking; inconsistent follow-up; no duplicate control.
**Failure points:** Form response not picked up; invalid email; duplicate submissions; Gmail sending failure; the owner does not see the notification.
**What stays manual:** Qualification rules are confirmed by a human; sending the acknowledgement (the owner reviews the draft and sends it); the sales conversation itself; any decision to contact a lead by phone.
---
## 3. Workflow Diagram
```
Visitor submits website contact form (Google Form)
|
v
[Make] Google Forms — Watch Responses (trigger)
|
v
Validate required fields (name, email, service)
| |
| missing/invalid | valid
v v
Record as "Incomplete" Check duplicates (search Sheets by Form Response ID; on search failure hold for manual review, no row created)
in Sheets + notify | |
owner (manual follow-up) | new | duplicate found
v v
Add lead row Skip row; log "Duplicate ignored"
to Google Sheets |
| |
v v
Classify Hot / Warm / Cold (provisional rules)
|
v
Prepare acknowledgement draft (Gmail) — receipt only; owner sends after review
|
v
Send owner notification email (Gmail) — lead + classification + draft awaiting review
|
v
Done (log outcome in Sheets: Status = New / Incomplete / duplicate check pending / acknowledgement pending)
```
---
## 4. Step-by-Step Workflow Specification
| # | Step | Trigger / condition | Input | Action (system / person) | Output | Success condition | Failure and recovery |
|---|---|---|---|---|---|---|---|
| 1 | Capture submission | Visitor submits the form | Form fields | Google Forms records the response (Make: "Watch Responses") | Form response with Response ID | Response received in Make | No response picked up: Make scenario history shows no run — check the Forms connection and the scenario schedule; re-run manually. |
| 2 | Validate required fields | Response received | Name, email, service requested | Make: filter/router checks name non-empty, email matches a valid format, service selected | Validated bundle or "Incomplete" flag | All three present and email valid | Invalid/missing: go to Step 3 (Incomplete path), not to Step 4. |
| 3 | Record incomplete lead | Validation failed | The fields that were supplied + reason | Make: Google Sheets "Add a Row" with Status = Incomplete and a "Missing" note; Gmail "Send an Email" to the sales owner ("Incomplete lead — manual follow-up needed") | Incomplete row + owner email | Row written and owner emailed | Sheets write fails: Make error handler retries once, then emails the owner with the raw form data so the lead details still reach the owner. |
| 4 | Check duplicates | Validation passed | Form Response ID | Make: Google Sheets "Search Rows" for the Response ID | Match or no match | Search completes | Search fails: do not create a new row; hold the submission in the review list with Status = "duplicate check pending" and notify the owner to confirm manually whether it is a duplicate before any row is created. |
| 5 | Skip duplicate | Response ID already in Sheets | Existing row | Make: end the run; write nothing. (Optional: update the existing row's "Last submission" date — only if the owner confirms this is wanted.) | No new row; run logged as duplicate | No duplicate row created | — |
| 6 | Create lead record | No duplicate | Validated fields + Response ID | Make: Google Sheets "Add a Row" (columns: Timestamp, Response ID, Name, Email, Phone, Company, Service, Budget, Message, Classification, Status) | One lead row, Status = New | Row written with all supplied fields | Sheets write fails: retry once after 5 minutes; if it still fails, email the owner the lead details and mark the run for manual entry. |
| 7 | Classify lead | Row created | Service, budget, message | Make: Router with filters applying the provisional rules (see §6) | Classification = Hot / Warm / Cold, written to the row | Classification set on the row | No rule matches: default to Warm and add a note "unclassified — review", so the field is not left blank. |
| 8 | Prepare acknowledgement draft | Lead classified | Visitor name + email | Gmail "Create a Draft" for the visitor (no send) | Acknowledgement draft, ready for the owner to review and send | Draft created (Gmail returns success) | Draft creation fails: log "acknowledgement draft failed" on the row and flag it in Step 9's email to the owner. No email goes to the visitor from the workflow. The lead record is unaffected. |
| 9 | Notify sales owner | Acknowledgement draft prepared | Lead details + classification + any failure notes | Gmail "Send an Email" to the sales owner | Owner notification email | Email sent | Gmail send fails: retry once; if it still fails, the lead record remains in Sheets — the owner sees it on the next sheet review. Log the failure on the row. |
**Acknowledgement email (draft prepared by the workflow — the owner reviews and sends it; no service or price promised):**
> Subject: Thank you — we received your inquiry
>
> Hi [Name],
>
> Thank you for contacting us. We have received your inquiry and a member of our team will be in touch.
>
> Best regards,
> [Agency name]
**Owner notification email (draft):**
> Subject: New [Hot/Warm/Cold] lead — [Service] — [Name]
>
> Name: [Name]
> Email: [Email]
> Phone: [Phone or "not provided"]
> Company: [Company or "not provided"]
> Service: [Service]
> Budget: [Budget or "not provided"]
> Message: [Message]
> Classification: [Hot/Warm/Cold] — [rule that matched, or "default"]
> Lead record: [link to the Google Sheet row]
> Acknowledgement draft: [prepared — review and send, edit, or discard]
> Notes: [e.g. "acknowledgement draft failed — prepare manually" if applicable]
---
## 5. Tools and Integration Requirements
| Tool | Role | Connection required | Data exchanged | Capabilities / permissions to verify |
|---|---|---|---|---|
| Google Forms | Intake form on the website | Make connection to the agency's Google account (OAuth) | Form responses: name, email, phone, company, service, budget, message, Response ID | Verify: the form embedded on the website is this Google Form; the Make connection has access to the form's responses. |
| Make | Automation platform (scenario engine) | Google account connection; Gmail connection | All fields between modules | Verify: module names in the current Make interface — "Watch Responses" (Google Forms), "Search Rows" and "Add a Row" (Google Sheets), "Send an Email" (Gmail). Verify the scenario's schedule (polling interval) and error-handling settings. |
| Google Sheets | Lead record (single source of truth) | Make connection to the same Google account | Lead rows (see Step 6 columns) | Verify: the sheet is shared only with staff who need it; the Response ID column is present for duplicate checks. |
| Gmail | Prepares the acknowledgement draft; sends the owner notification | Make connection to the sending Gmail account | Owner notification emails only (the acknowledgement leaves Gmail only when the owner sends the draft) | Verify: the sending address is the agency's address; daily sending limits are not a constraint at expected volumes. |
**Capabilities to verify (do not assume):** exact Make module names in the current interface; the Google Forms trigger's polling interval (responses are picked up on a schedule, not instantly — confirm the delay is acceptable); whether the agency's Google account permits Make's OAuth access.
---
## 6. Conditions, Exceptions, and Human Approvals
**Provisional classification rules (ASSUMPTIONS — owner must confirm):**
| Classification | Rule (provisional) |
|---|---|
| Hot | Budget provided AND service requested is a core service AND message mentions a timeline (e.g. "this month", "ASAP", a date). |
| Warm | Budget provided OR service requested, but no timeline mentioned. |
| Cold | No budget provided and no timeline, or the message is a general question only. |
| Default | No rule matches → Warm, with the note "unclassified — review". |
**Validation checks:** Name non-empty; email in valid format; service selected from the form's options. Phone and company are optional and do not block the lead.
**Duplicate prevention:** The Google Forms Response ID is stored in the sheet. Each run searches for that ID before adding a row. A second submission of the same form response creates no new row (idempotency via Response ID). If the duplicate check itself fails, no row is created either — the submission is held with Status = "duplicate check pending" for the owner to confirm manually (see Step 4).
**Retry policy:** One automatic retry after 5 minutes for Sheets writes and owner-notification sends. No retry for validation failures (they go to the Incomplete path). The owner notification is retried at most once — a duplicate notification is worse than a missed one; failures are logged on the row instead. The workflow does not send the acknowledgement at all, so there is no acknowledgement send to retry: if draft preparation fails, the failure is logged on the row and flagged to the owner.
**Human-review checkpoints:**
- Incomplete leads: the owner follows up manually (Step 3).
- Unclassified leads: the owner reviews the classification (Step 7 default).
- Acknowledgement draft: the owner reviews the draft and decides to send it, edit it, or discard it (Step 8). No message reaches the visitor until the owner sends it. If the owner does not send the draft within the agreed window, the owner is reminded once, then the lead is escalated (see T5).
- Any failure note on a row: the owner checks the row.
- The sales conversation itself stays human — the workflow sends nothing to the visitor itself and does not quote a service or a price.
**Escalation path:** If Make reports repeated scenario errors, the scenario is paused and the owner is emailed from Make's own error notification. The Google Form and the Sheet keep working manually in the meantime (responses are still collected; the owner checks the Form responses page directly).
---
## 7. Data and Security Checklist
**Minimum data fields:** Name, email, service requested (required). Phone, company, budget range, message (optional). Form Response ID (system field for duplicates). No other data is collected.
**Where data originates:** The website contact form (visitor-supplied).
**Where data is stored:** Google Sheets (lead record). Gmail sent folder (owner notification copies; an acknowledgement appears there only after the owner sends the draft). Make scenario history (transient run data).
**Who can access it:** Only staff who need it — the sales owner and the agency owner. The Sheet is not shared publicly and not shared with the whole team by default.
**When it should be deleted:** Agree a retention rule before launch (suggestion: delete or anonymize leads with no response after 12 months; delete spam/incomplete rows after 90 days). This is a recommendation — the owner decides.
**Sensitive data:** Email addresses and phone numbers are personal data. Do not add lead data to any other tool, mailing list, or AI service without consent. Do not include lead details in Make scenario names or public logs.
**Safeguards:** Google account access limited to the agency's account; Make connections use OAuth (never paste passwords or API keys into the scenario or into chat); the acknowledgement draft contains no tracking pixel and no marketing content.
---
## 8. Implementation Roadmap
1. **Prepare (30 minutes):** Confirm the qualification rules (A2) and the sales owner email (A3). Confirm the website form is a Google Form (A1). Create the Google Sheet with the columns from Step 6, including Response ID and Status.
2. **Build the trigger and validation (30 minutes):** In Make, create the scenario: Google Forms "Watch Responses" → validation filter → Incomplete branch (Step 3) and main branch.
3. **Build the record, classify, and notify (45 minutes):** Add Sheets "Search Rows" (duplicate check) → "Add a Row" → Router with classification filters → Gmail acknowledgement draft → Gmail owner notification.
4. **Add error handling and logging (20 minutes):** One retry on Sheets/Gmail modules; failure notes written to the row; Make error notifications switched on.
5. **Test in a safe environment (30 minutes):** Run the six tests in §9 with test submissions. Do not use real visitor data for tests.
6. **Deploy only after user acceptance:** The owner reviews a test lead end-to-end (form → sheet → emails), confirms the classification rules, then the scenario is switched on. The first week, the owner checks the Sheet daily against the Form responses page to confirm nothing is missed.
---
## 9. Test Cases and Acceptance Criteria
| # | Test | Input | Expected behavior | Pass criteria |
|---|---|---|---|---|
| T1 | Normal successful run | Complete form submission: name, valid email, service selected, budget provided, timeline mentioned | Expected: one row created; classification Hot; acknowledgement draft prepared for the owner to review and send; owner notification sent with correct details | Expected: row exists with all fields; classification = Hot; acknowledgement draft prepared (no email sent to the visitor by the workflow); owner notification email in the Gmail sent folder; no duplicate row. |
| T2 | Missing or invalid input | Submission with no email (or an invalid email format) and no service selected | Expected: no lead classified; row created with Status = Incomplete and a "Missing" note; owner emailed for manual follow-up; no acknowledgement draft prepared and no email sent to the visitor | Expected: row Status = Incomplete; owner email received; zero emails sent to the visitor. |
| T3 | Duplicate event | Submit the same form response twice (same Response ID) | Expected: first run creates the row; second run finds the Response ID and creates no new row | Expected: exactly one row for that Response ID after both runs; second run logged as duplicate. |
| T4 | Third-party service failure and recovery | Disconnect Google Sheets (or pause Gmail) and submit a complete form | Expected: the failed run is saved — the submitted data and the error log are kept, and no partial row is left in an inconsistent state; on continued failure the owner is emailed the raw lead details. When the service returns, the saved run is re-processed once from the saved data with the duplicate check applied (the scenario re-runs from the saved response), so the lead is recorded exactly once | Expected: owner receives the lead details by email despite the Sheets failure; after recovery, exactly one row exists for that Response ID — no second row. |
| T5 | Human rejection / approval timeout | A complete lead is classified and its acknowledgement draft is prepared; the owner rejects the draft (edits it and does not send it, or discards it) or does not send it within the agreed window (e.g. 1 business day, confirmed by the owner) | Expected: no email goes to the visitor; the lead stays in the Sheet with Status = "acknowledgement pending"; the owner is reminded once; if the draft is still unsent after the window, the lead is escalated (flagged for manual follow-up) | Expected: zero emails sent to the visitor; row Status = "acknowledgement pending"; one reminder sent to the owner; escalation logged after the agreed window. |
| T6 | Unclassified lead | Submission with a service the rules do not cover | Expected: classification defaults to Warm with the note "unclassified — review" | Expected: row shows Warm + the note; the owner notification includes the note. |
---
## 10. KPIs and Maintenance Plan
| KPI | What it measures | How to calculate | Why it matters |
|---|---|---|---|
| Leads captured | Volume of inquiries | Count of rows in the Sheet per week | Shows whether the form and workflow are receiving submissions. |
| Incomplete rate | Data quality | Incomplete rows ÷ total rows | A high rate means the form asks for too much or too little. |
| Duplicate rate | Duplicate control | Duplicate runs ÷ total runs | Confirms the Response ID check is working. |
| Acknowledgement draft failure rate | Draft preparation reliability | Rows where the acknowledgement draft was not prepared ÷ total rows | A rising rate means the Gmail connection or the draft step needs attention. |
| Time to first owner notification | Speed | Notification timestamp − form submission timestamp | Measures whether Hot leads reach the owner promptly. |
| Classification distribution | Lead quality mix | Count of Hot / Warm / Cold per week | Shows whether the rules separate leads usefully. |
**Monitoring checklist (weekly, 5 minutes):** Check the Make scenario history for errors; compare the Sheet row count with the Google Forms response count; review Incomplete rows and acknowledgement-pending rows; confirm the owner received notifications for Hot leads. Monthly: review whether the provisional classification rules still match reality and update them with the owner's agreement.
**Three most important next actions:**
1. Confirm the qualification rules and the sales owner's email (assumptions A2, A3).
2. Verify the website form is a Google Form, or switch the trigger to a Make webhook (assumption A1).
3. Build in Make's test environment and run tests T1–T6 before switching the scenario on.
By purchasing this prompt, you agree to our terms of service
GPT-6-LUNA
Turn a repetitive business process into a structured workflow blueprint. Get triggers, actions, conditions, integrations, error handling, security considerations, implementation steps, and test cases tailored to your business.
...more
Added 2 days ago
