How to wait for an element to appear and run an activity after it appear?

Based on application behaviour you can define no of retries
Without no of retries u can not use as it’s a required paramagnetic for this activity

What u can do is add wait time like 10 sec or more between retry attempts
You can have it as a sale rate flow or state
Where it will wait for one min or more time and then retry