Carrier setup packet to a Ramp Bill Pay vendor
A carrier emails its setup packet to AP. This flow reads the W-9, insurance and bank details, checks Ramp for the carrier, and asks the AP lead before creating the vendor.
The prompt
When a carrier emails a setup packet to our AP inbox in Gmail, read it and pull out the legal name, DBA, MC and DOT numbers, whether the W-9 is signed, when the insurance expires, any factoring company on a notice of assignment, who we pay, the routing and account number, the remit-to address and the billing contact. Check whether the carrier is already a vendor in Ramp. If it is, tell AP in Slack and show what Ramp has next to what the packet says. If it isn't, ask the AP lead in Slack with the packet details, the account number masked, and Create the vendor in Ramp and Don't create it buttons, and wait for the answer. On Create, add the carrier as a Ramp Bill Pay vendor, paid by ACH when the packet has bank details and by check when it doesn't.
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 setup packet email Checks the AP inbox in Gmail every 5 minutes for an email with an attachment and setup packet, carrier packet or carrier setup in the subject.
- Read the packet An AI agent reads the packet PDF and pulls out the legal name, MC and DOT numbers, whether the W-9 is signed, the insurance expiry, any factoring company, the routing and account number, the remit-to address and the billing contact, and notes anything missing.
- Look for the carrier in Ramp Searches the Ramp Bill Pay vendors for the carrier's name.
- Already a vendor in Ramp? When the carrier is already a vendor, AP gets a Slack message with what Ramp has next to what the packet says, so a changed remit-to or bank account is checked with the carrier by a person.
- Ask the AP lead A new carrier goes to the AP lead in Slack: the packet details, the account number masked to its last four digits, what is missing, a link to the packet, and two buttons, Create the vendor in Ramp and Don't create it.
- Wait for the AP lead's answer The run waits for the click. Don't create it leaves Ramp unchanged and says so in the Slack thread.
- Create the vendor in Ramp Create adds the carrier as a Ramp Bill Pay vendor, paid by ACH with the packet's bank details, or by check when there are none, with the MC, DOT, factoring company and remit-to in the vendor notes. The thread confirms it.
Before you turn it on
- Connect your Gmail and Slack accounts, and enter your Ramp client ID and client secret in the Ramp settings.
- Add your Anthropic key in the flow setting Anthropic key.
- Copy the URL of the block Wait for the AP lead's answer into the flow setting Answer link. The Slack buttons open it.
- Pick your Slack channel in the four Slack steps, and narrow the Gmail search to your AP inbox if it shares a mailbox. The flow reads the first attachment, which is how onboarding services send a finished packet.