Adding an Input
- Visually: Canvas View
- Visually: Function Stack
- XanoScript
1
Click Add an Input

2
Select the type of input you want to add.

Input Options
Filters and Rules
- Visually
- XanoScript
With your input selected, scroll down to the Custom Rules and Filters section, and choose + Add an Input Rule.

Input Filters
Transform the data sent to the input on the fly.Input Rules
Validate the data sent to the input. If the data doesn’t meet the criteria, the logic will fail to execute.Input Reference
Review all available input types below by selecting the section you’re interested in.Text
A plain string of text, code, or any other characters.
Integer
A whole number, such as a count, year, or ID.
UUID
A Universally Unique Identifier — a random string used to ensure record uniqueness.
Object
A JSON object with a defined schema (e.g., user settings or product details).\
Example of an object input
Table Reference
An integer or UUID referencing a record in another table.
Vector
A fixed-length array of numbers (embedding) for similarity search in AI/ML.
Enum
A predefined list of values to enforce consistency (e.g., “To Do”, “In Progress”, “Done”, “Pending”).
Timestamp
A point in time in milliseconds since the Unix Epoch (Jan 1, 1970).
Date
A calendar date in
YYYY-MM-DD format.Boolean
A true or false value.
Decimal
A number with a decimal point (e.g., 1.5, 100.00, 0.001).
An email address.
Password
A hashed and salted password. Plain text is never stored or retrievable.
JSON
A flexible JSON object or array without a defined schema — ideal for variable data (e.g., from external APIs).
Example of a JSON input
Storage
File metadata for images, videos, audio, or other files (e.g., URL, name, size, type). Actual files are not stored in the database.
Geography
Stores geographic data such as a point, path, or polygon.











