how to Handle 2 different inputs?

daksh101

Member
Hi i am developing our app integration to pabbly. We have a action to "rename folder" we want to give user one input box ( parameter) where they either give "name" or "folder path". Is there a way we can identify in backend of the action to determine if the input has "/" (that means it is a path).And depending on "path" or "name" call different api endpoints?
 

Naveen

Active member
Staff member
Hi i am developing our app integration to pabbly. We have a action to "rename folder" we want to give user one input box ( parameter) where they either give "name" or "folder path". Is there a way we can identify in backend of the action to determine if the input has "/" (that means it is a path).And depending on "path" or "name" call different api endpoints?
Unfortunately, there is no such internal feature available at the backend to identify the input value is either a path or normal string.

You need to specify the input format with example in the help text of the field.
 
Top