You can use if visible validation with a recovery test.
What will actually happen is that the agent will check if the element is visible if it does not visible the step will fail and then in case of failure he will run the recovery test which will be the addition of the item that you will prepare in advance.
If the element is found, the test will proceed to the next steps.
Side note, you can convert a step to a test:
You can simply create your steps in your test and then bind them to a test that you can use in all your tests, for example:
Choose the steps
And click Group step into a Test and give it a name
You can now call this test from all your tests in the project
Let me know if you were able to do so.