• 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.

remove duplicated event ID's from spreadsheet

aristosv

Member
Using a Google Calendar trigger, each time a new event is added to a google calendar, I pull the information of the event and put it in a Google Sheet. But sometimes an event will be moved to another date/time and it's added to the spreadsheet again. It has the same Event ID but different Date/Time.

2.png


I need a way to find these duplicated events in the spreadsheet, and delete the old event and keep only the updated one.

I have created a webhook that triggers on New or Updated Spreadsheet Row and set the TriggerColumn to G, which is the Event ID. (workflow: find duplicated event)

3.png

From there on, how can I detect duplicate Event ID's and remove the old entry, and keep the new one? Or is there a better way to do this?
 
P

Pabblymember11

Guest
Hey @aristosv

You can validate the data which you are passing into your Google Sheets, you can filter the data first and on the basis of its presence, you can add the data.

To set the filter condition in your workflow, please refer to the following screenshot.

2022-04-16_13h05_44.png
 
Top