Text Transforms
Text Transforms allow you to modify captured text and number parameters before they are sent to an action. This helps ensure the output matches the format required by your destination system.
Text Transforms are a Pro feature. Upgrading to Action Phrase Pro unlocks the ability to format and modify captured text and numbers before they’re sent to actions, giving you greater control and flexibility in your automation workflows.
Text Transforms
{{text|title}}
Converts text to Title Case.
{{text|upper}}
Converts all letters to UPPERCASE.
{{text|lower}}
Converts all letters to lowercase.
{{text|capitalize}}
Capitalizes the first letter of the text.
{{text|trim}}
Removes whitespace from the beginning and end of the text.
{{text|slug}}
Converts text into a URL-friendly slug (lowercase with hyphens).
{{text|strip_non_alphanumeric}}
Removes characters that aren’t letters or numbers (helpful for clean IDs).
{{text|truncate:10}}
Limits the text to a maximum length (useful for systems with character limits).
{{text|replace:from,to}}
Replaces one substring with another.
{{text|number_words}}
Converts numeric digits into written words (e.g., 25 → “twenty-five”).
{{text|number_digits}}
Converts number words into digits (e.g., “twenty-five” → 25).
Number Transforms
{{number|add:1}}
Adds a value to the number.
{{number|sub:1}}
Subtracts a value from the number.
{{number|mul:1}}
Multiplies the number by a value.
{{number|div:2}}
Divides the number by a value.
{{number|min:1}}
Ensures the number is not below a minimum value.
{{number|max:100}}
Ensures the number is not above a maximum value.
{{number|clamp:0,100}}
Keeps the number within a range by applying both a minimum and maximum.
{{number|mod:10}}
Returns the remainder after dividing by a value (useful for wraparound behaviors).
{{number|round}}
Rounds to the nearest integer.
{{number|floor}}
Rounds down to the nearest integer.
{{number|ceil}}
Rounds up to the nearest integer.
{{number|abs}}
Returns the absolute value (removes negative sign).
{{number|format:0.00}}
Formats the number using a pattern (e.g., fixed decimal places).