Manipulating variables in Workflows

Hi,

I’m writing an integration to our operations -app, where I’d need the ability to update the value of a variable during the workflow, based on some conditions. The variable is in the end used to update records in our operations app. I haven’t been able to find a way to update the value of a variable OR possibility to create a new variable conditionally based on some prior variables.

Any tips? Or do I have to go for a custom integration via webhooks and api calls?