See llms.txt for all machine-readable content.

Back to Templates

Qualify client intake and approvals with Typeform, OpenAI, Notion and Gmail

Quick overview

This workflow triggers on new Typeform submissions, checks Notion for duplicates, uses OpenAI to analyze and score the intake, and then emails an approval request via Gmail before writing approved and audit records back to Notion.

How it works

  1. Triggers when a new Typeform submission is received via the configured Typeform trigger path.
  2. Normalizes the submission into a single text payload, generates a fingerprint, and searches Notion to see if the same intake has already been processed.
  3. Sends the intake text to OpenAI (via the LangChain classifier) to produce a structured business analysis.
  4. Applies rule-based scoring to assign a tier and determines whether the request is policy-safe to proceed.
  5. If policy-safe, compiles a decision digest and sends an approval email through Gmail that waits for an approve/reject response.
  6. If approved, creates an approved record in Notion, emails a notification, waits briefly, and then writes a completion audit record to Notion.
  7. If approval is rejected or the workflow reaches the end without an approved path, sends an escalation email to the approver for manual review.

Setup

  1. Connect your Typeform, Notion, OpenAI, and Gmail OAuth/API credentials in n8n.
  2. Replace YOUR_TRIGGER_PATH in the Typeform trigger and copy the resulting webhook URL into Typeform for the target form.
  3. Update the Notion search query/target databases and the Notion create actions so records are written to the correct workspace and database(s).
  4. Replace YOUR_APPROVER_EMAIL and YOUR_CHANNEL_OR_RECIPIENT in the Gmail steps with the correct approver and notification recipient(s).