Robotic Process Automation

How to integrate Generative AI with RPA to handle unstructured data like emails?

S Asked by Sarah Jenkins · 12-01-2024
0 upvotes 18,944 views 0 comments
The question

Traditional RPA fails when an email doesn't follow a template. I’ve heard about "Intelligent Automation" using LLMs like GPT to extract intent. How do I actually connect a bot to an AI model to summarize customer complaints and then have the bot perform the actual refund or ticket routing? 

3 answers

0
MI
Answered on 20-02-2024

The integration is usually done via API calls within your RPA workflow. You can send the email body to an LLM (like Azure OpenAI or Google Gemini) with a specific prompt to "Extract the Order Number and Sentiment." The AI returns a JSON string, which your RPA bot then parses to make a decision. If sentiment is "Angry," the bot routes it to a priority queue; if it's a "Refund Request" with a valid ID, the bot proceeds to the ERP. This "Agentic RPA" approach is the future, as it moves from "doing" to "thinking." Just ensure you have a "Human-in-the-loop" stage for high-value transactions to mitigate any AI hallucinations.

0
C
Answered on 22-02-2024

Have you looked at the built-in AI Centers offered by vendors like Automation Anywhere or UiPath? They often have pre-built connectors that handle the API authentication for you.

DA 24-02-2024

Comment: Christopher, I’ve seen the AI Center in UiPath, but I’m curious about the cost-per-token when processing thousands of emails daily. Is it more cost-effective to use a dedicated OCR/Document Understanding model for extraction rather than a general-purpose LLM? I want to make sure our "Intelligent" solution doesn't end up costing more than the manual labor we are replacing.

0
JE
Answered on 28-02-2024

For simple extraction, Document Understanding (DU) is cheaper. Use GenAI only when you need to understand the "nuance" or "tone" of the text which DU might miss. 

MI 01-03-2024

Jessica is spot on. A hybrid approach where you use specialized models for extraction and GenAI only for complex intent analysis is the most scalable SEO-friendly strategy for 2025.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session