Empty string python zapier

The code itself should be fine, but it won’t like it if the field has no value (and won’t work as expected). It depends on your workflow but you might instead want to use a Zapier filter that only continues if a field “exists”. That can detect blank fields: https://zapier.com/help/filter/