AI Voice Agent for NetSuite Vendor Payment Status

NetSuiteAIVoice AgentsRetelln8nAccounts Payable

Vendors call AP for one reason more than any other: when's my invoice getting paid. Someone on the AP team has to stop what they're doing, pull up the bill in NetSuite, check the approval status, and read it back. It's a two-minute interruption that happens a dozen times a week.

I built an inbound voice agent that takes those calls instead. It's the AP-side sibling to an order-status agent I built earlier in this series for customers; same idea, aimed at vendors instead.

How it works

The moment the phone rings, before the agent says a word, NetSuite gets queried for a vendor record matching the caller's phone number. If it finds one, the agent greets the vendor by name. No "who's calling," no company name request, no verification questions. That lookup also scopes everything that follows: the agent can only pull bills belonging to that one verified vendor, so a caller can't fish for information on someone else's account.

From there it's short. The vendor names an invoice number, the agent queries NetSuite for that bill's status, due date, and amount, and reads it back in one sentence. Once the call ends, the whole exchange gets logged as a note on the vendor's record in NetSuite, so there's a paper trail without anyone typing it up.

The bug that almost shipped wrong

During testing, the agent told a vendor their invoice was "in final approval" while the bill on screen clearly said Approved. Wrong on a phone call is worse than wrong in a report, because someone's making a decision off what they just heard. The cause: NetSuite tracks a vendor bill's payment status and its approval status as two separate fields, and the query was reading the wrong one. Once I pointed it at the actual approval status field, the two matched. It's a reminder that a working demo isn't the same as a correct one; you don't find that gap until you compare what the voice says against what the screen shows, side by side, on a real record.

The stack

  • NetSuite: vendor and bill data, source of truth for both lookups (SuiteQL for the queries, REST API for the write-back note)
  • Retell AI: the voice agent, including the caller-ID verification on ring
  • n8n: connects the two, before, during, and after the call

Demo's on LinkedIn.