FlowRunner
Features Pricing
Theme
Start Free

Referrals that need a person held in a Zendesk intake ticket

Files complete faxed referrals in Healthie on its own. Anything missing or unsure opens a Zendesk intake ticket, and solving the ticket files the referral as the coordinator's note says.

The prompt

When a fax comes in on our Documo line, read it. If it's a patient referral, check it against our must-haves and look for the patient in Healthie by name and date of birth. If the referral is complete and matches exactly one chart, file it on that chart and record the referral. If it's complete and no chart comes close, create the patient and file it there. Anything else needs a person: something missing, no birth date, a chart that looks like the same person but doesn't match exactly, or more than one match. For those, open an internal ticket in our Zendesk intake group with the fax attached, the patient's name and birth date, the referring office, what's missing and links to the charts that might be the patient. When the coordinator solves the ticket, read their note and file the referral on the chart they name, create a new patient, or leave it unfiled if they didn't accept it. If they solve it without saying which, reopen the ticket and ask.

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

The flow

Yes Yes Asks a person Until the ticket issolved Starts the flow New fax received Condition Referral? AI agent Read the referral Action Record thereferral Action Search by firstname and birth date Action Create the patient Code Check what needs aperson Action Find or add thereferring physician Action File the referralon the chart Code Settle on the chart Action Get the fax PDF Condition Person needed? Action Find the patient'schart Action Search by last nameand birth date Asks a person Open the intaketicket Action Start waiting Code Write the ticket Action Note the wait ranout Condition Coordinator'sanswer? Condition Came from a ticket? Action Note the referralwas not filed Action Note where it wasfiled

Inside the loop: Until the ticket is solved

Yes No Yes Action Wait 15 minutes AI agent Read the coordinator'sanswer Code Gather thecoordinator's notes Condition Ticket solved? Action Keep the answer Action Read the ticketnotes Action Ask for a clearanswer Action Stop waiting Condition Clear answer? Action Check the ticket

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works

What each step does

  1. New fax received Starts when Documo finishes receiving a fax, with the PDF already saved.
  2. Read the referral An AI agent reads the fax and decides whether it is a referral. If it is, it pulls out the patient's details, the referring office and the reason, and lists any of your must-haves the fax does not include.
  3. Find the patient's chart Searches Healthie by name and birth date, then by last name and by first name with the birth date, to catch a chart that looks like the same person.
  4. Person needed? A complete referral with one exact match goes straight to filing, and a complete one with no chart close to it gets a new patient. Anything missing, no birth date, a near match or two matches needs a person.
  5. Open the intake ticket Opens an internal ticket in your Zendesk intake group with the fax attached, the patient's name and birth date, the referring office, what is missing, and a link to each chart that might be the patient.
  6. Until the ticket is solved Checks the ticket every 15 minutes. Once it is solved, an AI agent reads the coordinator's note: file on a chart, new patient, or not accepted. A ticket solved without a clear answer is reopened with a note asking for one.
  7. File the referral on the chart Files a fresh copy of the fax on the chart, finds or adds the referring physician, records the referral, and notes on the ticket where it went. A referral the coordinator did not accept is left unfiled, with a note on the ticket.

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 Documo and Healthie API keys, and your Zendesk subdomain, agent email and API token.
  • Add your Anthropic key in the flow setting Anthropic key, set Practice time zone, and change Referral must-haves to your own list.
  • Pick your intake group in Open the intake ticket and the provider new patients go to in Create the patient. Pick your receiving fax number in New fax received if the account has more than one.
  • Before solving a ticket, the coordinator adds an internal note that says File on chart and the chart ID, New patient, or Not accepted and why. The flow stops waiting on a ticket after 30 days and says so on the ticket.