"Else If" statement

Is there a non-convoluted way to check multiple conditions sequentially like this ?

if A ---> Do 1
Else if B ---> Do 2
Else if C ---> Do 3
Else ---> Do 4

So that if only B is true, only 2 will be executed.
If both A and C are true, both 1 and 3 will be executed.
And if none are true, only 4 will be executed.

I have a few complex actions that use multiple variables and conditions to kind of achieve this but it's tedious to setup and modify.

only via nested ifs:

Often it is easier to transform your action sequence to javascript.

async function someJavaScriptFunction() {
    let variable1 = await get_string_variable("variable1");
    let variable2 = await get_string_variable("variable2");
    let variable3 = await get_number_variable("variable3");

    // ...
}

Mmh, last time I tried nested if conditions it didn't work as expected. It was a while ago though, things might have changed (or maybe I did something wrong).
I'll look into javascript thanks!

You can convert any individual action to JS by right-clicking it:

This makes it relatively simple to transform larger action sequences