OS&D claim ticket in Zendesk from an emailed POD
Carriers email PODs to your AP inbox. When a POD notes a shortage, overage, damage or refusal, this flow opens an OS&D ticket for claims and tells billing to hold the load.
The prompt
When a POD comes into our AP inbox in Gmail, read it and pull out the load number, PRO and BOL, the carrier and consignee, and any shortage, overage, damage or refusal the consignee wrote on it. If the POD is clean, do nothing. If something is noted, look in Zendesk for an open OS&D ticket on that load. If there is one, add the new POD to it as an internal note. If not, open a high priority OS&D ticket for claims, tagged osd, with the load number, PRO, what was noted and a link to the POD email, and post in Slack telling billing to hold the load.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
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
- New POD email Checks the AP inbox in Gmail every 5 minutes for an email with an attachment and POD, proof of delivery or delivery receipt in the subject.
- Read the POD An AI agent reads the saved PDF and pulls out the load number, PRO and BOL, the carrier, the consignee, the delivery date, and any shortage, overage, damage or refusal written on it.
- Shortage, overage or damage noted? A clean POD stops here. A POD with something noted on it goes on to claims.
- Look for an open OS&D ticket on the load Searches Zendesk for an open ticket tagged osd with the same load number. When one is open, the new POD goes onto it as an internal note instead of a second ticket.
- Open the OS&D ticket for claims Opens a high priority ticket tagged osd, with the load number and PRO in the subject, what the consignee noted, the carrier and consignee, and a link to the POD email.
- Tell billing to hold the load Posts to billing in Slack: the load, the PRO, what the POD notes, and the Zendesk ticket number, so the load is not billed before claims looks at it.
Before you turn it on
- Connect your Gmail and Slack accounts, and enter your Zendesk subdomain, agent email and API token.
- Add your Anthropic key in the flow setting Anthropic key.
- In Open the OS&D ticket for claims, pick your claims group or the agent who works claims.
- Pick your billing channel in Tell billing to hold the load, and narrow the Gmail search to your AP inbox if it shares a mailbox.