Connect WooCommerce to any Application
Use SOCKET with WooCommerce actions, for e.g. post data to SOCKET URL every time a product is added to the shopping cart using the actionwoocommerce_add_to_cart, then perform multiple actions using that data (e.g. SMS, e-mail etc).
Steps to perform:
- Create Flow and copy its URL
- Configure SOCKET in WooCommerce
- Test
- Add Steps in Flow
Step 1 : Create Flow and copy its URL
Refer this link to know about how to create Account, Flow and use Auth-key.
Step 2 : Configure SOCKET URL in WooCommerce
Create a new Webhook in WooCommerce at WordPress:
- Go to: WooCommerce > Settings > API > Webhooks
- Click ‘Add’
- Enter your Settings.
In ‘Delivery URL’ paste your ‘SOCKET URL’ that you copied earlier along with your ‘authkey’ (in query parameter).
→Refer this link to know How to send authkey in Query Parameter
→Refer this link to know more about each field
Click ‘Save Webhook’, you should see the Hook listed. Congrats!
Step 3 : Test
Now perform the action you set up, this will send the event to SOCKET where we catch the event and you can see the received data in ‘Last Invocations’ tab.
Step 4 : Add Steps in Flow
Now all you need, is to integrate your desired steps (such as Slack, e-mail, SMS etc.) in your flow.
→Refer this link to know How to add Steps in Flow
Use Cases
woocommerce to SMS, woocommerce to Email, woocommerce to CRM, It’s like woocommerce to anything, its viaSOCKET.