Add To Response (Fixed & Dynamic)

The Add To Response stages add a set of data variables (as JSON) to the final response that is returned by the Flow. Flows are used to return data when they are being called over API and the calling system is expecting some information back.

The Key used is the name of the variable to return in and the value is the value to return which could be a name of a variable (use '<' to access variables) that has been calculated within the flow.

Difference between Fixed & Dynamic

The Return Data & Return Dynamic stages can have other stages following them and they only indicate what data is to be returned in the final response once the flow is complete.

With Add To Response (Fixed): the value of any variable at the time the stage is executed will be used so any further changes to the variable are not considered

With Add To Response (Dynamic): the value of any variables at the end of the flow are used so any changes to variables following this stage would be considered