Templates / Process and triage contact form leads with Webhook, GPT-4.1, SharePoint and Outlook

Process and triage contact form leads with Webhook, GPT-4.1, SharePoint and Outlook

Ready for 3.0

by AI Solutions ✓ · 9 views · created 2026-08-18 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Microsoft SharePoint and Microsoft Outlook.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Workflow Configuration (Edit Fields (Set)): sets or maps fields
  2. Normalize & Validate Submission (Code): runs custom JavaScript code
  3. Respond to Form (Respond to Webhook): sends the response back to the webhook caller
  4. Is Valid Submission? (If): checks a condition and branches into true / false
  5. AI Triage (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Triage Output Parser
  6. Mark as Rejected (Edit Fields (Set)): sets or maps fields
  7. Assemble Lead Record (Edit Fields (Set)): sets 15 fields: name, email, phone…
  8. Record in SharePoint (Microsoft SharePoint): create (item)
  9. Should Notify? (If): checks a condition and branches into true / false
  10. Build Email HTML (Code): runs custom JavaScript code

…plus 3 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelMicrosoft SharePointMicrosoft Outlook

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick overview This workflow receives website contact form submissions via a webhook, logs each submission to Microsoft SharePoint, generates a branded HTML email, and sends a notification through Microsoft Outlook. How it works 1. Receives a POST webhook…

Excerpt from AI Solutions's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.