• 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

RFC: Lookup Spreadsheet Row in Google Sheets, if not found -> create new

Status
Not open for further replies.

AgentM

Member
Hi,

I am new to Pabbly (coming from Zapier) and really enjoy working with it.

But now I ran into a problem without having a solution for it:

I have a task "Lookup Spreadshet Row in Google Sheets" with two possible options, a matching line could be found or not. In Zapier it was just a simple checkbox for the option "Create Google Sheets Spreadsheet Row if it doesn’t exist yet?" - how can this be achieved in Pabbly?

Did not find any inputs for conditional behavior in the data flow.

Thanks for your help.
 
P

Pabblymember11

Guest
Hey @AgentM

You can use the Filter action step with the "Does not Exist" filter type for your work. I hope this might help you out.

2022-06-10_13h40_53.png
 

Nexify

Member
Hi @AgentM
Did this work for you? I am facing the same issue but cannot get my head around it.
IF it exists, update, else add new row. That should be it, shouldn;t it. How does a filter work, should it not be a router?
 

Fagun Shah

Well-known member
Hi @AgentM
Did this work for you? I am facing the same issue but cannot get my head around it.
IF it exists, update, else add new row. That should be it, shouldn;t it. How does a filter work, should it not be a router?
For your usecase you need to use Router instead of filter. Here is video on Routers -

Make sure you always try this with data which exist in gsheet. Only then you will be able to set filter in Router that Row Index key:value does not exist.
 

AgentM

Member
@GroeiGarage: Yes, it did work for me. I did a "Google Sheets : Lookup Spreadsheet Rows", then a "Router" where I use the "Filter" to check for "Route 1" is the data is not present and follow with a new row and "Route 2" to update the row.
 
Status
Not open for further replies.
Top