Skip to content

Automation creation fails silently when optional fields are left empty #22

@Khizarshah01

Description

@Khizarshah01

Description

When creating a chat automation using the /chat-automation-create command, the modal UI indicates that Users and Channels fields are optional:

  • Users: “leave empty for any user”
  • Channels: “leave empty for current channel”

However, if these fields are left empty and the automation is submitted, the automation is not created and the app fails silently.

The network response shows success: false, but:

  • No error message is shown to the user
  • No automation appears in the list

Steps to Reproduce

  1. Run /chat-automation-create
  2. Leave Users empty
  3. Leave Channels empty
  4. Fill Condition, Action, and Response
  5. Submit the modal

Actual Behavior

  • Automation is not created
  • /chat-automation list shows nothing

Expected Behavior

  • Automation should be created successfully
  • Empty Users should mean “any user”
  • Empty Channels should default to the current channel

Video Of Current Behavior

Screencast.from.2026-01-29.22-05-42.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions