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

  • 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