• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Creating invoices in Zoho books automatically from Woocommerce

I have referred to the below video and created the flow to create new contacts in Zoho books from Woocommerce orders. However, what I need is as and when an order comes, it should check whether that customer is in Zoho books and generate invoice, if the customer is not present create the customer and then create the invoice. What is the best way to apply this conditional logic and what should be the variables we need to be checking in for this setup?

 

Preeti Paryani

Well-known member
Staff member
Hello @naveenkunju

To set up this workflow in Pabbly Connect, you can follow these steps:
  1. Trigger: Use a trigger from WooCommerce for new orders.
  2. Action 1 (Zoho Books : Find Customer): Use the "Find Customer" action in Zoho Books to check if the customer already exists. You can use the customer's email or phone number from the WooCommerce order data as a unique identifier.
  3. Conditional Step(Router): You can use the Customer ID to filter if the customer exists or not
    • If the customer is found, move to the next step to create an invoice.
    • If the customer is not found, proceed to create a new contact.
  4. Action 2a (If Customer Exists - Create Invoice): Generate the invoice directly using the customer ID found in Action 1.
  5. Action 2b (If Customer Does Not Exist - Create Customer & Then Create Invoice):
    • First, create a new customer using the WooCommerce data.
    • After creating the customer, use the generated customer ID to create the invoice.
By checking variables like the Customer ID as unique identifiers, you can implement this conditional logic smoothly. Let us know if you need further clarification on any step!
 
Thanks for this. In the Router step, I could not see Customer ID in the drop down. Can you please specify the correct parameter to use here?

1731560406218.png
 
Amazing. This works and the instructions you have given are crystal clear. Thank you so much.

If I have around 100-200 orders every month, do I need to take a premium subscription for pabbly or the free one is sufficient? Can I also check whether pabbly slows down the website in any ways?
 
Top