---
title: "Carrier hears AP's decision when the invoice ticket is solved | FlowRunner flow"
description: "When AP solves a carrier invoice exception ticket in Zendesk, the carrier gets AP's decision by email in the original invoice thread, and the AP channel in Slack gets the outcome."
url: https://flowrunner.ai/flows/zendesk-carrier-told-when-ticket-solved
date_published: 2026-11-18
date_modified: 2026-11-18T16:18:59-08:00
---

# Carrier hears AP's decision when the invoice ticket is solved

When AP solves a carrier invoice exception ticket in Zendesk, the carrier gets AP's decision by email in the original invoice thread, and the AP channel in Slack gets the outcome.

## The prompt

When AP solves a carrier invoice exception ticket in Zendesk, read the ticket and AP's comments, and write the carrier a short email with AP's decision: paying in full, paying the rate con amount, paying part or not paying, and what to send next. Use only what AP wrote. Send it from our AP Gmail as a reply in the carrier's original invoice thread, post the outcome to our AP channel in Slack, and tag the ticket so the carrier only hears once. If the ticket has no carrier email or no decision from AP, ask AP in Slack to tell the carrier themselves.

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-carrier-told-when-ticket-solved.json)

-   [Zendesk](https://flowrunner.ai/integrations/zendesk)
-   [Gmail](https://flowrunner.ai/integrations/gmail-service)
-   [Slack](https://flowrunner.ai/integrations/slack)

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.  Ticket updated in Zendesk Zendesk tells the flow the moment a ticket changes.
2.  Solved carrier invoice ticket? Only a solved ticket tagged carrier\_invoice goes on, and only once: a ticket already tagged carrier\_told stops here.
3.  Read AP's comments on the ticket Reads the exception details and every comment AP wrote. A ticket with no carrier email or no decision comment goes to AP in Slack, to tell the carrier by hand.
4.  Write the reply to the carrier An AI agent writes a short email from AP's comments only: which invoice and load, what AP will pay and why, and what the carrier should send next, such as a corrected invoice or proof for detention.
5.  Email the carrier in the invoice thread Sends the email from the AP Gmail account as a reply in the thread the carrier's invoice came in.
6.  Post the outcome to AP Posts the decision and a link to the ticket to the AP channel in Slack.
7.  Tag the ticket carrier told Adds the carrier\_told tag, so later updates to the ticket don't email the carrier again.

## Need a custom carrier invoice disputes automation? Our team can build it for you.

Tell us the process. Our implementation team at Midnight Flow builds it around how you work, tests it on your real data, and keeps it running, in your own FlowRunner workspace.

[Have us build it](https://midnightflow.ai/packages/custom?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=general&utm_content=flows.aside&utm_term=zendesk-carrier-told-when-ticket-solved)

## Before you turn it on

-   Enter your Zendesk subdomain, agent email and API token, and connect Slack and the Gmail account the carrier invoices come into.
-   Add your Anthropic key in the flow setting Anthropic key.
-   Pick your AP channel in Post the outcome to AP and Ask AP to tell the carrier.
-   This flow answers tickets opened by the carrier invoice exception flow, which writes the carrier's email and the Gmail thread on each ticket. AP writes the decision in a comment before solving.

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

---
Markdown version of https://flowrunner.ai/flows/zendesk-carrier-told-when-ticket-solved. Site index: https://flowrunner.ai/llms.txt
