• 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

Pabbly connect - Google Sheets Find Row Update if exist or insert

Status
Not open for further replies.
Hello All,

I am connecting my webhook to google sheets. I want to add new row only the particular column value is not there in the sheets. If value is there means i want to update that whole row. How to achieve this in pabbly?
 

Pabbly

Administrator
Staff member
Please check this video tutorial which will help you set up the workflow as per your requirement -

How to Search and Update Google Sheets Row using Pabbly Connect -

 

Fagun Shah

Well-known member
You need to Use Lookup Row action after Webhook Capture step.

If that returns row index then it means that row already exists so you just need to update it. If it does not return row index it means you need to use Add New Row action.

Above thing can be achieved by use of router.

Copy my workflow from here - https://connect.pabbly.com/workflow/share/DkZVZ1E4V30FTwldBmMFYV1OUmUCXgA6ARFWX1M2AEY#

You can try this workflow real time by submitting details in this form - https://fagunshah.in/gsheet-operation/ and check entires in this Gsheet - https://docs.google.com/spreadsheets/d/10ojKsj_FlgX2LBRJh8IdCpj0chZj9P6S8hYSJkMCQ9I/edit?usp=sharing

Let me know if you need more help.

1625131199350.png


Router 1 - Data not Found -

1625131264785.png


1625131286656.png


Router 2- Data Found

1625131310962.png


1625131323287.png
 
You need to Use Lookup Row action after Webhook Capture step.

If that returns row index then it means that row already exists so you just need to update it. If it does not return row index it means you need to use Add New Row action.

Above thing can be achieved by use of router.

Copy my workflow from here - https://connect.pabbly.com/workflow/share/DkZVZ1E4V30FTwldBmMFYV1OUmUCXgA6ARFWX1M2AEY#

You can try this workflow real time by submitting details in this form - https://fagunshah.in/gsheet-operation/ and check entires in this Gsheet - https://docs.google.com/spreadsheets/d/10ojKsj_FlgX2LBRJh8IdCpj0chZj9P6S8hYSJkMCQ9I/edit?usp=sharing

Let me know if you need more help.

View attachment 1998

Router 1 - Data not Found -

View attachment 1999

View attachment 2000

Router 2- Data Found

View attachment 2001
You need to Use Lookup Row action after Webhook Capture step.

If that returns row index then it means that row already exists so you just need to update it. If it does not return row index it means you need to use Add New Row action.

Above thing can be achieved by use of router.

Copy my workflow from here - https://connect.pabbly.com/workflow/share/DkZVZ1E4V30FTwldBmMFYV1OUmUCXgA6ARFWX1M2AEY#

You can try this workflow real time by submitting details in this form - https://fagunshah.in/gsheet-operation/ and check entires in this Gsheet - https://docs.google.com/spreadsheets/d/10ojKsj_FlgX2LBRJh8IdCpj0chZj9P6S8hYSJkMCQ9I/edit?usp=sharing

Let me know if you need more help.

View attachment 1998

Router 1 - Data not Found -

View attachment 1999

View attachment 2000

Router 2- Data Found

View attachment 2001

View attachment 2002


View attachment 2002
Thank you so much. It worked!
 
Status
Not open for further replies.
Top