Automatically If there are inactive products, extract the following one

WooCommerce

Trigger

Starting with the oldest product, return one by one each product that has been without updates for more than a specified number of hours.


Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • Product Id {{product_id}}

    Product ID assigned by WooCommerce.
    For example: 123

  • Name {{name}}

    Product name.
    For example: FullHD Monitor

  • Slug {{slug}}

    Part of the friendly URL used to uniquely identify a particular product.
    For example: fullhd-monitor

  • Permalink {{permalink}}

    Unique URL generated by WooCommerce for each particular product.
    For example: https://onlineshop.com/product/fullhd-monitor

  • Type {{type}}

    Type of product: Simple Product, Grouped Product, External/Affiliate Product or Variable Product.
    For example: external

  • Status {{status}}

    Status type: Draft, Pending, Private or Publish.
    For example: publish

  • Featured {{featured}}

    Whether the product is featured or not.
    For example: true

  • Description {{description}}

    Product description.
    For example: 1920x1080, IPS LED, 16:9, HDMI

  • SKU {{sku}}

    Stock Keeping Unit is the product code or reference number.
    For example: fullhd-monitor

  • Price {{price}}

    Current price of the product. If the product is on sale it will contain the value indicated in {{sale_price}}, otherwise the value indicated in {{regular_price}}.
    For example: 75

  • Regular price {{regular_price}}

    Normal price of the product when it is not on sale.
    For example: 100

  • Sale price {{sale_price}}

    Offer price of the product when it is on sale.
    For example: 75

  • External URL {{external_url}}

    External or affiliate URL for 'external' product types.
    For example: https://amazon.com/dp/BA3848123?tag=mycode-21

  • Image URL {{image_url}}

    URL of the main product image.
    For example: https://onlineshop.com/wp-content/uploads/2022/06/31iIhUf9-rL.jpg

  • Date created (GMT) {{date_created_gmt}}

    The date the product was created, as GMT.
    For example: 2023-02-22T09:20:48

  • Date modified (GMT) {{date_modified_gmt}}

    The date the product was last modified, as GMT.
    For example: 2023-02-22T09:20:48

  • Days since last modification {{days_since_modified}}

    Total number of days elapsed since the product was last modified.
    For example: 0

  • Stock status {{stock_status}}

    Controls the stock status of the product. Options: instock, outofstock, onbackorder.
    For example: instock

  • Stock quantity {{stock_quantity}}

    Available stock. If it is a variable product, this value reflects the generic for the product and not the quantity of stock for each of its possible variations.
    For example: 34

  • Attributes {{attributes}}

    List of attributes.
    For example: {"color":{"options":["red","blue"]}

  • Rating count {{rating_count}}

    Amount of reviews that the product have.
    For example: 5


Write us

By email or by Telegram.
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Let's talk

Choose day and time.
We share the screen and answer all your questions.