prompt_for_user_input method shows a form in the Narada browser UI and waits for the user to provide values for one or more workflow variables.
Use this when a Python agent needs structured input before it can continue.
For a higher-level guide covering both human-in-the-loop methods, see Human-in-the-Loop Steps.
Method Signature
Parameters
The variables to ask the user to fill. Each variable has:
name: variable nametype: one ofstring,number,boolean,enum,dataTable,object, orarrayrequired: whether the user must provide a valueenum_values: allowed values forenumvariables
Text to show above the generated input fields. Use this to explain what the user should enter in plain language.
Maximum time in seconds to wait for the user response. The default is 300 seconds, and the maximum is 3600 seconds.
Return Value
Returns a dictionary keyed by variable name:UserAbortedError.
For dataTable variables, returned values use the canonical table shape: