Hi there,
We have one Email Flow that we are using with multiple different email addresses. We have a data table lookup using email address as the index, so if someone is emailing
csr@acme.com it looks into the data table and finds relevant info/routing info about the CSR department. It's used to auto reply to a customer and also transfer the email to the CSR queue.
This works great, however I have concerns about determining what email address a customer has sent an email to.
The Email.Message.to is a collection of any and all emails. I'm worried about the scenario where a customer for whatever reason emails
bob@acme.com;
csr@acme.comIn this case
Email.Message.to[0] =
bob@acme.comEmail.Message.to[1] =
csr@acme.comWe could try to loop through the Email.Message.to collection and look for a match in the data table. I was just hoping there was a simpler way to find out which Genesys Cloud email address a customer was emailing.
At first I thought I could use the API and tried /api/v2/conversations/emails/{conversationId} and a data action passing in Email.ConversationID but even the API gets confused if Email.Message.to[0] is
bob@acme.com.
Any ideas?
#Implementation------------------------------
Paul Dittrich
------------------------------