Set Variable

Set Variable allows you to capture a value from a response and store it in PalDock for later use. This works both within the current flow (e.g. passing values between requests) and afterwards (e.g. using the stored value in tracking/postbacks). The value is persisted in the database, so it remains available beyond the immediate integration run.

When creating a variable, you define how to collect it from the reponse:

  • Source – where to take the value from:
    • Body – a field inside the response body
    • Header – a response header
    • HTTP code – the status code of the response (e.g. 200, 404)
    • Constant – a fixed value defined manually
    • Query – a query parameter in the response URL
  • Key – the specific field or property to extract (the value in the response).
  • Value – the expected value to compare against.

Example

  • Source: Body
  • Key: leadId
  • Value: {external_id}

This saves the leadId from the response body into the system variable {external_id}, making it usable both in the flow and later in tracking.

or

  • Source: Body
  • Key: url
  • Value: {redirect_url}

This saves the url from the response body into the system variable {redirect_url}, making it usable both in the flow and later.

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…