Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  New email send permissions control

    Posted 06-25-2025 02:48

    Hi!

    Has anyone managed to get use of this new email send permission released on June 2nd to "enable their own custom Send actions through an app widget or script, which allows companies to apply their internal approval for automated or manual workflows before Genesys Cloud sends an email to a recipient" since release notes gives no information? If I remove this new conversation->email->send permission from the user, then the standard Send button disappears from UI, but without this permission it it not possible to send email also from custom web app. At the same time API POST /api/v2/conversations/emails/{conversationId}/messages requires a user context, so I can not perform sending using client credentials. Opened a Care ticket, but they also do not know how to use this new permission and waiting for documentation :)


    #PlatformSDK

    ------------------------------
    Armands Bunkovskis
    Adventus Solutions Sia
    ------------------------------


  • 2.  RE: New email send permissions control

    Posted 06-26-2025 17:36

    Hi @Armands Bunkovskis

    My apology. I understand how the desciption could be confusing. To maintain security, this permission affects both the UI and API. A scenrio could be business has strict process which requires outbound emails to be verified by someone else such as a supervior who has persmission to send the email. There are multiple ways to achieve this scenario but the most popular is using scripter or interaction widget with custom action to perform transfer of the draft to dedicated "approval" queue.

    Hope that helps.



    ------------------------------
    Rick Phung
    Genesys - Employees
    ------------------------------



  • 3.  RE: New email send permissions control

    Posted 06-27-2025 03:14

    Rick, thanks for explanation. Original description is definitely misleading as it suggests that there could be some underlying process (implemented in script or web app) that checks email/attached attributes for completeness and then allows sending - description even says "automated workflows" . But apparently we can just disable send permission for that user completely and he needs to manually transfer emails to someone else.



    ------------------------------
    Armands Bunkovskis
    Adventus Solutions Sia
    ------------------------------



  • 4.  RE: New email send permissions control

    Posted 06-27-2025 02:23

    Hi Armands,

    "user context" means, that you can not use data actions for they are using oAuth with "client credential". To make this API work you will have to use "Token Implicit Grant", which does not work for data actions. Only way is to create a widget (HTML + JavaScript) and doing all the authentication and API calls there. This Widget can be integrated into Genesys as an integration of type "interaction widget". For more details have a look here: https://developer.genesys.cloud/platform/ --> integrations. In GitHub there are some samples: GitHub - MyPureCloud/client-app-sdk --> examples.



    ------------------------------
    Christoph Domaschke
    Leiter Service Center (Cronbank)
    ------------------------------