Summary
The purchase requisition (PR) review process was consuming significant time and resources. The Pure Storage team leveraged generative AI (OpenAI), Python, and other tools to build its own PR Review Assistant, which cut the time spent on the process by more than half and improved accuracy and compliance.
In most enterprises, the purchase requisition (PR) process is a universal source of friction—not just for procurement, but for engineering, supply chain, sales, marketing, and product teams as well. Every department encounters bottlenecks as they wait for manual reviews, cross-system data validation, and compliance approvals to move forward, consuming significant time and resources.
At Pure Storage, each PR previously took from 15 minutes to as much as 2 hours to review, multiplied across thousands of submissions annually and affecting all organizational functions. This case study describes how we built and integrated an AI-powered “PR Review Assistant” using Python and enterprise connectors. By automating review, validation, and compliance checks, we reduced typical PR review times from as long as two hours down to just a few minutes, dramatically relieving process bottlenecks company-wide.
The core insight: AI is a powerful, accessible tool for tangible operational improvements, moving beyond hype to deliver measurable results.
Deconstructing the Solution: How AI and Python Streamlined PR Reviews Our PR Review Assistant was engineered to intelligently automate the meticulous checks typically involved in PR validation.
The technology at its heart:
- Core framework: Developed using Python, known for its versatility and extensive AI/ML libraries
- Intelligence engine: Leverages generative AI (OpenAI) for tasks like understanding PR context, reading data within attachments, and translating foreign language SOWs to English
- Enterprise integration: Connects seamlessly with the ERP system and Allocadia via their respective APIs to fetch and validate data in real time
- Cloud infrastructure: Utilizes AWS automated workflows and management and GCP emails and GSheet tracker
The automated workflow:
- Data ingestion: Upon PR submission in the ERP system, the assistant automatically pulls all relevant PR data, including line items and attachments, alongside budget details from Allocadia.
- AI-powered validation: The Python-based system then orchestrates up to 12 distinct automated checks. These range from validating Allocadia/Budget IDs and budget alignment to ensuring correct GL codes, start/end dates, amortization timelines, and the presence of necessary documentation. The LLMs play a key role in contextual understanding and even extract information from attached documents for validation.
- Actionable reporting: The assistant generates a comprehensive PR Review Report detailing a Pass/Fail status for each check. For failed checks, it provides clear rationale, guiding the original requester on necessary corrections before it reaches a human approver.

Figure 1: Purchase requisition review process using the AI-powered PR Review Assistant.
This intelligent pre-screening significantly reduces the burden on human approvers, allowing them to focus on higher-value strategic assessment rather than routine checks. The AI acts as a diligent assistant, enhancing accuracy and speed, not replacing the ultimate human oversight.
Our Journey: From Proof of Concept to Production
Developing and deploying a solution like this was an iterative process:
- Phase 1: Standardization (2 Months): The project began with a deep dive into existing PR review processes, identifying pain points and areas ripe for automation. Standardizing these processes was a crucial first step.
- Phase 2: MVP Development (1 Month): With a clear understanding, a minimum viable product (MVP) was rapidly developed using Python to test core functionalities and the viability of AI-driven checks.
- Phase 3: Iteration and Validation (3 Months): Based on rigorous testing and feedback from internal stakeholders, the MVP was iteratively refined, enhanced with more complex checks, and validated to ensure robustness and accuracy.
This phased approach allowed for flexibility and continuous learning and ensured the final solution was well-aligned with business needs.
The Impact: Measurable Gains and Lessons Learned
The PR Review Assistant, now in full production for our Marketing and G&A departments that account for 4,000 PRs annually, has delivered significant benefits:
- Drastic time reduction: We’ve achieved over a 50% reduction in the time spent on the entire PR review journey. This translates to thousands of hours saved annually with a positive ROI.
- Improved accuracy and compliance: Automation minimizes manual errors and ensures better adherence to Finance and Procurement policies from the point of submission.
- Increased operational efficiency: The approval cycle is smoother and faster with fewer rejections and clarifications.
- Empowered users: Requesters receive quicker, clearer feedback, enabling faster corrections.
- Demonstrable ROI: The significant time savings and efficiency gains deliver a clear return on investment, saving hours across Finance, Procurement, and business stakeholders. What has been particularly rewarding is seeing how this technology, which began with a standardized process, enabled the team to scale seamlessly from one function to another, all without incurring additional costs.
Outcomes: What Are Our Business Partners Saying?
Users across various teams shared how the new process has improved their day-to-day experience:
“Saves a lot of time—changes can be done immediately to the PR and resubmitted without waiting on other teams.”
“It helps when I’m missing required pieces—I can go back and update the PR so it gets approved quicker.”
“We’re learning from past errors, and PRs are going through more smoothly and getting approved faster.”
”The assistant gives much faster feedback to the user, which is a very positive thing.”
Inspiring Your AI Journey: Key Takeaways and Considerations
This project underscores that AI can be practically applied to solve everyday business challenges. For those looking to embark on similar initiatives:
- Start with a clear problem: Identify a high-impact, high-volume, and standardized business process with clear pain points—one that can benefit from automation and intelligence, and where success can be easily measured—to achieve quick, visible efficiency gains.
- Understand your data and systems: Successful AI solutions rely on accessible, good-quality data and the ability to integrate with existing enterprise systems.
- Embrace an iterative approach: Start with an MVP and build incrementally. This allows for testing, learning, adaptation, and stakeholder buy-in along the way.
- Choose the right tech stack: Python, with its rich ecosystem for AI/ML, combined with cloud services and API integrations, offers a powerful and flexible foundation.
- Focus on augmentation, not just automation: Frame AI as an assistant that empowers human teams, freeing them for more strategic work.
- Involve stakeholders early: We’ve learned that any new change can spark a bit of resistance, and that’s to be expected. The best way to get ahead of it is to bring in the people who’ll actually use the tool from day one. They’ll not only share great feedback early on but also help spread the excitement and become your biggest champions once the new AI goes live.
- Lead with effective change management (and a little fun): Use leaderboards or friendly challenges to spark excitement, while keeping leaders informed, sharing AI training videos, hosting Q&A sessions, and maintaining feedback loops to sustain adoption and engagement.
- Measure and communicate impact: Track key metrics to demonstrate value and share your successes to foster further innovation.
We believe our journey with the PR Review Assistant offers a compelling example of AI in action. The principles and technologies applied here are adaptable to a wide range of business processes.
Want to learn more or discuss how these insights could apply to your challenges?
- Consider exploring how your organization’s common pain points could be addressed with a similar AI-assisted approach.
- We encourage sharing this story and fostering discussions within your teams about the potential of applied AI.
By sharing our experience, we hope to inspire others to explore the transformative potential of AI in their own operational landscapes.
Enterprise AI Solutions
Accelerate AI inference and training with the simplicity, performance, value, and reliability of the Pure Storage platform.






