Fallback values in flow (webhook) template

I’m passing some arguments to a webhook flow ({{$trigger.payload.my_field}}) but if it is undefined I want it to default to an empty string. Can’t find any documentation about how to achieve that, can someone point me in the right direction?

1 Answer

1

Hello,

You can use script to transform the payload and define a empty string.

Thank you, seems to be the way :+1: