Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Questions on best practice for an API usage case - Power automate to Genesys

  Thread closed by the administrator, not accepting new replies.
  • 1.  Questions on best practice for an API usage case - Power automate to Genesys

    Posted 11-09-2023 08:25
    No replies, thread closed.

    hello,

    Was looking for a few different points of view on how to set something like this up. Im testing how to setup an automatic text to speech call from an email that sent to a completely separate system that uses power automate as the event to trigger the API.

    Essentially i want to build an automatic on call API setup. Below are the 3 items i want to accomplish, Minus the oauth account since that doesnt vary on approaches really

    1. Create an API that is triggered via email from power automate.
    2. The number it dials will be syphoned out of a shared document repository
    3. Plays a text to speech of the contents of the email and then disconnects the call

    I know of a few ways to do this but all of them involve outbound campaigns to be able to send the call via API to that campaign and then dynamically update an external call and text to speech from the contents of the API post


    #ArchitectureandDesign

    ------------------------------
    Tim Davidson
    NTT America, Inc
    ------------------------------


  • 2.  RE: Questions on best practice for an API usage case - Power automate to Genesys

    Posted 12-12-2023 05:43
    No replies, thread closed.

    Sounds like a complicated way to do that.

    3. You will need an Automated Outbound-Campaign for that. I did that recently and figured out, that you will need

    • GET /api/v2/outbound/campaigns/{campaignID} to get the version of the campaign and
    • PUT /api/v2/outbound/campaigns/{campaignID} (very complicated: You have to fill out every mandatory field to change the campaign to "on"

    To get your e-mail-content to the outbound-flow, you would have to use the API to write the information to a datatable and get it from the flow somehow.

    2. No clue how to do that. You would have to add this number to the contact list of the campaign mentioned in 3. via API

    1. maybe answered with 3.)



    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------