Skip to main content

How Set User Custom Property Works

Update user properties based on workflow events and context. This action allows you to dynamically update user attributes as they progress through your workflows, enabling better personalization and tracking.

Configuration

Inputs

string
required
The ID of the user whose custom property will be updated. Typically references the workflow’s target user.
string
required
The identifier of the custom property to update. This should match a property defined in your user schema.
mixed
required
The new value to set for the custom property. Can be a string, number, boolean, or object depending on the property type.

Outputs

boolean
required
Whether the custom property was set successfully. Returns true on successful update, false if the operation failed.

Use Cases

Engagement Scoring
Journey Stage Tracking
Feature Usage Tracking
Preference Management

Best Practices

Property Naming
  • Use consistent naming conventions for custom properties
  • Choose descriptive names that clearly indicate the property’s purpose
  • Avoid special characters that might cause issues
Value Management
  • Validate values before setting to ensure data integrity
  • Consider the data type of the custom property
  • Plan for value updates and versioning
Performance Considerations
  • Batch property updates when possible
  • Monitor the frequency of property updates
  • Consider the impact on downstream systems that consume this data