Is it possible to use an if statement inside the "insert text" action?

Is it possible to use an "if statement" inside the "insert text" action? I'd like to use this to insert some text if a variable has been set, for example:

Hi %Variable%Guest Name%,

Thanks for booking. I'm looking forward to making {if %Variable%Number of Guests% = "1"}you{else}the two of you{/if} comfortable

No. You will need to set another KM Variable using a separate Action, If Then Else action, and then use that Variable in the Insert Text action.

Thank you, I thought that would be the case but I just wanted to double check. KM is such a huge toolbox! I could have missed something.

1 Like