Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Send email to multiple destinations from agentless data action

    Posted 06-27-2023 09:11
    Edited by Deyvid Cortes 06-27-2023 09:12
    No replies, thread closed.

    Hello Guys!

    In the definition of the parameters of the POST /api/v2/conversations/emails/agentless endpoint, toAddresses is an array. However, whenever I try to send an email to multiple addresses, it returns a 400 error:

    Email address list is too large. Only a maximum of 1 is allowed
    

    Why is it defined as an array if only 1 is allowed? Is it planned to change this in the future?

    This`s the Body of request:

    {
      "senderType": "Outbound",
      "fromAddress": {
        "email": "test@cc.test.com",
        "name": "test"
      },
      "toAddresses": [{"email":"agent1@outlook.com"},{"email":"agent2@gmail.com"}],
      "subject": "prueba",
      "textBody": "hola"
    }

    When the Data Action Execute send the following message:

    "message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"message\":\"Email address list is too large. Only a maximum of 1 is allowed\",\"code\":\"bad.request\",\"status\":400,\"contextId\":\"5edb4432-6769-4a54-bd24-560f72cb1fd7\",\"details\":[],\"errors\":[]} [80e5ff6f-99be-48f3-abb5-261793c6ae9e]"


    #ArchitectureandDesign
    #Integrations
    #Outbound

    ------------------------------
    Deyvid Cortes
    Global Networks Solutions S.A.
    ------------------------------



  • 2.  RE: Send email to multiple destinations from agentless data action

    Posted 06-29-2023 11:59
    No replies, thread closed.

    Hi Deyvid, 

    Yes, sorry about this. The API documentation is wrong and needs to be updated (I've put in the request). 

    We are considering this feature enhancement. Can you kindly vote on the Idea, here: https://genesyscloud.ideas.aha.io/ideas/CEEMAIL-I-11

    Thanks, and sorry about the confusion. 

    Jody



    ------------------------------
    Jody Nabuurs
    Genesys - Employees
    ------------------------------



  • 3.  RE: Send email to multiple destinations from agentless data action

    Posted 06-29-2023 15:55
    No replies, thread closed.

    Hi Jody!

    Thanks for your support, it´s clear to me. :)



    ------------------------------
    Deyvid Cortes
    Global Networks Solutions S.A.
    ------------------------------



  • 4.  RE: Send email to multiple destinations from agentless data action

    Posted 06-29-2023 14:57
      |   view attached
    No replies, thread closed.

    We have a Genesys premium app that allows you to send agentless emails to multiple addresses:

    https://appfoundry.genesys.com/filter/genesyscloud/listing/59c44a27-fb86-4806-8640-18a99c7f544f



    ------------------------------
    Maksim Gill
    Eccentex (Advanced Case and Email Management Platform for Genesys)
    https://www.eccentex.com/genesys
    ------------------------------