web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / AI prompt executing 60...
Power Automate
Suggested Answer

AI prompt executing 60 times even trying to find duplicate from 2 request

(1) ShareShare
ReportReport
Posted on by 8
Hi There, 
 
I'm using GPT-4o mini to find duplicates from requests, but the prompt executes 60 times instead of once. Despite correct results, AI builder shows 60 executions for 2 requests. Any help to resolve this would be appreciated.
 
Initial Execution:
1. Fetch data from the 'Test Requests' Dataverse table where the 'Created On' column is within the last 72 hours.
2. Store the current execution time.
3. **Ensure this step is executed only once per batch of requests.**
 
Subsequent Executions:
1. Fetch data from the 'Test Requests' Dataverse table where the 'Created On' column is after the last stored execution time.
2. Exclude EAM Work Requests that have already been processed.
3. **Ensure this step is executed only once per batch of requests.**
 
Data Analysis:
1. Analyze the specified column details updated in the last 72 hours to identify duplicate Test Requests.
2. Preprocess the text data by converting to lowercase, removing punctuation, and standardizing spelling.
3. Tokenize the sentences into individual words.
4. Expand terms using a list of synonyms.
5. Apply lemmatization to reduce words to their base form.
6. Use NLP techniques to compare the 'What needs to be done?' column, considering semantic similarity and cosine similarity to identify potential duplicates.
7. Check the 'Owner' column:
   - If the 'Owner' detail is the same for all Test Requests, they are not duplicates.
   - If the 'Owner' data is different, they are duplicates.
8. Mark the Test Requests created first as Original and mark the later ones as duplicates.
9. **Ensure this step is executed only once per batch of requests.**
 
Output:
1. Specifically show the 'Test Requests' unique ID and 'requestor' columns data that are identified as duplicates.
2. Ensure not to show the 'What needs to be done?' column or data in the output.
3. Show accuracy as a percentage.
4. **Ensure this step is executed only once per batch of requests.**
 
Model Response:
1. Just show Output and Accuracy.
2. Do not include other responses.
3. **Ensure this step is executed only once per batch of requests.**
 
 
 
 

 
Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
     
    Can you give an information on what trigger you have used - that would be cause of issue of multiple executions if some actions within flow causes the trigger to fire again.
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • VD-20031046-0 Profile Picture
    10 on at
    Hi Nived, 
    Thanks for the reply.  
     
    It's not about any trigger. I have created the Prompt and simply test it from the Prompt page.   I have checked in Admin Centre --  Capacity  and there it is showing, it's executed only once.
    But when check in AI Builder Activities which is in preview shows it's executed 60 times. 
     
    Regards,
    Srini
  • Suggested answer
    SD-06011338-0 Profile Picture
    8 on at
    Hi, 
     
    Discussed with Microsoft and seems it was a bug in UI and that's why it was showing duplicate entries in AI builder activity. 
    MS product team is working on it and issue will be resolved in couple of days. 
     
    Thanks

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard