Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Does any of the developers here use AI to assist in their coding?

    Posted 20 days ago

    Dear all,

    As per the subject "Does any of the developers here use AI to assist in their coding?" if you do:

    • Which or what AI platform do you use
    • How many trials do you need to get your first successful working solution
    • Do you provide YAML flows to assist the AI


    #Architect
    #Archy
    #CXasCode
    #DataActions
    #PlatformSDK
    #Scripts

    ------------------------------
    Ruud Reinold
    BNP Paribas Personal Finance UK
    ------------------------------


  • 2.  RE: Does any of the developers here use AI to assist in their coding?

    Posted 17 days ago
    Edited by Dave Halderman 17 days ago

    I have used it to generate diagrams of flows to show to other people. As far as I know, there isn't a good native way to get a visual representation of a flow out of Genesys Cloud. I exported the flow as YAML, handed that over to Gemini, then asked it if it could create a diagram of that. It used Mermaid to do it. It did a remarkably good job of understanding and showing what the flow was doing. I wasn't familiar with Mermaid before that, but now use it myself occasionally.

    I also use it to figure out how to use some of the more complex APIs, or to get example Python code since the API Explorer won't give you that. This is a fairly simple example, but I might enter something like the following into Gemini:

    Based on the info I see here: https://developer.genesys.cloud/

    I think I should use the /api/v2/conversations/emails to create a new email interaction. Can you give me example syntax to create an inbound email interaction using flowId c2dd200f-4143-4c74-8068-593638eb5846 that has a body of "This is a test email"?

    It then gives me back the JSON, cURL, and Python code to make that happen. Example Python code:

    import requests

    region = "mypurecloud.com" # Change to your region
    access_token = "YOUR_ACCESS_TOKEN"

    url = f"https://api.{region}/api/v2/conversations/emails"

    headers = {
        "Authorization": f"Bearer {access_token}",
        "Content-Type": "application/json"
    }

    payload = {
        "flowId": "c2dd200f-4143-4c74-8068-593638eb5846",
        "fromAddress": "tester@example.com",
        "fromName": "Test User",
        "toAddress": "flow-trigger@yourorg.com",
        "subject": "API Test",
        "textBody": "This is a test email"
    }

    response = requests.post(url, headers=headers, json=payload)

    if response.status_code == 200:
        print("Success:", response.json()['id'])
    else:
        print("Error:", response.status_code, response.text)



    ------------------------------
    Dave Halderman
    Business Analyst
    ------------------------------



  • 3.  RE: Does any of the developers here use AI to assist in their coding?

    Posted 11 days ago
    Edited by Saugort Dario Garcia 11 days ago

    I did the same thing, export flow to yaml and ask IA to get  flow diagrams compatible with draw.io. I  also got  quiete good result with Gemini but I notice the best results are got when in Architect you identify each action accordingly, if you left the default label IA got messed up.



    ------------------------------
    Saugort Dario Garcia
    Arquitecto de soluciones
    ------------------------------



  • 4.  RE: Does any of the developers here use AI to assist in their coding?

    Posted 14 days ago

    Hi Rudy,

    I do coding on a really low level. Just building Widgets to be able to use APIs with user context. For my usecase MS Copilot works good enough, but its always a little fight to make the code running. And its really not good with Genesys APIs - it oftens hallucinates. No recommendation. :-)



    ------------------------------
    Christoph Domaschke
    Produktmanager Kunden-Dialog-Center
    ------------------------------



  • 5.  RE: Does any of the developers here use AI to assist in their coding?

    Posted 11 days ago

    Hi @Rudy Reinold ,

    With Genesys AVA, I have used IA to get the initial prompts and guidelines to build voice bots. It helps a lot and speed up the design.



    ------------------------------
    Saugort Dario Garcia
    Arquitecto de soluciones
    ------------------------------



  • 6.  RE: Does any of the developers here use AI to assist in their coding?

    Posted 10 days ago

    I use Claude Code quite a lot at the moment.

    For questions relating to the Platform API I use my Skill: Genesys Cloud AI Agent Skill

    For creating flows I've been exploring using Claude Code with Architect API SDK: LinkedIn post



    ------------------------------
    Lucas Woodward
    Winner of Orchestrator of the Year, Developer (2025)

    LinkedIn - https://www.linkedin.com/in/lucas-woodward-the-dev
    Newsletter - https://makingchatbots.com
    ------------------------------