Basic actions · Conditions

Collect based on stock status

An item may be in or out of stock. Have the workflow choose its next action based on the status shown on the page.

Try this request

Open Compile with AI in the extension and send:

Check the stock status. If it is “In stock”, collect the book title and price and save them to Storage. If it is “Out of stock”, skip collection and end the task.

After saving the workflow, choose a stock status below and start the task from Workbench. Try each status once.

Check the result

In stock: collect 1 row, Between Mountains and Seas, ¥32.00. Out of stock: no new data is added; earlier results may remain. Check this run in Logs to confirm collection was skipped.

Sample product

Change the stock status to repeat the exercise. The product and stock levels are fictional.

Between Mountains and Seas

Price:¥32.00

Stock status:In stock