Explore Bato Web Agency Webflow Certified Partner Profile Explore Bato Web Agency Webflow Certified Partner Profile

How do you handle optional fields in a Zap?

Illustration without a description Illustration without a description

Handle an optional field according to what a blank value means in the destination. You can pass it through, replace it with a default, skip one action, or route the run to a separate branch. Do not map an unreliable optional value into a required destination field without a fallback or stopping condition.

 

Inspect several live trigger records because one complete test sample can hide the problem. In Zap History, check Data Out from the trigger and note whether the field is absent, present as an empty string, or present with a null-like value. Filters and destination apps may treat those cases differently.

 

Use Formatter when a harmless default is acceptable, such as setting an empty country to a known operational default. Use Filter when the workflow must stop without the value. Use Paths when records with and without the field require different valid actions. Preserve a true blank if inventing data would mislead users or reports.

 

  • Required for the process: stop and surface the missing value.
  • Optional and safe to omit: leave the destination field unmapped or blank.
  • Optional with an approved default: create the fallback before the action.
  • Different process when absent: branch on existence and test both routes.

 

Updates need special care because sending an empty value may erase existing destination data. Check how the specific action handles blank mapped fields. If the destination should retain its current value, use a branch that omits the update or first retrieve the current record and construct the action according to the ownership rule.

 

Test one record with the field, one without it, and one containing whitespace or an unexpected format. Confirm the run status and destination result for each case. Document the chosen blank-value rule so a future editor does not replace a deliberate omission with fabricated data.