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.

Insights that
helps you grow

  • Release notes 2025/12/19
    We added country-based categorization. You can now categorize offers, integrations, and other items by a specific country, or keep them global across all markets. We also…
  • Release notes 2025/12/17
    More flexible lead rejection: based on validation rules, filters, or pingtree sales results, by source (iframe, API) or by partner (include / exclude). It is now possible to…
  • Case study: How Lender Orka Ventures Scaled Affiliate Operations
    Orka Ventures, an online lending group that wanted to scale fast across countries and onboard affiliates quickly. Their custom affiliate API and tracking layer soon…