Review insurance claims with DeepSeek, forms, and Telegram
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs when someone submits an n8n form (“Submit a Medical Claim”). Along the way it connects Telegram and DeepSeek Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Submit a Medical Claim”).
- Fetch Policy Details (Data table): get
- Evaluate Claim Rules (Code): runs custom JavaScript code
- Route by Claim Eligibility (Switch): routes items into 3 branches
- Compile Final Claim Record (Code): runs custom JavaScript code
- Initiate Draft Process (Code): runs custom JavaScript code
- Record Final Decision (Data table): uses Data table
- AI Evaluate Claim Draft (AI Agent): runs an AI agent, with model: DeepSeek AI Chat Model; output parser: Format Draft for AI
- Send Decision via Telegram (Telegram): uses Telegram
- Validate AI Proposal (Code): runs custom JavaScript code
- Notify Senior on Telegram (Telegram): send and wait for a reply
…plus 3 more steps. See the full node list below.
Services it uses
Other Telegram + DeepSeek templates (19)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - DeepSeek Chat Model
@n8n/n8n-nodes-langchain.lmChatDeepSeek
From the author
Quick overview This workflow collects medical insurance claims via an n8n form, validates them against policy data in n8n Data Tables, and either auto-approves/rejects or sends an AI-drafted recommendation to a senior reviewer on Telegram for approval,…