Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Guidance on how to extract relevant information and execute PostgreSQL query

(1) ShareShare
ReportReport
Posted on by
I want to design an IT assistant chatbot that can summarize the discussions happening in a teams channel. Determine which message contains descriptions of the ticket, extract relevant entities such as hardware failure, database issue etc. Once important entities are extracted, execute a postgreSQL query and fetch records to help determine the root cause. finally apply generative ai intelligence to guide towards the probable solution steps.
 
Also, since bot should be linked to Teams channel, in case users ask queries like how many times database errors in last 10 days then bot should ask relevant questions like name of  databse, number of days=10, error type = database, to formulate a SQL query, establish conncetion with relevant database and fetch records.
I have doubts about how to define such a flow, whether these should be defined as Actions or topics that accordingly get triggered based on current message shared in the Teams chat.
 
Additionaly, if user asks fro SUmmary, then summarize important discussions that have happened thus far. Any reference to good tutorial or documentation with generic guidance is highly appreciated, specially for how to connect with PostgreSQL and fetch multiple records, not a single row, not tables but multiple records from a single table.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard