The Modify Request element allows you to adjust a request just before it is executed. It is most often used to control how empty fields are handled when sending data to an external API.
Options
- Do not send – skip the field completely if it is empty.
- Replace with null – substitute the empty field with null.
- Replace – insert specific characters or placeholders required by the API (for example, an explicit blank value “”).
Why it matters
Different APIs treat empty fields differently: some expect them to be omitted entirely, while others require explicit values like null or “”. By setting rules, you ensure requests always meet the third-party requirements.
Example (based on screenshot)
- Condition 1: Empty fields → Replace → “”
- Condition 2: Empty fields → Do not send