delete only 1 row while there are many rows that meet the condition (google sheet)

Status: Closed · Asked by ti saigon on · 0 views

tisaigon — Question ·

Hi
i have issue with delete row in Google sheet flow
If value in column d = "Posted", delete row
But only one row deleted
Related guide: https://forum.pabbly.com/threads/query-regarding-calendly-google-sheet-integration-through-pabbly.1387/#post-6540
Please see image and help
My Google sheet; https://docs.google.com/spreadsheets/d/1cbPDPQC7XqGcj5FRqd_epTKdNQS3JX0RuqwrB3nn_f0/edit#gid=0
Thank you

Attachments

shot_230309_044034.png
shot_230309_044024.png
Pabblymember11 — Reply ·

It appears that you haven't subtracted a row from the desired row to delete the selected row from the Google Sheets.

Though we have corrected it for now and it should work now.

tisaigon — Reply ·

@Supreme Please check, i've received email about task error detail . Thank you
[JUSTIFY]Hello TRAN NINH,

This email is to notify you that for the workflow "delete row after posted" , a recent task was not executed due to following error -[/JUSTIFY]

Task History ID: IjU3NjcwNTY0MDYzMjA0MzI1MjZkNTUzMjUxMzQ1MTYxNTQzOSI_3D_pc
Step Name: Google Sheets > Delete Row
Connection Name: Facebook content
Task Error Detail:

{
"error > code": 400,
"error > message": "Invalid JSON payload received. Unexpected token.\n0,\t\t\t\t\"endRowIndex\":,\t\t\t\t\"startRowIndex\"\n ^",
"error > status": "INVALID_ARGUMENT"
}

Attachments

shot_230309_195420.png
Pabblymember11 — Reply ·

Can you please check your history log once that whether are you getting the desired data from your Google Sheets: Lookup Value action step or not?

tisaigon — Reply ·

Now, can delete rows, but not all rows with value "Posted" . I tried it and it deleted 2rows but there is still 1 row left unremoved.

Pabblymember11 — Reply ·

Hey @tisaigon

If you have more than 1 row to delete you can use the Iterator action step after the Lookup Value action step.

Though we have added that for you now. Kindly give it a try and let us know.

tisaigon — Reply ·

Super. thank you

tisaigon — Reply ·

Or only delete last row

Attachments

shot_230502_072740.png
tisaigon — Reply ·

@Supreme please help, thanks

Pabblymember11 — Reply ·

You have passed the start row number in the end row and the end row number in the start row.

So, kindly correctly map the row index.

youtube.com/watch?v=UV1qOKlftvA

Back to all forum threads · Log in to reply