Skip to main content

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.

Static Dropdown

Predefined list of options.

Dynamic Dropdown

Options loaded from API at runtime.
string[]
Property names that trigger a refresh when changed
Re-fetch options when user types in search

Multi-Select Dropdown

Allow selecting multiple options.

DateTime Property

Date and time picker.
Returns ISO 8601 format: 2024-01-15T10:30:00Z

File Property

File upload input.
Returns file object:

JSON Property

JSON input with validation.

Object Property

Key-value pairs.
Returns:

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:

Real-World Examples

Best Practices

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
Help users understand what to enter:
Pre-fill common values:
Refresh dependent dropdowns:
Add validation for important fields:

Next Steps

Create Actions

Use properties in your actions

Testing

Test property validation