• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Deleting row in Google Sheet

Hi

I am using API to send a form which looks up a value in Google Sheets and then delete the row.

My steps are
1. Webhook
2. Google Sheets: Lookup Row
3. Google Sheets: Delete Row

I can get the response but when I go to delete row it asks Start Row Number and End Row Number.

How do I complete this please?

I want it to delete the whole single row where the entry was found in the lookup.
 
Hi

At the Math step, what is the relevance of 1 here
screenshot_2171.png


Is it always 1? Or how do I work out what number to put here
 
P

Pabblymember11

Guest
Hey @pabbledabble

To delete the row of the Google Sheets, you need to fill the immediate upper index of that desired row index, in terms to delete the row.

The subtraction on the Math operator is to get the upper row index to set the limit to delete the row, so it will always be subtracted by 1.

Further, you can try the similar work on our sample workflow -
https://connect.pabbly.com/workflow/share/WhJSYAdQUnpeF1QuDm9QeVhLBzAJVQc9XU0GD1w5URc#

Google Sheet - https://docs.google.com/spreadsheets/d/1yH5pYODOoSHqd1QphTX-TXFsVYZrpEtdSvDg-p47TWw/edit?usp=sharing
 
Top