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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

How to handle queue items for an email conversation?

(0) ShareShare
ReportReport
Posted on by 10

Hello together, 

we are currently testing the queues functionality in dynamics and came up with some questions on handling email items within a conversation.

We have a shared mailbox connected to a queue in dynamics and whenever an email is received, it is synced to the dynamics queue. 

Picking the email (worked by is set) and replying to it works fine, but when we expect and receive a response of the customer to our inital response, a new queue item is created for the same conversation and the worked by is not set to the inital worked by automatically. See below example:

We received the email "Known Contact" which was picked by an user who replied to it. After the reply was sent, the queue item remained in the queue, as we expected another message from the customer. The second message from the customer was received (tracking token is set in the subject), but the worked by ist not set automatically. We expect that if a customer replies within a conversation and also delivers the tracking token, the worked by is set automatically to the same user as the initial email. 

Also, why is the first message still in the queue, we would also expect that messages in the queue are stacked as a conversation for better overview. This can lead up to several messages and be confusing when there are several items for the same conversation.

pastedimage1647247627691v1.png

Do you have any suggestion on how to handle that in an easy way or are there any OOB features? Is this a typical behavior? Or do we need to automate thing with Power Automate?

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: How to handle queue items for an email conversation?

    Hi Aaron-Luis,

    You can use power automate to create a flow to update 'Work By' field with same user from your picked queue item automatically:

    Step 1: Set trigger.

    Trigger the flow when one Queue Item record within the title contains RE has been created.

    pastedimage1647593336801v1.png

    Step 2: Add "Get a row by ID" action:

    Get the id of the customer’s replied email related to the queue item.

    pastedimage1647593464961v2.png

    Step 3: Add 'List rows' action:

    The initial emails and replied emails are in a conversation, they have same baseconversationindexhash value and only initial email's Parent Activity Id is empty, so you can use them as filter to get the initial email record.

    pastedimage1647593599738v3.png

    Step 4:  Add 'List rows' action:

    Get the Queue Item record you picked through the initial email id

    pastedimage1647593761442v4.png

    Step 5: Add 'Update a row' action

    Update the Worked By field with value from Step4.

    pastedimage1647594395415v6.png

    Result:

    The 'worked by' was set automatically to the same user as the picked queue item.

    pastedimage1647594109187v5.png

  • Perry H Profile Picture
    87 on at
    How to handle queue items for an email conversation?
    Were you able to get this to work? I tried the method below, but the flow fails due to baseconversationindexhash - it flags a syntax error at position 121.  
     
     
    Syntax error at position 121 in '(_parentactivityid_value eq null) and baseconversationindexhash eq 0101DADED589BAF561D5DAE63343B8E8C4F3345CC491B207ED8000'."
  • jim.corriveau@chesterton.com Profile Picture
    81 on at
    How to handle queue items for an email conversation?
    Aaron-Luis,
     
    How will this solution scale?  You and everyone using the queue are going to have hundreds if not thousands of emails all with their name in the Worked By.  How will you know they are done working on the email?  If they remove themselves from the Worked By, they will have to do it for every email in the thread and if another email comes in on that thread after they are removed what will happen?
     
     
    You should take the next step and create a Case, "Email to Case", from the initial inbound email.  Then assign the Case to the individual, then every email that comes in or goes out on that thread is tracked to the Case.  Then you (or supervisors/managers) can manage User activity at the Case level and not at an individual email level.
     
    Hope this helps,
     
    Jim

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 55

#3
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans