FlowRunner
Features Pricing
Theme
Start Free

Disputed detention, lumper and TONU charges to Freshdesk tickets

Customers email billing to dispute an accessorial or TONU charge. This flow opens a Freshdesk ticket with the load's paperwork linked and asks your billing lead whether to credit it.

The prompt

When a customer emails our billing inbox in Gmail disputing a detention, lumper, layover or TONU charge, read the email and pull out the load number, invoice number, PRO, the charge, the amount and their reason. Search the mailbox for emails with attachments that mention the load, and open a Freshdesk ticket for the customer with links to their email and to each piece of paperwork found. Then ask the billing lead in Slack, with Credit the charge and The charge stands buttons, and wait for the answer. If they credit it, reply to the customer from the ticket and leave a note for billing to issue the credit. If it stands, leave a private note so an agent replies with the backup.

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

The flow

Yes No Yes Asks a person Ask the billinglead Condition Credit the charge? Code Write the ticket Action Tell the customerit will be credited AI agent Read the dispute Condition Charge dispute on aload? Asks a person Wait for the billinglead's answer Action Note the credit toissue Starts the flow New dispute email Action Note that thecharge stands Code Write the question forthe billing lead Action Find the load'spaperwork Action Open the disputeticket

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 dispute email Checks the billing inbox in Gmail every 5 minutes for emails about a dispute, a short pay, detention, lumper, layover or TONU.
  2. Read the dispute An AI agent reads the email and pulls out the load number, invoice number, PRO, the charge, the amount and the customer's reason, and tells a real dispute apart from remittances and carrier emails.
  3. Charge dispute on a load? Only a dispute that names a load, invoice or PRO goes on. Anything else stays in the inbox for a person.
  4. Find the load's paperwork Searches the mailbox for emails with attachments that mention the load: the rate con, BOL, POD, lumper receipt or TONU notice.
  5. Open the dispute ticket Opens a Freshdesk ticket with the customer as requester, tagged billing-dispute and the charge, with links to the customer's email and to each paperwork email.
  6. Ask the billing lead Posts the dispute to the billing lead in Slack: who, which load, which charge and why, and two buttons, Credit the charge and The charge stands.
  7. Wait for the billing lead's answer The run waits for the click. A credit sends the customer a reply from the ticket and leaves a private note for billing to issue it. A charge that stands gets a private note so an agent replies with the backup.

Before you turn it on

  • Connect your Gmail and Slack accounts, and enter your Freshdesk domain and API key.
  • Add your Anthropic key in the flow setting Anthropic key.
  • Copy the URL of the block Wait for the billing lead's answer into the flow setting Answer link. The Slack buttons open it.
  • Pick your Slack channel in Ask the billing lead, and narrow the Gmail search in New dispute email to your billing inbox if it shares a mailbox.