LogoLogo
  • GETTING STARTED
    • Welcome to the NLX platform
    • How NLX works
    • Guides
      • Analytics dashboard
      • Chat
      • Generative Journey (Slots)
      • Model Context Protocol
      • Voice
      • Voice+
      • Touchpoint components
        • Carousel modality
        • Video modality
    • Terms & concepts
    • Generative AI
    • Developer
  • Build
    • Workspace setup
    • Flows
      • Intro to flows & variables
      • The Canvas
      • Flow settings
      • Nodes
      • Flow appearance
    • Resources
      • Actions
        • Implementation
        • Request model
      • Analytics tags
      • Context variables
      • Data requests
        • Implementation
        • Response model
        • Request model
      • Knowledge bases
        • Ingest content
        • Add metadata (beta)
        • Apply KB
      • Lifecycle hooks
        • Implementation
      • Modalities
      • Secrets
      • Slots (custom)
        • Adding values
        • Translating slots
      • Voice+ scripts
        • Add + download script
        • Deploy script + install SDK
        • Create Voice+ flow
    • Integrations
      • Channels
        • Alexa
        • Amazon Chime SDK
        • Amazon Connect
        • AWS End User Messaging SMS
        • AWS End User Messaging Social
        • Bandwidth
        • Genesys
        • Twilio
        • Zendesk Sunshine
      • LLM services
        • Amazon Bedrock
        • Anthropic
        • Azure OpenAI
        • Cerebras
        • Cohere
        • Google Vertex AI
        • Groq
        • NVIDIA
        • OpenAI
        • xAI
      • NLP
        • Amazon Lex
        • Google Dialogflow
        • Google Dialogflow CX
        • Custom NLP
    • Translations
  • Test & Deploy
    • Applications
      • Attach flows
      • Assign default behavior
      • Add channels
        • API
          • REST API
        • Alexa
        • Amazon Chime SDK
        • Amazon Connect
        • AWS End User Messaging SMS
        • AWS End User Messaging Social
        • Genesys
        • Genesys SMS
        • Messenger
        • Microsoft Teams
        • Slack
        • SMS via Bandwidth
        • Twilio SMS
        • Twilio Voice
        • WhatsApp via Twilio
        • Zendesk Sunshine
      • Deploy
      • Optional: Set lifecycle
      • Optional: Set languages
    • Test
      • Test a conversation
      • Automated tests
      • Test an external integration
  • Analyze
    • Conversations
    • Analytics
      • Creating dashboards
      • Formulas & multi-metrics
      • Canvas analytics
    • Training
  • Workspace Settings
    • Escalation channels
    • Resource tags
    • Audit
  • Admin
    • Access control
      • Roles & permissions
    • Notifications
    • FAQ
    • Contact support
Powered by GitBook
On this page
  • What's Generative Journey in slot capture mode?
  • Checklist
  • Pre-setup: Integrations
  • Step 1: Construct a flow
  • Step 2: Deploy application
  1. GETTING STARTED
  2. Guides

Generative Journey (Slots)

From start to finish, set up a flow using Generative Journey with NLX

Last updated 23 days ago

What's Generative Journey in slot capture mode?

Generative Journey is a node type used when constructing a flow that employs a large language model (LLM) to facilitate the process of collecting necessary variables (slots) from a user to complete a task (e.g., collecting preferences for booking a hotel, placing an order, etc.). This both allows for multiple slots to be collected by a single node in your flow and provides greater flexibility for a user to give information in a less rigid, more natural way.


Checklist

You'll complete the following to successfully launch a workflow powered by Generative Journey:

You may add the following to an existing voice or chat application in your workspace, if desired.


Pre-setup: Integrations

Est. time to complete: ~5 minutes

A one-time integration of a Natural Language Processing (NLP) engine must be completed in your workspace:


Step 1: Construct a flow

Est. time to complete: ~10 minutes

Each flow is invoked when your chosen AI model identifies user intent from a user's utterance ("I want to order room service") and matches it to a flow you've created (OrderRoomService). This match is done based on the training data you provide for your AI model.

  • Select Flows from workspace menu > Choose New flow

  • Enter a descriptive name (no spaces or special characters) > Select Save

  • Connect first node to Start node > Connect sequential nodes via node edges or stacking

  • Add conversational AI messages to nodes by selecting + Add message on a node's side panel

  • Place a Generative Journey node on the Canvas > Using the node's side panel, assign NLX as the integration

  • Switch Behavior toggle on node to Slot capture

  • Provide a succinct prompt to the LLM on what flow the task is part of, the end goal of the task, specific messaging or branding requirements (if any), and things to avoid (if any)

  • Assign all Required slots needed to complete the task

  • Link from the node's Success edge to the next node in the flow

  • Click Save

Repeat for any additional flows your application will help automate.


Step 2: Deploy application

Est. time to complete: ~10 minutes

Now you'll create the conversational AI application users will interface with. This step involves attaching all flows you want your application to access, defining flows to handle certain behaviors, setting up the channel(s) your application supports, and deploying.

  • Select Applications from workspace menu > Choose New application

  • Enter a descriptive name > Click Save

  • Click Flows tab of application > Select Attach flows > Attach one or more flows created to make available to your application > Click Attach selected then Save

  • Select Default behaviors tab of application > Assign any attached flows to the application's behaviors > Click Save

  • Select Channels tab of application > Create one or more communication channels your application will support

A build constructs the array of workflows that make up your application and updates any changes made to your flows, while deploying makes a successful build live:

  • Click Deployment tab of application > Select Create or Review & build

  • Wait for validation to complete > Select Create build*

  • When satisfied with a successful build, click Deploy

Want to see it in action? Explore a few conversations .

Begin by identifying the tasks your conversational AI application will automate and organize them into individual topics handled by . Determine the sequence of steps and messaging that the conversational application follows to assist a user with the task. The conversation workflow is assembled in an intent's Canvas builder with a pattern of nodes similar to a flow diagram.

Complete by attaching training data and attaching slots

Add nodes by right-clicking on the Canvas & choosing New node (see available )

Looking for more? See

*After a build status appears as Built, you may use the Test feature to test the conversation with your application using the latest build.

Looking for help with channel setup? See

🟢
powered by Generative Journey
Steps for NLP integration
flows
Flow setup
🧠
Intro to flows
🧠
Manage channels
node types