Conditional property using query library

Hi @techieoriname, welcome to the community :wave:

You can use ternary operation in your keys instead of using static keys there. Example:

Key | Value
{{ !name ? "" : "name" }}  |  {{ !name? ? "" : name}}

Note that I use a string name for the falsy value in the Key field. Apply similar logic for the rest of the property for the request.

2 Likes