# Draft dental denial appeal packets from Gmail EOBs with OpenAI: n8n workflow

> Started by an arriving email, and works across Gmail, Google Drive and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/draft-dental-denial-appeal-packets-from-gmail-eobs-with-open (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [AI assistants](https://millionrounds.com/workflows?category=AI+assistants#library)

# Draft dental denial appeal packets from Gmail EOBs with OpenAI

Started by an arriving email, and works across Gmail, Google Drive and n8n data table. It hands the judgement calls to OpenAI. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdraft-dental-denial-appeal-packets-from-gmail-eobs-with-open)

**22 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 4 Logic 11 Service 6

The steps in the order they run, from what starts it.

- 1 **Receive Payer Denial Notice** Gmail trigger *Starts it*
- 2 **Denial Extraction Model** Lm Chat Open Ai *Model*
- 3 **Appeal Drafting Model** Lm Chat Open Ai *Model*
- 4 **Normalize Denial Payload** Set *Logic*
- 5 **Extract Denial Line Items** Information Extractor *Model*
- 6 **Draft Appeal Letter** Agent *Model*
- 7 **Split Out Denied CPT Lines** Split Out *Logic*
- 8 **Aggregate Appeal Packet Lines** Aggregate *Logic*
- 9 **Score Appeal Strategy & Deadline** Code *Logic*
- 10 **Shape Appeal Record** Set *Logic*
- 11 **Check Line Item Appealable** If *Logic*
- 12 **Save Appeal Packet to Drive** Google Drive *Service*
- 13 **Check Filing Deadline Urgency** If *Logic*
- 14 **Tag Non-Appealable Reason** Set *Logic*
- 15 **Log Appeal Decision** Data Table *Service*
- 16 **Flag Priority Review** Set *Logic*
- 17 **Tag Standard Queue** Set *Logic*
- 18 **Log Non-Appealable Denial** Data Table *Service*
- 19 **Update Practice Management System** Http Request *Service*
- 20 **Merge Appealable Line Decisions** Merge *Logic*
- 21 **Notify Billing Manager - Non-Appealable** Gmail *Service*
- 22 **Notify Front Desk of Drafted Appeal** Gmail *Service*

## How it's built

- **Starts on:** An arriving email
- **Steps:** 22, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Drive, n8n data table
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Drive accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an arriving email.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdraft-dental-denial-appeal-packets-from-gmail-eobs-with-open)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Automated project kickoff with Dropbox MCP and OpenAI** 22 steps · calls a model · Gmail](https://millionrounds.com/workflow/automated-project-kickoff-with-dropbox-mcp-and-openai)
- [**Build a cost engineering RAG with Google Drive and OpenAI** 22 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/build-a-cost-engineering-rag-with-google-drive-and-openai)
- [**Create AI news digests from RSS feeds with Groq and Gmail** 22 steps · calls a model · Gmail, RSS](https://millionrounds.com/workflow/create-ai-news-digests-from-rss-feeds-with-groq-and-gmail)
- [**Trip concierge with OpenRouter** 22 steps · calls a model · Email, n8n data table](https://millionrounds.com/workflow/trip-concierge-with-openrouter)
- [**Agile project generator with ClickUp and OpenAI** 21 steps · calls a model · ClickUp, Gmail](https://millionrounds.com/workflow/agile-project-generator-with-clickup-and-openai)
- [**Build a multi-agent system with Qdrant and Gmail** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/build-a-multi-agent-system-with-qdrant-and-gmail)
