how to Handle 2 different inputs?

Status: Closed · Asked by daksh101 on · 0 views

daksh101 — Question ·

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?

PabblyMember3 — Reply ·
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.

Back to all forum threads · Log in to reply