prefix

The prefix operation adds a predefined value in front of the input value. The prefix is defined in the Output field of the operation settings.

How it works

  • You specify a prefix string (e.g. “ID-“).
  • When the operation runs, this string is placed at the beginning of the input value.
  • The original value is kept intact, only extended with the prefix.

Examples

InputPrefixOutput
12345ID-ID-12345
appleFR-FR-apple
eyJhbGciOiJIUzI1NiIsInR5c…BearerBearer eyJhbGciOiJIUzI1NiIsInR5c…

Usage in PalDock

Use prefix when you need to:

  • Add identifiers to values (e.g. ID-123).
  • Attach country codes to phone numbers (e.g. +420 before the local number).
  • Add tags or markers to values before sending them to an API.
  • Standardize values across multiple sources by giving them a consistent prefix.
  • Most commonly: prepend the string “Bearer ” to a Base64 token or JWT when setting up Authorization headers in API requests.

Best Practices

  • Keep prefixes consistent — e.g. use the same tag across all IDs of a certain type.
  • Combine prefix with conditions to only apply it in specific cases (e.g. only add +420 if no prefix is present).
  • Be mindful of APIs that might reject duplicate or unexpected prefixes.

Related articles

Modify Field > combine
Modify Field > urldecode
Modify Field > urlencode
Modify Field > load-from-lead
Modify Field > regex-replace
Modify Field > from-base64
Modify Field > to-base64
Modify Field > modify-date
Modify Field > format-date
Modify Field > do-not-send

Insights that
helps you grow