Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Agentless Email, Email Alert Workflow, External

    Posted 21 days ago

    I am trying to send notification emails for emergency call events like 911/988 or inbound to Location Emergency Numbers.  My workflow action 'Send Email Notification' will not validate with my email variable. It appears like it will only take System Users.  Error is - Cannot convert expression from type EmailAddress Collection to required type of User Collection.

    I tried setting up Agentless email and had a successful send from a test campaign.  I thought I was on the right track.

    It seems this data action won't play with external emails.  Is there anyone who can point me in the right direction?


    #ArchitectandDesign
    #DigitalChannels
    #Outbound
    #Unsure/Other

    ------------------------------
    Eric Callagher
    Telephony Engineer
    ------------------------------


  • 2.  RE: Agentless Email, Email Alert Workflow, External
    Best Answer

    Posted 21 days ago
    Hi Eric,
     
    That's correct,the "Send Email Notification" action is intended for sending emails to internal users.
    https://help.mypurecloud.com/articles/send-notification-action/
     
    In this case, the alternative would be to use Agentless Email, but this requires having a campaign domain configured.
    https://help.mypurecloud.com/articles/agentless-email-notifications/
     
    Once that's in place, you can either:
     
    1. Use the API to send emails directly: /api/v2/conversations/emails/agentless
    2. Keep an email campaign always active and feed it using the API: /api/v2/outbound/contactlists/{contactListId}/contacts


    ------------------------------
    Elisson Fernandes
    ------------------------------



  • 3.  RE: Agentless Email, Email Alert Workflow, External

    Posted 20 days ago

    Thanks Elisson!

    I will definitely look into these. 



    ------------------------------
    Eric Callagher
    Telephony Engineer
    ------------------------------



  • 4.  RE: Agentless Email, Email Alert Workflow, External

    Posted 19 days ago

    You're welcome!

    If you need an example of how to use either of the two APIs, just let me know.



    ------------------------------
    Elisson Fernandes
    ------------------------------



  • 5.  RE: Agentless Email, Email Alert Workflow, External

    Posted 17 days ago
    Yes please.

    Eric Callagher Telephony Engineer

    +1 (707) 520-0110 




    The information contained in this email message is PRIVATE and intended only for the personal and confidential use of the recipient named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited.  If you have received this communication in error, please notify us immediately by email, and delete the original message.


    The information contained in this email message is PRIVATE and intended only for the personal and confidential use of the recipient named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited.  If you have received this communication in error, please notify us immediately by email, and delete the original message.






  • 6.  RE: Agentless Email, Email Alert Workflow, External

    Posted 16 days ago
    Hi Eric,
    For the agentless example, you'll need to create a Data Action and perform a POST request. For example:
    Endpoint: /api/v2/conversations/emails/agentless
    Body:
    {
      "senderType": "Outbound",
      "fromAddress": {
        "email": "test@campaign.domain.com"
      },
      "toAddresses": [
        {
          "email": "example@domain.com"
        }
      ],
      "subject": "Subject description",
      "textBody": "Message text"
    }
    For the example of adding a contact to a campaign contact list, you would also use a POST request, like this:
    Endpoint: /api/v2/outbound/contactlists/{contactListId}/contacts
    Body:
    [
      {
        "contactListId": "contactListId",
        "data": {
          "Name": "Name",
          "Email": "example@domain.com"
        }
      }
    ]
    In my contact list, there are only two fields, so the "data" object contains only Name and Email.


    ------------------------------
    Elisson Fernandes
    ------------------------------