A recent Fortune article highlighted a stark truth facing today’s enterprise AI landscape: 75% of AI initiatives fail to deliver the return on investment (ROI) leaders expect. According to IBM’s 2025 CEO Study, while excitement around AI is at an all-time high, only a quarter of AI projects meet their business objectives. Even more striking—just 16% of companies have successfully scaled their AI efforts beyond pilot stages.
This disconnect often stems from issues that have little to do with the AI models themselves: fragmented data, lack of operational readiness, and lack of governance.
In this blog, I’ll walk through how you can build an insight-driven AI pipeline using AWS Lambda, OpenAI, and Alteryx One. I’ll show how integrating a well-structured review analysis function with Alteryx’s powerful analytics and automation tools can move you beyond pilots—delivering measurable, scalable impact on your bottom line.
Use case
You want to run an automated classification on open text fields into Business Aligned categories to analyze trends by age group, location or category. Ultimately, you want insights into categories driving the highest costs.
Sample Data:

Architecture
The workflow uses intelligence to make decisions, escalates issues and feeds results for analysis. Here’s how the end-to-end architecture looks.

Step 1: Lambda + GPT integration for automatic categorization
We start by setting up a lambda function on AWS that listens for new CSVs in S3, extracts natural language content and analyzes it using GPT-4o to categorize. Ambiguous responses are marked for a human review. The outputs are written back to S3.
Sample Categorized Data:

Step 2: Prepare the Data using Designer Cloud
We create a Designer Cloud workflow that reads the S3 file and then cleans and filters the data. Then, it adds aggregation and business logic. Finally, we filter rows with “review_required” flag for audit and re-categorization.

Step 3: Publish to Auto Insights
Once data is prepared, it’s published to Auto-Insights. The automated insight discovery can analyze time-based patterns in spend behavior, segment behavior by age group, product type, etc.

Finally, all 3 steps can be orchestrated using Plans and scheduled to run according to your requirements.
Conclusion
While LLMs are amazing at reasoning and summarization tasks, they struggle with precision math, complex joins and aggregations. They also lack governance and auditability. Alteryx One, the unified end-to-end analytics platform, has built-in support for joins, pivots, window functions and spatial analysis—all with tight integration to Enterprise security and governance policies.
In this blog, we showcased how you can build insightful pipelines using Gen AI + Alteryx One.
References
- https://fortune.com/2025/05/09/klarna-ai-humans-return-on-investment/
- https://newsroom.ibm.com/2025-05-06-ibm-study-ceos-double-down-on-ai-while-navigating-enterprise-hur...
- https://aws.amazon.com/lambda/