Templates / Process Australian GP referrals to Cliniko with Gmail, forms and OpenRouter

Process Australian GP referrals to Cliniko with Gmail, forms and OpenRouter

Ready for 3.0

by Fuad Hassan · 0 views · created 2026-11-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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, OpenRouter Chat Model and Slack.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Set Workflow Parameters (Edit Fields (Set)): sets 5 fields: openrouter_frontier_model, openrouter_fixer_model, cliniko_api_base…
  2. Referral Details Extraction Agent (AI Agent): runs an AI agent, with model: OpenRouter Frontier AI Model; output parser: Parse Structured Referral Data
  3. Verify Medicare and Provider IDs (Code): runs custom JavaScript code
  4. Check All Verification Statuses (If): checks a condition and branches into true / false
  5. Post New Patient to Cliniko API (HTTP Request): calls an HTTP API (POST)
  6. Send Review Alert to Slack (Slack): uses Slack

Services it uses

GmailOpenRouter Chat ModelSlack

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 ingests Australian GP referrals from Gmail (email/e-fax PDFs) or an n8n upload form, uses OpenRouter to extract patient details into structured JSON, validates Medicare and GP provider numbers with checksum rules, and then either…

Excerpt from Fuad Hassan'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.