Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Email Address Data Table Lookup

    Posted 03-05-2025 10:07
    No replies, thread closed.

    I am creating an Inbound Email Flow where we get the To Address from the email, then look at a data table where it is found, and it will send it to a specific queue. I am having trouble writing the expressions to make this work successfully. 

    The Data Table has an email address and a queue.

    How do I write my transfer to ACD to flow that queue name that is listed in the data table? I have tried FindQueue(Flow.Queue) as well as Flow.Queue and have not been successful with the email actually going to queue. 

    Thanks in Advance.

    #EmailFlow

    #ArchitectEmailFlow


    #ArchitectureandDesign

    ------------------------------
    Corey Lanier
    Shaw Industries Group, Inc.
    ------------------------------


  • 2.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 13:52
    No replies, thread closed.

    For the Transfer to Queue block, FindQueue(Flow.queue) expression should work. Just make sure queue name in the data table has no leading/trailing spaces etc. else you can use Trim function.

    But I think the issue is your table is not returning any results because you are passing Email.Message.to as input which is a collection but your table would have single email address. Also there can be more than one addresses in To field. You will need a loop to perform table lookup for each email address in the collection. If a match found, then exit the loop. Also consider in your logic if more than one To addresses are present then which one wins. 



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 3.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 14:49
    No replies, thread closed.

    Hey Corey,

    I would like to echo what Zubair said in the post above. I tried to quickly mimic the setup that you have from your screenshots. I was able to successfully use FindQueue(Flow.queue)in that field in my screenshot below. I would recommend recreating that task and seeing if it works. If it doesn't, you will want to reach out to Customer Care to help troubleshoot why the Queue field is not working with that Expression.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 4.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 15:09
    No replies, thread closed.

    Thank you both for the information. Zubair, the loop is something I will need to look into adding after I get the flow working. I am still getting an error. It is like I can identify the queue, but it can't send it there. 



    ------------------------------
    Corey Lanier
    Shaw Industries Group, Inc.
    ------------------------------



  • 5.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 16:17
    No replies, thread closed.

    You could try putting a Find Queue block before the Transfer to ACD block, as this will tell you if its actually finding the queue or not (My guess is its not finding the queue using the expression)



    ------------------------------
    Cam Stone
    ------------------------------



  • 6.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 16:57
    No replies, thread closed.

    Hey Cam, thanks for your input. I read some other posts that suggested this as well. When I put that in, it takes me down the not found path. Any other suggestions?



    ------------------------------
    Corey Lanier
    Shaw Industries Group, Inc.
    ------------------------------



  • 7.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 17:33
    No replies, thread closed.

    Hi Corey, You may need to check the queue name in the data table vs the actual queue that's setup it might be missing a hyphen or underscore maybe?



    ------------------------------
    Cam Stone
    ------------------------------



  • 8.  RE: Email Address Data Table Lookup
    Best Answer

    Posted 03-06-2025 08:55
    No replies, thread closed.

    There was a hidden space at the end of my queue name. This fixed it. Thanks so much for the assistance. 



    ------------------------------
    Corey Lanier
    Shaw Industries Group, Inc.
    ------------------------------



  • 9.  RE: Email Address Data Table Lookup

    Posted 03-05-2025 17:38
    Edited by Muhammad Zubair Awan 03-05-2025 17:38
    No replies, thread closed.

    It does not seem to be expression issue, the problem is finding the queue "Training Emails" itself. 

    long shot, are your Email Flow and Queue in same Division?

    Go to Admin > Contact Center > Queues > Training Emails and check if there are any leading/trailing spaces in the queue name. 

    Can you also try FindQueue("QueueID") if that finds the queue. 



    ------------------------------
    Cheers
    Zubair
    ------------------------------