Continue only if a condition is met step

# What to use the Continue only if a condition is met step for

Use this logic step to check a value, if true then continue your bot run. For example it could be used to check if a piece of content has been updated by checking for a string value such as 'New' if found the bot could continue its run. You may want to use the 'scrape data' step to fetch the value.

You can use this step to:

  • Query if theres any data left in a Coogle Sheet, then stop bot run if empty
  • Check against a value on a webpage by 'scraping' it first
  • Confirm a form or post has been submitted
  • Control if a bot runs depending on a value found in a Google Sheet

# How to configure the Continue only if a condition is met step

# Data to check

Select the variable containing the data you wish to check against. That variable could be from any step, for example, a webhook or Web Scraper

# Condition to check

Check data for either a list of words or if a javascript expression is true.

Enter either a list of any number of words to check for, separated by commas, or data containing a list of words, one in each row. Leave blank to match anything.

Check this to match only when the complete word appears in the data. Only the characters a-z A-Z 0-9 and _ are considered to be part of a word, all other characters are considered as being part of a word boundary.

# Fail if condition not met

Tick this box to end the run with the 'Failed' status if the condition is not met. If this is left unchecked, the run will end in 'Success' instead.

# Reverse condition

Continue if the condition is NOT met.

Configuration settings

    Step type