When to Use Preprocessing
- Format inputs to match the model schema (e.g., convert a date to ISO format)
- Add additional metadata required by the model
- Clean raw input (e.g., remove special characters from text)
- Combine or derive fields (e.g., full name = first + last)
How Preprocessing Works
Each input field can be passed through one or more transformations before being sent to the model. These transformations are applied in the order defined in the UI.⚠️ Preprocessing does not modify your original data — it only adjusts the payload sent to the model for that request.
Common Use Cases
Example Use Case | Transformation |
---|---|
Format created_at timestamp | Convert to ISO 8601 |
Combine first and last name | Join with space |
Normalize text input | Lowercase, remove punctuation |
Apply static fallback | Use default if no value found |
Dynamic Input + Preprocessing
Preprocessing is often used alongside Dynamic Input Values to shape data pulled from apps like Salesforce, ServiceNow, or custom web tools. 📘 Example:If you’re harvesting a value like
deal_amount
from a CRM, you might want to round it or convert it into another currency before sending it to the model.