Operations
This document lists each type of operation you can perform in a transform. Sometimes you will hear these transforms referred to as Seaspray, the codename for transforms.
Transform Operations
Seaspray ships out of the box with a number of primitive operations. The following sections describe the operations.
📄️ Account Attribute
Look up an account for a particular source on an identity.
📄️ Base64 Decode
Render base64 data in its original binary format.
📄️ Base64 Encode
Encode data with a Base64-based text encoding scheme.
📄️ Concatenation
Join two or more string values into a combined output.
📄️ Conditional
Output different values depending on simple conditional logic.
📄️ Date Compare
Compare two dates and return a calculated value.
📄️ Date Format
Convert datetime strings from one format to another.
📄️ Date Math
Add, subtract, and round components of a timestamp's incoming value.
📄️ Decompose Diacritial Marks
Clean or standardize symbols used within language.
📄️ E.164 Phone
Convert a phone number string into an E.164-compatible number.
📄️ First Valid
Return the first piece of data that is not null.
📄️ Generate Random String
Generate a random string of any length.
📄️ Get End of String
Get the rightmost N characters of a string.
📄️ Get Reference Identity Attribute
Get another user's identity attribute.
📄️ Identity Attribute
Get a user's identity attribute's value.
📄️ Index Of
Get the location of a specific substring within a value.
📄️ ISO3166
Convert a string into an ISO 3166 country code value.
📄️ Last Index Of
Returns last location of specific substring.
📄️ Left Pad
Left pad of the input string.
📄️ Lookup
Look up and return a key's matching value.
📄️ Lower
Convert an input string into all lowercase letters.
📄️ Name Normalizer
Clean or standardize the spelling of strings coming in from source systems.
📄️ Random Alphanumeric
Generate a random string of any length.
📄️ Random Numeric
Generate a random number of any length.
📄️ Reference
Reuse a transform that has already been written.
📄️ Replace All
Find and replace all instances of all patterns.
📄️ Replace
Find and replace all instances of a single string.
📄️ Right Pad
Add padding to the right of an incoming string.
📄️ Rule
Reuse rule logic that has already been written for a previous use case.
📄️ Split
Return the Nth element of a split array.
📄️ Static
Return a fixed string value.
📄️ Substring
Get the inner portion of a string passed into the transform.
📄️ Trim
Trim whitespaces from both the beginning and ending of input strings.
📄️ Upper
Convert an input string into all uppercase letters.
📄️ Username Generator
Derive a unique value for an attribute in an account create profile.
📄️ UUID Generator
Create a universal unique ID (UUID).