Watch Orders Woocommerce

:us: Hello!

I have created a scenario to check every time an order is received in a Woocommerce store but for some reason it doesn’t work correctly. Even if I launch it by hand it doesn’t find new orders:

Hola!

He creado un escenario para comprobar cada vez que se recibe un pedido en una tienda de Woocommerce pero por algún motivo no funciona correctamente. Aunque lo lance a mano no encuentra nuevos pedidos:

:us: In the screenshot, although there are two new orders, when the scenario is launched it does not pick up any data from a new order:

En la captura, aunque hay dos pedidos nuevos, cuando se lanza el escenario no recoge ningún dato de un nuevo pedido:

:us: I also noticed that this configuration doesn’t work either. Whatever I choose it always stays on the first option:

También me he dado cuenta que esta configuración tampoco funciona. Elija lo que elija siempre se queda en la primera opción:

:us: Any help?

¿Alguna ayuda?

Thank you!
Gracias!

Welcome to the Make community!

Polling Triggers & Empty “Check Runs”

This is because the module is a POLLING trigger, and not an INSTANT (Webhook) trigger.

If you don’t see any bundles from the trigger module and operations on the rest of the modules, it means there are no new responses (empty output bundle) when the scenario ran to check for new items. This is called a “Check run”.

There are two main types of triggers, Polling (scheduled), and Instant (webhooks). Polling triggers can only run on a schedule. Instant triggers can be run as soon as data is received by the webhook.

  • Polling means Make checks external service for changes (pull changes to Make).
  • Webhook (instant) triggers means external service calls Make when there are new changes (push changes to Make).

The module you are using does not push changes — it’s basically a API request that Make has to occasionally “call” to fetch the latest changes/items.

To find out more on the different types of Trigger modules, see refer to Types of Modules and Webhooks sections of the Make Help Centre.

If you want your scenario to only run when there is new data (and not on a schedule or timed interval), see if your app has an “Instant” or “Webhook” trigger in Make. If not, check if the third-party service has a feature that can send out a webhook when content is created/updated - and then you can point it to a “Custom Webhook” trigger in your scenario.

If you want to re-run your scenario on older data,

Polling Triggers: Epoch Panel & Selecting Older Data

Go to the Epoch Panel, by right-clicking on the trigger module (polling triggers only), and select “Choose where to start” from the list of options in the context menu.

If you select “From now on”, the next time the scenario runs it will only return new data (or nothing if there is no new data).

You can also select other old data to re-run your scenario with next using the “Choose manually” option. This will then show you a list of previous historical items you can select to process the next time the scenario is triggered.

For more information, see

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

:us_outlying_islands: Thanks for the help @samliew !

I have changed the “Watch orders” module settings from “From now on” to “All” and now it does pick up the order data when it is received.

I have set a 15 minute interval in the scenario settings and everything seems to be working correctly.

Thanks for your help!


Gracias por la ayuda @samliew !

He cambiado los ajustes del módulo “Watch orders” de “From now on” a “All” y ahora sí que recoge los datos del pedido cuando se recibe.

He puesto un intervalo de 15 minutos en la configuración del escenario y parece que todo está funcionando correctamente.

Gracias por tu ayuda!

1 Like

No problem, really glad I could help! Thank you for providing all the requested information — that allowed me to come to a solution quickly.

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.