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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need help with trigger...
Power Automate
Unanswered

Need help with trigger from shared inbox creating new work item - getting duplicate work items when email chains continue

(1) ShareShare
ReportReport
Posted on by 12

Hello all,

 

I have a simple workflow with this layout:

1. Trigger: When a new email arrives in a shared inbox (v2)

- Original mailbox is listed 

- Sub-folder in inbox is what triggers the action (when moving an email/chain into this folder it creates work item)

2. Step 2: Create a work item

- Organization name

- Project name

- Work item type

- Title 

- Description

 

The flow is working as I can see the work items when searching for the email subject in ADO Boards, however, I am getting duplicate work items with the same subject name for when the emails are in a chain.

 

Can someone help me avoid duplicates and pinpoint how to only create one work item per email chain?

 

Thanks,
Josh

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @joshjenkins 

     

     

    did you meant chain email as reply coming to same email ?

     

    Let me know ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • joshjenkins Profile Picture
    12 on at

    Hey @Nived_Nambiar,

     

    Yes, to clarify, if someone initially sends an email to our shared inbox, and then we reply, and the sender replies, and we go back and forth a few times this is creating multiple work items. For example, if I move that email chain into the sub-folder which is the trigger then the outcome is multiple work items based on how long the chain is (how many replies there are).

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @joshjenkins ,

     

    You could start with a filter on the subject and strip out Re: and Fwd: subjects.  You would put your flow guts in the Yes side.

     

    trice602_1-1692898445285.png

     

     

     

  • joshjenkins Profile Picture
    12 on at

    Hey @trice602 ,

    I really like this idea, however it doesn't seem to be working. I am still getting duplicate work items in the AD Board. I changed "Re:" to "RE:" and "Fwd:" to :"FW:" as that is how they were showing up in the subject lines. 

    Any idea of why I am still getting duplicates? Do I need to add an action in the If No side of the condition.

    Here is my flow just to ensure I am not missing anything:

    joshjenkins_0-1692899621569.png

     

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @joshjenkins ,

     

    I understand now.  Here's the updated flow.  Check if the subject of the new email already exists in your List.  In my example, I am checking against Title but you need to modify for your List (where you put the subject).

     

    trice602_1-1692900143800.png

     

     

     

     

     

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @joshjenkins ,

     

    I edited my post above.  Please check.

     

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    @trice602 

     

    I think @joshjenkins  is creating workitems not the list items 

     

    @joshjenkins  could you confirm ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Thanks @Nived_Nambiar. Understood.

  • joshjenkins Profile Picture
    12 on at

    Thank you both @trice602  and @Nived_Nambiar,

     

    Nived is correct, I am creating work items in ADO. I began to look into creating a SP list yesterday but haven't had time to proceed. I will confirm whether or not this was the solution when I do. 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard