Receive and approve internal procurement requests through AI chat

Workflow purpose

This guide demonstrates how a procurement team can use Proto's AI agent to receive purchase requests from internal departments and route them for approval – without email chains, missing quotes or requests that sit unanswered in an inbox.

Staff describe what they need in a chat on the intranet or on WhatsApp. The AI agent collects every detail the procurement policy asks for, checks the budget line, and opens a ticket for the right approver based on the value of the request. Approvers review and decide in Proto's Inbox, and the requester is kept informed by email.

Who can benefit from this guide:

  • Procurement and supply chain units in government agencies and regulators
  • Finance teams that approve spending against departmental budgets
  • Banks, telecoms operators and hospitals with internal purchasing policies
  • Any organisation where approval levels depend on the value of a purchase

Receive and approve procurement requests

This workflow collects a complete procurement request, checks the budget and routes it to the right approver 24/7. See how to build a procurement request workflow.

Just starting with the platform?
For initial setup of your AI agent – including workspace setup, agent training, and channel deployment – please start here. This workflow guide assumes your AI agent is set up and ready for more advanced configurations.

1. Create a trigger

Start the flow when a member of staff asks to buy goods or services.

  • Navigate to the Workflows tab in the AI agent settings.
  • Click New workflow and select Message received as the Workflow type.
  • Name the trigger (e.g. “Procurement Request”) and add a short description (e.g. “Triggers if a member of staff wants to request, buy or order goods, services or equipment for their department.”).
  • Add training phrases (e.g. “I need to buy a laptop”, “Raise a purchase request”, “Request new office chairs”, “We need to hire a consultant”).

Deploy the AI agent on a channel staff already use – a Webchat on the intranet, or a WhatsApp number for staff working away from a desk.

2. Send an opening message

Tell staff what they’ll need before they start.

Add a Send message action:

“I can raise a procurement request for you. I’ll ask what you need, the estimated cost and the budget line it comes from. If you have quotes from suppliers, have them ready to upload.”

3. Collect the request

Ask for every detail the procurement policy requires, so approvers never have to chase missing information.

Add an Ask survey action. Action title: Procurement request

Field Variable Type Invalid reply
Your department department Text, with quick replies for each department Please choose your department
What do you need? item_description Text Please describe the goods or services you need
Quantity quantity Number Please enter a number
Estimated total cost estimated_cost Number Please enter the cost as a number, without currency symbols
Budget line or cost centre cost_centre Text Please enter the budget line or cost centre code
When do you need it by? needed_by Text Please give a date
Why is it needed? justification Text Please explain briefly why this purchase is needed
Upload your quotes quotes Attachment Please upload the quotes as files
Your work email email Email Please provide a valid email address

Turn on Enable skip for the quotes field only, so low-value requests can go ahead without one. On a signed-in intranet Webchat, you can take the email from the {_customer.email} system variable instead of asking for it.

4. Check the budget

Confirm the money is there before an approver spends time on the request.

Add a Send API action:

  • HTTP method: GET
  • URL endpoint: your finance or ERP system’s budget endpoint, passing cost_centre
  • Headers: the authorisation key your system requires
  • Resulting variable: budget_check

If budgets are held in a database, use a SQL Query action – available on Enterprise plans – against a connection set up in Database Connections instead – a read-only query such as SELECT available FROM budgets WHERE cost_centre = $1, with Bind parameters $1 set to {cost_centre}.

Then add a Set variable action to store budget_available. Under the Error and Timed out branches, let the request continue and add a note in the ticket description that the budget couldn’t be checked, so no request is lost.

Add a Branch action: if estimated_cost > budget_available, send a Send message:

“There isn’t enough left on budget line {cost_centre} for this request. I’ll still send it to procurement, marked as over budget, so your budget holder can decide.”

Set a variable over_budget to Yes in this branch, so it can be tagged on the ticket.

5. Confirm the request

Let staff check the details before anything is submitted.

Add a Send message action that plays the request back:

“Here’s your request: {quantity} × {item_description} for {department}, estimated at {estimated_cost}, from budget line {cost_centre}, needed by {needed_by}. Shall I submit it?”

Add quick replies: Submit | Start again. Under a Message received sub-trigger for Start again, add a Jump action back to Step 3.

6. Route by value and open a ticket

Send each request to the approver your procurement policy names for its value, with everything they need in one place.

Add a Branch action with one condition per approval level. Set the thresholds from your own procurement policy – for example:

Condition Assignee
estimated_cost < 10000 Procurement officers team
estimated_cost < 100000 Head of procurement
Else Procurement committee team

Under each condition, add a Create ticket action:

  • Assignee: the team or person for that approval level
  • Subject: Procurement request – {department} – {item_description}
  • Description: quantity, estimated cost, cost centre, budget available, date needed and justification, using the variables from Steps 3 and 4
  • Full name and Email: the requester’s details
  • Auto-apply tags: procurement, plus the value band (e.g. under-10k) and over-budget where it applies
  • Custom fields: department, estimated cost and cost centre, so approvers can filter and report on them
  • Email template: a confirmation sent to the requester with the ticket reference, and a notification sent to the assignee

The uploaded quotes stay with the conversation, so the approver sees them alongside the request.

Then add a Send message:

“Your request has been sent to procurement for approval. You’ll get a confirmation email with your reference number shortly.”

7. Approve in the Inbox

Give approvers one place to review, ask questions and decide.

Approvers open the ticket in the Inbox, read the request and quotes, then reply to the requester from the ticket:

  • Need more information: reply with the question and set the ticket to Pending while waiting for an answer.
  • Approved or Rejected: reply with the decision and any purchase order number, add an approved or rejected tag, then set the ticket to Resolved.

Tags and custom fields make every decision reportable – for example, approvals by department, or how many requests arrived over budget.

8. Escalate requests that wait too long

Stop requests stalling with an approver who is away.

Check the teamspace’s overdue rule in Settings › Tickets › Overdue rules – it applies to every ticket, not just procurement requests. For example:

  • Apply overdue status after: 3 days
  • Exclude weekends: on
  • Reassign ticket to live agent: a deputy approver or the head of procurement

If your policy sets a shorter turnaround for procurement, put it in the ticket description and have approvers keep an Inbox view filtered on the procurement tag.

9. Test the flow

Validate every path before going live using the AI agent tester side panel.

  • Submit one request at each approval level and check it reaches the right assignee with the right tags.
  • Submit a request above the available budget and confirm it’s tagged over-budget.
  • Make the budget check fail and confirm the ticket is still created with a note.
  • Choose Start again at the confirmation and check the answers are collected again.
  • Leave a test ticket unanswered past the overdue timeframe and confirm it’s marked overdue and reassigned.
  • Build and test in an undeployed version – Duplicate the live version first – then Deploy it once every path passes.

Finalise the AI agent deployment by configuring your preferred channels and languages.