Skip to content

Repository files navigation

Claude Code Plugin: Genesys Cloud Architect

Use Claude Code to create, test, diagnose and document your Genesys Cloud's Architect flows.

This plugin allows you to:

Getting started

Follow the installation guide, then simply tell Claude Code what you want it to do.

Below are examples of each of its capabilities:

Create architect flows of any type

Asking Claude Code to create a flow will have it create, publish and test a flow using the Architect Scripting SDK.

Below is an example of a simple flow, but they can be much more complex:

Create a Bank bot flow with two intents: "Check Account Balance" (collects an 8-digit AccountNumber slot) and "Find a Branch" (collects a 5-digit ZipCode slot).

The bot:

  1. Asks "What would you like to do?"
  2. Detects the intent
  3. Then asks for the relevant slot
  4. Exit the bot flow after slot collection

Include 6 utterances per intent with entity-annotated examples. Add intent confirmation prompts like "I think you want to [intent], is that correct?"

Publish the flow, and test it frequently as you build it.

Resulting in a flow:

Read more...

Run automated tests against Digital flows

The plugin allows Claude Code to run tests against Digital bot flows. This is useful when it's developing flows, or simply to test for edge-cases in existing flows:

Inspect the 'Bank bot' flow and run tests against it to ensure it behaves as expected.

Create and test flow expressions

My Genesys Architect flow needs to extract the 'author' from the JSON retrieved from a participant attribute below:

{ "newsletter": {"makingchatbots": {"author": "Lucas Woodward "}}

Create an expression that returns the value of 'author'. However, if the property (or any of the parent properties) do not exist then return an empty value.

Create a Digital Bot flow to test your expression against different test cases.

Read more...

Inspect and fix issues in flows

TODO Add example

Document flows

TODO Add example

Installation

  1. Open Claude Code
  2. Type the following to add the marketplace and install the plugin:
    1. Add the marketplace

      /plugin marketplace add MakingChatbots/genesys-cloud-plugins
      
    2. Install the plugin

      /plugin install genesys-cloud-architect@makingchatbots-genesys-cloud-plugins
      
  3. When asked, provide the Credentials for an OAuth Client with the following permissions:
    • Architect > Flow > *
    • Architect > Job > *
    • Architect > UI > *
    • Language Understanding > NLU Domain Version > View
    • Textbots > *
    • Architect > Dependency Tracking > View

Who built this?

This is built by Lucas Woodward.

I've been building this in public - engaging with the Genesys community with each milestone. If you'd like to keep up to date with releases then follow me on LinkedIn.

What else I have built:

Development

Docs to help understand how this works, or contribute:

About

Claude Code plugin for creating, testing and debugging Genesys Cloud Architect flows.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages