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

  • Platform Pick 1: Win Stakeholder Support
    Feeling like your affiliate marketing channel needs a boost, or you don’t have one yet? You’re on the right track! The first step is getting…
  • How to: Defining Goals and Expectations
    Defining goals and expectations is a fundamental step in managing an affiliate program. Setting clear goals and understanding what you want to achieve through the…
  • How to: Motivating and Rewarding Partners
    Motivating and rewarding your affiliate partners is essential for their engagement, activity, and long-term collaboration. Proper motivation and rewards can encourage your partners to put…

Dominate Your Industry