---
title: "Critical lab values escalated from a Teams card to a phone call | FlowRunner flow"
description: "Sends a critical lab value from Healthie to the on-call clinician on a Teams card, calls their phone after 30 minutes, and brings in the clinical lead 15 minutes after that."
url: https://flowrunner.ai/flows/microsoft-teams-critical-lab-value-to-on-call
date_published: 2026-11-30
date_modified: 2026-12-01T14:07:54-08:00
---

# Critical lab values escalated from a Teams card to a phone call

Sends a critical lab value from Healthie to the on-call clinician on a Teams card, calls their phone after 30 minutes, and brings in the clinical lead 15 minutes after that.

## The prompt

When Healthie receives a lab result with a value the lab flagged critical, send the on-call clinician a card in our on-call Teams channel with the patient's name and birth date, the ordering provider, each value the lab flagged with its units and the lab's range, a link to the chart and an Acknowledge button. If nobody acknowledges in 30 minutes, call the on-call phone with Twilio and say that a critical lab result for the patient's initials needs attention and to check Teams. Never read the value out loud. If there's still no acknowledgment 15 minutes after the call, send the same card to the clinical lead's channel and call their phone too. When someone acknowledges, say so in the card's thread.

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/microsoft-teams-critical-lab-value-to-on-call.json)

-   [Microsoft Teams](https://flowrunner.ai/integrations/microsoft-teams)
-   [Healthie](https://flowrunner.ai/integrations/healthie)
-   [Twilio](https://flowrunner.ai/integrations/twilio)

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 lab result in Healthie Starts when Healthie receives a lab result, with the patient, the ordering provider and each value with the lab's flag.
2.  Critical flag on the result? A value counts as critical when its flag is one of the codes in the flow setting Critical flag codes, or when the lab's interpretation says critical. A result with neither ends here.
3.  Send the card to on-call Posts a card in the on-call channel with the patient's name and birth date, the ordering provider, each value the lab flagged with its units and the lab's range, a link to the chart and an Acknowledge button.
4.  Wait for an acknowledgment Waits for a press of Acknowledge on either card, and confirms in the on-call card's Teams thread who acknowledged.
5.  Call the on-call clinician If nobody acknowledges in 30 minutes, Twilio calls the on-call phone. The message gives only the patient's initials and asks them to check Teams, so no value is left on a voicemail.
6.  Send the card to the clinical lead Still no acknowledgment 15 minutes after the call: the clinical lead gets the same card in their channel.
7.  Call the clinical lead Twilio calls the clinical lead's phone with the same short message.

## 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 faxed lab order and result read, checked, and ready for your staff to approve
    
    Built and tested by our team. Runs on your FlowRunner plan.
    
    [Have us build this](https://midnightflow.ai/packages/lab-order-and-result-intake?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=lab-orders-and-results&utm_content=flows.aside&utm_term=microsoft-teams-critical-lab-value-to-on-call)

## 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 Healthie API key and your Twilio account details, and connect your Microsoft Teams account.
-   Copy the URL of the block Wait for an acknowledgment into the flow setting Answer link. The Acknowledge buttons open it.
-   Fill in the flow settings Teams team ID, On-call channel ID, Clinical lead channel ID, On-call phone number, Clinical lead phone number and Twilio calling number. Change On-call phone number when the rotation changes.
-   Set the flow setting Critical flag codes to the flags your labs print for a critical value, such as HH, LL, AA, C, CR, CRIT, PANIC.

[Everything FlowRunner does with Microsoft Teams](https://flowrunner.ai/integrations/microsoft-teams)

---
Markdown version of https://flowrunner.ai/flows/microsoft-teams-critical-lab-value-to-on-call. Site index: https://flowrunner.ai/llms.txt
