Skip to content

Slugify

Generate stable slugs from one or more fields.

Transform json

actions:
- slugify: {}
JSON
{
"actions": [
{
"slugify": {}
}
]
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Field Type Required Description
description string describe this step.
condition lua-expression (string) Only run this action if the specified condition is met.
Examples: 2 * count()
source-fields string[] Ordered list of fields whose values will be concatenated.
output-field field (string) Field that receives the resulting slug (defaults to ‘slug’).
Examples: data_field
separator string String inserted between tokens (defaults to ‘-’).
case Case Case transformation applied before slugification.
Allowed values: lower, upper, title, preserve
max-length number (integer) Maximum slug length; longer slugs are truncated.
Examples: 42, 1.2e-10
stop-words string[] Tokens removed before slugification (case-insensitive).
collision-strategy Collision Strategy Strategy used when the slug collides with an existing value.
Allowed values: error, append-counter, append-hash
Value Aliases Name Description
lower lower
upper upper
title title
preserve preserve
Value Aliases Name Description
error error
append-counter append-counter
append-hash append-hash