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 Save 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. Compare auto refresh with page monitoring to choose between a timer, a check at this step, and 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.

No credit or debit card required.

Learn about the Explorer License

Get your free Explorer License

Tab Automation isn’t available in the Chrome Web Store yet. Claim your Explorer License now, and we’ll email you at your checkout email address when it’s ready to install.

Your six-month license period starts when your key is issued, including time before the extension becomes available.

No credit or debit card required. Explorer won’t automatically become a paid subscription. You can choose to purchase a paid license later.

Get my free Explorer License