Templates / Score mortgage loan risk from Google Drive PDFs with OpenAI and Gmail

Score mortgage loan risk from Google Drive PDFs with OpenAI and Gmail

Ready for 3.0

by Rahul Joshi ✓ · 106 views · created 2026-06-24 · Document Extraction, 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 20 nodes and runs on Google Drive events (file created) (plus 1 other trigger). Along the way it connects Google Drive, OpenAI Chat Model, Gmail and Slack.

How it runs

Trigger: On Google Drive events (file created) (plus 1 other trigger).

  1. Download Application PDF (Google Drive): download
  2. Slack: uses Slack
  3. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  4. Extract Applicant Data (AI) (AI Agent): runs an AI agent, with model: GPT-4o-mini: Data Extraction; output parser: Parse Applicant Data Schema
  5. Score Applicant Risk (AI) (AI Agent): runs an AI agent, with model: GPT-4o-mini: Risk Scoring; output parser: Parse Risk Score Schema
  6. Slack: uses Slack
  7. Generate Lending Summary (AI) (AI Agent): runs an AI agent, with model: GPT-4o-mini: Lending Summary
  8. Slack: uses Slack
  9. Issue Underwriting Decision (AI) (AI Agent): runs an AI agent, with model: GPT-4o-mini: Final Decision; output parser: Parse Decision Schema
  10. Assemble Final Report (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

Google DriveOpenAI Chat ModelGmailSlack

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 monitors a Google Drive folder for new loan application PDFs, extracts text, and uses OpenAI (GPT-4o-mini) to structure applicant data, score risk, generate a lending summary, and produce an underwriting recommendation, then…

Excerpt from Rahul Joshi'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.