I have started a workflow with the WooCommerce and order.created trigger. If I put “actived”, “save” and go to my wordpress store to create a order it is just sitting there and not going anywere and don’t start a execution. But if i open my wordpress dashboard in /wp-admin so the workflow start the execution… Sometimes its work like charm and another time it need this action (open the dashboard to workflow start the execution). its make my crazy because i dont know what is happening.
Any hints how to go about that?
To a Workflow start with the WooCommerce Trigger node, you need to create an API key in the advanced settings of WooCommerce (API Rest), and with both values (user and secret), you will be able to configure in n8n the WooCommerce API credential for the WooCommerce Trigger node.
If you want to use Webhooks, then instead of the WooCommerce Trigger node, you should start the workflow with the Webhook Trigger node, copy the webhook URL that the node provides you (test for testing, production when the workflow is active) and include it in the Webhooks section of WooCommerce as attached in your screenshots. For the Webhook start in n8n with the information sent from WooCommerce, you must configure it as POST.
You can start with the test url, and when you have checked that the workflow executes well all the changes, activate it by changing the test url to the production url in the WooCommerce settings beforehand.