What can you do with it?
The/inputs
command enables you to access and utilize input parameters passed to your automation. You can retrieve POST body data, query parameters, form submissions, and API payloads that trigger your automation, allowing you to create dynamic workflows that respond to external data and user inputs.
How to use it?
Basic Command Structure
Parameters
Required:parameter-name
- The name of the input parameter to retrieve
default-value
- Value to use if parameter is not foundvalidation
- Validation rules to apply to the inputtransform
- Transformation to apply (e.g., uppercase, parse-json)
Response Format
The command returns:Examples
Basic Usage
Advanced Usage
Specific Use Case
Notes
Input Sources:- POST body parameters (inputs.js file)
- Query string parameters
- Form data submissions
- Webhook payloads
- API request bodies