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 the Values tab?
  • Add custom slot values
  • Add custom slot synonyms
  • Upload/download slot values
  1. Build
  2. Resources
  3. Slots (custom)

Adding values

Easily learn how to create custom slot values and synonyms in your NLX workspace

Last updated 5 days ago

What's the Values tab?

Values holds all the data and functionality for your custom slot’s values.

To reference your custom slot's values in a flow or in training data, be sure to attach it .


Add custom slot values

After creating a new custom slot:

  • Click + Add new value > Enter custom slot value

  • Click + Add new value or use SHIFT + ENTER to create a new field. Repeat as needed

  • To remove a value from the list, select the remove icon

Avoid using special characters, keep values under 100 characters, and refrain from closely-named values (value 1 = Yes, value 2 = Yes, please).

Optional (expand a value to view):

  • Skip translation: Enable to prevent the value from being automatically translated when a language is assigned to the slot

  • Value ID: A unique and non-editable ID that is auto-generated when the slot is saved

  • Choice payload: Allows you to display a custom payload when the value is presented as a selection to users. You may also apply that have been previously set in the flow by invoking the placeholder menu with an open curly brace { while in the Choice payload field. They can also be useful to sort values within your application. For example, you could add isLastValue to the choice payload field of the custom slot value:


Add custom slot synonyms

Synonyms allow you to add alternate terms to a custom slot value that users are likely to provide when making a choice (e.g., a user may respond with Sure or OK instead of Yes). In these cases, synonyms can be added to expand the scope of responses that capture the same value:

  • Expand a value > Select + Add synonym

  • Enter a synonym for the value. Repeat to enter as many synonyms for the value, as needed


Upload/download slot values

  • Upload: Allows for a JSON, CSV, or TXT file to be ingested with slot values

  • Download: Prompts existing training phrase data to be downloaded to a CSV or JSON file for editing. Click the CSV/JSON button beside the Download link to swap formats

Context variables
within the flow's Settings
Choice payload field of a custom slot value