---
title: "Referring office status questions answered from the Healthie chart | FlowRunner flow"
description: "When a referring office emails to ask where a referral stands, drafts the reply from the patient's Healthie chart and sends it from Zendesk once someone on intake approves it."
url: https://flowrunner.ai/flows/zendesk-referral-status-question-answered
date_published: 2026-11-30
date_modified: 2026-11-30T15:12:56-08:00
---

# Referring office status questions answered from the Healthie chart

When a referring office emails to ask where a referral stands, drafts the reply from the patient's Healthie chart and sends it from Zendesk once someone on intake approves it.

## The prompt

When a referring office emails our intake team in Zendesk asking about a patient they referred, read the email and pull out the patient's name and date of birth. Find the patient in Healthie by name and birth date. If there isn't exactly one match, leave an internal note for intake to answer by hand. If there is, check the chart for the referral, any upcoming visit and any past visits, and draft a short reply from those facts only, with nothing clinical in it. Put the draft on the ticket as an internal note with Send this reply and I'll answer myself links, and wait. If intake approves, send the reply to the office and solve the ticket.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

## The flow

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/zendesk-referral-status-question-answered.json)

-   [Zendesk](https://flowrunner.ai/integrations/zendesk)
-   [Healthie](https://flowrunner.ai/integrations/healthie)

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. [How importing works](https://docs.flowrunner.ai/manage/flows#importing-a-flow)

## What each step does

1.  New ticket in Zendesk Zendesk tells the flow the moment a ticket is created, such as an email to your intake address.
2.  Read the question An AI agent decides whether a referring office is asking where a referral stands, and pulls out the patient's name, birth date and what the office wants to know. Any other ticket stops here.
3.  Find the patient's chart Searches Healthie by name and birth date. Only one exact match goes on. No match, or more than one, leaves an internal note for intake to answer by hand.
4.  Get upcoming visits Reads the patient's upcoming and past visits and the referral documents filed on the chart.
5.  Draft the reply An AI agent writes a short reply from those facts only: whether the referral is in, whether the first visit is booked and when, and whether the patient has been seen. Nothing clinical goes in it.
6.  Ask intake to approve the reply Puts the draft on the ticket as an internal note, with a link to the chart, a reminder to send it only to the office that referred the patient, and two links, Send this reply and I'll answer myself.
7.  Wait for intake's answer The run waits for the click. Send this reply goes to the office as a public reply and solves the ticket. I'll answer myself sends nothing and leaves a note.

## We can build this for you.

It's custom work, built around how you do things by our implementation team at Midnight Flow, in your own FlowRunner workspace.

-   Every referral read, checked for what is missing, approved by your team, and the patient texted to book
    
    Built and tested by our team. Runs on your FlowRunner plan.
    
    [Have us build this](https://midnightflow.ai/packages/clinic-referral-fax-intake?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=healthcare-intake&utm_content=flows.aside&utm_term=zendesk-referral-status-question-answered)

## Before you turn it on

This flow assumes every service in it, FlowRunner included, has signed a business associate agreement (BAA) with you. Its messages to your staff include the patient details they need to decide.

-   Enter your Zendesk subdomain, agent email and API token, and your Healthie API key.
-   Add your Anthropic key in the flow setting Anthropic key.
-   Copy the URL of the block Wait for intake's answer into the flow setting Answer link. The links in the approval note open it.
-   Referring offices' emails need to reach Zendesk as tickets, for example through your intake support address.

[Everything FlowRunner does with Zendesk](https://flowrunner.ai/integrations/zendesk)

---
Markdown version of https://flowrunner.ai/flows/zendesk-referral-status-question-answered. Site index: https://flowrunner.ai/llms.txt
