If / Else

Experimental

Compare a page element, URL, text, or a saved Values name when the runner reaches this step. Then and Else hold the next steps. Alerts are Send Alert.

Use If / else to choose the next steps from a check of the page, URL, literal text, or a declared saved name. A match runs Then; otherwise it runs Else.

It evaluates once when the runner reaches the step. That is a match at that moment — not “the text changed since last reload.” A missing element is Else, not a failed wait. An empty Else continues after the If.

Alerts are not a property of If. Place Send Alert in Then or Else for an OS notification, sound, or webhook.

How to add it

Add step → If / else. Pick on page writes the first Page operand. Whole page on a Page operand sets that selector to body. The Saved operand picks a name from the sheet Values list.

All match / Any match appears once there are two or more clauses.

For a later text change, or to block until something appears, use Wait / Delay Until. The card suffix · Watch means a Wait Until exists, not an If toggle.

Use Wait / Delay Until when the automation should wait for a later change. Use Set Value to store data for another step, and Send Alert to notify after a matching branch.

Auto refresh until text appears puts Send Alert in Then after a reload. Get a back-in-stock alert uses that branch when every matching reload should alert. Monitor a website for changes compares the page with a saved previous value to alert only on a change, and explains when to use a timer, a check at this step, or Wait Until. Send a Slack webhook puts Send Alert in Then or Else. Troubleshoot silent Chrome notifications when an alert branch runs without a banner.

Claim a free 6-month Explorer License for the full Dashboard. The Explorer License is available for a limited time.

Get my free Explorer License

No credit or debit card required.

Learn about the Explorer License