What are Properties?
Properties are inputs that users configure for actions and triggers. They define what information is needed to execute your piece’s functionality.Property Types
Activepieces provides rich property types for different kinds of input:Text
ShortText, LongText
Number
Numeric input
Boolean
Checkbox
Selection
Dropdown, Multi-select
Date & Time
DateTime picker
Files
File uploads
Structured Data
JSON, Object, Array
Dynamic
Dynamic properties
Text Properties
ShortText
Single-line text input for names, IDs, URLs, etc.string
required
Label shown to users
string
Helper text explaining what to enter
boolean
default:"false"
Whether the field is required
string
Pre-filled default value
LongText
Multi-line text input for messages, descriptions, etc.Number Property
Numeric input with optional min/max validation.Validator[]
Validation rules for min/max values
Checkbox Property
Boolean input for yes/no options.Dropdown Properties
Static Dropdown
Predefined list of options.Dynamic Dropdown
Options loaded from API at runtime.string[]
Property names that trigger a refresh when changed
boolean
Re-fetch options when user types in search
Multi-Select Dropdown
Allow selecting multiple options.DateTime Property
Date and time picker.2024-01-15T10:30:00Z
File Property
File upload input.JSON Property
JSON input with validation.Object Property
Key-value pairs.Array Property
Array of values with specified type.Dynamic Properties
Properties that change based on other property values.Markdown Property
Display formatted text (not an input).Custom Property
Build completely custom UI components.Property Validation
Add validation to ensure correct input:- Number Validation
- Text Pattern
- Custom Validation
Real-World Examples
Slack Channel Selector
Slack Channel Selector
GitHub Repository with Dynamic Fields
GitHub Repository with Dynamic Fields
File Upload with Metadata
File Upload with Metadata
Best Practices
Use Appropriate Property Types
Use Appropriate Property Types
Choose the right property type for the data:
- Email/URL: ShortText with validation
- Description: LongText
- Selection from list: Dropdown
- Multiple selections: MultiSelectDropdown
- Yes/No: Checkbox
- Structured data: JSON or Object
Provide Clear Descriptions
Provide Clear Descriptions
Help users understand what to enter:
Set Sensible Defaults
Set Sensible Defaults
Pre-fill common values:
Use Refreshers for Dependencies
Use Refreshers for Dependencies
Refresh dependent dropdowns:
Validate Critical Inputs
Validate Critical Inputs
Add validation for important fields:
Next Steps
Create Actions
Use properties in your actions
Testing
Test property validation