https://discord.gg/botpress logo
Isn't using an autonomous node an
# 🌎general
c
Isn't using an autonomous node an overkill? I am using a simple Raw Input and not use any tokens for this simple task. Is there a way to do it without an autonomous node?
add "validation"
and you can use code to validate the format you want using regex
c
yep just figured it out
I'll have to add some code
think such simple validations like required or string length etc. should be available
thanks for your help though
oh ok great
i mean this is kind of a "required" field but more advanced
c
Can we use botpress actions as well for input validation?
l
our friend gave a solution using code, an action essentially is a custom function youn can call in the studio, so technically yes
i bet my one line in the autonomous node is looking like less overkill now 😂
w
yep i agree, but indeed sometimes it's better not to use AI if it's part of a simple onboarding flow for instance
l
Link a workflow + enable exit or transition card
c
I use transition card with "true" expression.. anything else that I need to know? what's enable exit?
l
link a second workflow inside your AN
ill send an SS one moment
2 Views