Integration roadmap: a procurement automation example

Material structure
136hours of work
17days of net work
4phases
9automation points

Philosophy

Real use of the system is part of development.

The automation is adjusted on real employee tasks: production use is a necessary phase of testing and stabilization.

The result is delivered as early as possible.

For that reason the work is split into phases: each one delivers a complete result, and its trial period starts right away. The next phase starts by a separate decision after acceptance of the previous one.

Cheap and safe first.

Price requests are automated first: the agent works only with external data, and the result is visible on the very first spec. Access to Zoho Inventory is added in phase 2 together with perimeter separation.

Optimal points: cost, risks, outcome

The points are ordered by the ratio of outcome to cost and risk: the earlier the phase, the cheaper the point and the lower the cost of an error.

Automation pointPhaseHoursMain riskOutcome
Spec parsing18The document is recognized only partiallyThe agent extracts items, the employee confirms
Supplier search112Irrelevant and duplicate suppliersSupplier registry for each item
Sending requests18WhatsApp limits on bulk messagingRequests in WhatsApp from a template
Collecting prices and terms14Incomplete supplier repliesReplies in Google Sheets with a completeness flag
Phone requests1.516Dependence on the provider and recognition qualityThe voice agent places outbound calls and takes inbound ones
Stock level monitoring220Ambiguous data in Zoho InventoryThe agent finds low-stock items
Price request assignment212Leak of internal data into external correspondenceAssignment to the communications agent without human involvement
Supplier correspondence328Routing depends on the quality of the contact bookAll channels in one system, the agent and the employee run the conversation together
Purchase order316Erroneous purchase orderDraft purchase order at the agreed prices

The points add up to 124 hours. Another 12 hours go to the shared foundation: the base AI agent infrastructure and the AI traffic gateway.

Phases and estimate

The scale is in working hours from the start of work; a business day counts as 8 hours.

diagram…

The scale shows the net time of sequential execution without pauses for acceptance. Phases 1.5 and 2 depend only on phase 1, phase 3 requires phase 2. If phase 1.5 is skipped, the milestones of phases 2 and 3 move 16 hours earlier.

After each phase a trial period on real tasks is planned: one or two weeks, and the decision on the next phase is made based on its results. It is not included in the scale, so the calendar duration of all phases is two to three months.

Effort is stated with a margin for the expected complexity; the exact estimate is produced after the requirements are formalized. Preparing test datasets and running quality evals are included in the effort of the features; ground truth labeling is done by an employee of the company.

Phase 1. Price requests for a spec

The employee uploads the spec to the chat, the agent finds suppliers, sends requests in WhatsApp and consolidates the replies in Google Sheets.

Base AI agent infrastructureEnvironment, execution perimeter, granular permissions, action log
8 h
AI traffic gatewaySingle egress point for agents to the AI provider, company subscription
4 h
Communications AI agent, chat interface and supplier searchChat via a direct link: task assignment, clarifications, statuses. Internet search for each item, supplier registry with contacts
12 h
Spec intake and parsing, price request procedureExcel, Word and PDF documents; item extraction and normalization. Supplier selection rules, request content, request statuses, handover of the task to an employee
8 h
Multichannel aggregator with WhatsApp, conversation linkingRequest template; linking of messages to the task, item and supplier; conversation view and manual reply by the employee
8 h
Writing replies to Google SheetsRegistry of prices and terms with an agreed structure
4 h
Phase 144 h
Acceptance criteria accepted on an agreed test spec
The base infrastructure is deployed, access rights and the action log are configured. The AI traffic of the agent goes through the gateway.
An authorized employee opens the chat via a direct link and uploads a spec in the agreed format. The agent creates a task with an identifier and a status.
A list of items with name, specifications, quantity and units is extracted from the spec. The employee confirms or edits the list before the search starts. Unrecognized lines are flagged.
Suppliers with contacts are found for each confirmed item. They are deduplicated and entered in the registry with a link to the item.
Requests are sent in WhatsApp through the multichannel aggregator using the agreed template. Replies are linked to the task, item and supplier. A supplier without a WhatsApp number is flagged in the registry for a manual request.
The employee sees the conversations with suppliers in the multichannel aggregator and can reply manually. After a manual reply the agent stops automatic messaging in that conversation.
The reply is written to Google Sheets with the price, minimum order quantity, lead times, comment, source and a completeness flag. An incomplete reply is saved with an explicit flag.
A repeat run on the same spec continues the open requests. A send failure for one supplier does not stop the other requests.
The procedure is loaded and gives a reproducible result on a repeat test run.
Eval metrics for the phase steps are at or above the agreed thresholds.

Phase 1.5. Voice AI agent

The phone is added to the phase 1 requests: the agent calls suppliers following a script and takes inbound calls.

Phone communication: outbound and inboundVoice agent: outbound calls following a script and handling of inbound calls; the call recording and transcript are published in the multichannel aggregator conversation; the call script is in the procedure
16 h
Phase 1.516 h
Acceptance criteria accepted after acceptance of phase 1
Telephony is connected to the multichannel aggregator. Calls are shown next to the messages and are linked to the task, item and supplier.
The voice agent places an outbound call following the approved script and takes an inbound call on a dedicated number. At the start of the call the agent states that an AI assistant is calling and that the call is being recorded. The call is recorded and transcribed.
The price and terms from the call are written to Google Sheets with the source "call". A request outside the script is handed over to an employee.
Eval metrics for the phase steps are at or above the agreed thresholds.

Phase 2. Internal perimeter

The operations agent works with Zoho Inventory: it finds low-stock items, identifies the suppliers and issues an assignment to the communications agent.

Operations AI agentAnalytical queries on Zoho Inventory data and permitted actions through its API; the same AI traffic gateway, shared token pool
4 h
Channel between AI agents and separated perimetersOne-way transfer of the assignment, isolation of the internal perimeter
8 h
Connecting the Zoho Inventory APIAuthorization and technical interaction
16 h
Procedure for working with Zoho InventoryRules for retrieving stock levels, selecting items and preparing the assignment; the supplier and contact are taken from Zoho Inventory and the phase 1 supplier registry
4 h
Phase 232 h
Acceptance criteria accepted after acceptance of phase 1 on an agreed test sample
The employee starts a price update through the chat. The operations agent retrieves current stock levels and the item catalog from Zoho Inventory.
The operations agent answers the agreed set of analytical queries and performs permitted actions through the API within the permissions of the employee.
Following the approved rules, the agent identifies low-stock items and determines the suppliers. Ambiguous data is flagged for the employee.
An assignment with the supplier, contact, requested fields and reply deadline is generated for the selected items. It is passed to the communications agent over a one-way channel.
The communications agent receives exactly the assignment data. Internal data stays in the internal perimeter.
The operations agent reads the results from the spreadsheet as typed fields. Free text from the supplier does not enter its context.
Access errors and incomplete data are shown to the employee and recorded in the log.
Eval metrics for the phase steps are at or above the agreed thresholds.

Phase 3. Multichannel communication and purchasing

The communication channels are extended: email and Telegram are added to WhatsApp, and a single contact book with channel selection rules is introduced. The agent and the employee run one conversation jointly: the agent takes manual messages into account and continues the automation. For the marked items the agent takes the conversation with the supplier through to a purchase order.

Channel expansion: email and TelegramSending requests and receiving replies in a linked conversation
8 h
Contacts and routingSingle contact book: supplier, items, channels; channel selection by routing rules
12 h
Collaboration and escalationsThe agent receives the context of manual messages from the employee and continues the automation; a conversation that requires a human is escalated
8 h
Generating the draft purchase orderDraft purchase order at the agreed prices and terms of the supplier
12 h
Communication and purchasing procedureChannel routing rules, conversation continuation and the draft purchase order
4 h
Phase 344 h
Acceptance criteria accepted after acceptance of phase 2
Email and Telegram are connected to the multichannel aggregator. If one channel fails, requests through the others keep working. Conversations across all channels are stored in one system, calls included if phase 1.5 is completed.
The agent receives the context of messages from the employee and continues the automation taking manual actions into account. A chat that requires a human is flagged and escalated.
The channel for each supplier is selected according to the contact book and the routing rules.
The "Continue conversation" checkbox starts a request for an offer and order terms. A structured draft purchase order is generated for the marked items. The employee can stop the continuation.
Eval metrics for the phase steps are at or above the agreed thresholds.

Summary

PhaseHoursBusiness daysAcceptance, day from start
Phase 1. Price requests for a spec445.55.5
Phase 1.5. Voice AI agent1627.5
Phase 2. Internal perimeter32411.5
Phase 3. Multichannel communication and purchasing445.517
Total13617
How to read contractor responses

A contractor's price for a phase equals the hours multiplied by that contractor's rate. If the price at that rate implies several times more hours, this is grounds for a question: what the contractor includes beyond the agreed scope of work.