Agentic Workflow to Automate Payment to Vendors

Company
Nuvocargo
Role
Sr. Product Designer & Builder
Date
2026

Context

As a cross-border freight broker between Mexico and the US, Nuvocargo needed to pay carriers for every completed load. Before issuing each payment, the finance team had to manually collect and approve key documents such as the Proof of Delivery (POD) and the carrier’s invoice.

Problem

Carrier payments were consistently delayed, which hurt our credit score and reputation with carriers. Carriers priced that risk into their rates, so slow payments became a margin problem on every load we moved.

Process

We started by sitting with the Finance and Carrier Ops teams to understand the root causes of the delayed payments:

  • The Proof of Delivery went through multiple handoffs across different departments on the carrier’s side.
  • Once our team received the documents, they had to manually verify that the data matched our system.
  • Rejection reasons weren’t clear, and there was no tool for the team to follow up on pending documents.

Next, we built the foundational pieces the agentic workflow needed, such as automated document validation and line item statuses for the Purchase Order.

Lastly, we defined the criteria for a Purchase Order to be executed in the TMS, which triggered the payment in TriumphPay:

  • POD approved
  • Invoice approved
  • All payable line items approved

Solution

We built an agentic workflow that started the moment a shipment arrived at its destination, and took care of the repetitive tasks in three steps:

  • Collection: The agent reached out to the driver via SMS to request the POD. If it couldn’t get it, it reached out to the dispatcher, and later requested the invoice from the billing department.
  • Validation: Once the documents were in the system, the agent checked that their data matched our records. When the invoice total didn’t match, often because of accessorial charges like detention, the agent created a line item for the difference with a “Review” status, so a rep could find where it came from and decide whether to approve or reject it.
  • Execution: Once the POD, the invoice and all payable line items were approved, the purchase order was executed automatically and payment was issued through the ERP.

If a document couldn’t be collected or validated within the expected time, the agent created an escalation with all the context needed for a human to step in and take the right action.

NuvoOS shipments table with POD and invoice statuses, a shipment’s financials tab where the Pay Vendor agentic workflow flags an invoice mismatch, and the workflow’s completed conditions: POD approved, invoice approved, payment issued via TriumphPay

Outcome

The agentic workflow executed 95% of carrier payments automatically, without anyone touching them. Finance and Carrier Ops only stepped in when the agent raised an escalation. Escalations worked as guardrails: the agent handled the routine work, and people made the judgment calls. Paying carriers stopped taking up more bandwidth with every new load and became a scalable workflow that also improved Nuvocargo’s credit score and reputation with carriers.

“Sebas brings a calm and collected presence to the team, consistently focusing on finding simple solutions to highly complex problems. His contributions are specially strong when balancing a scrappy execution mindset with thoughtful product thinking. He asks well-framed questions and takes time to think deeply about the problem, which leads to smarter solutions.”
S. Grodzins, Engineering Manager