Clay Icon

Using Webhooks and Auto-Dedupe to Update Records in a Database

ยท
ยท

We're trying to use webooks and auto-dedupe to update records in a table. Is that possible? I want to run two events to a table via webhook:

  1. 1.

    lead submitted domain

  2. 2.

    lead then submitted email

Not every lead will submit the email, but every lead will submit the domain. I want the second webhook to override the first webhook using auto-dedupe so that in the case that the lead submits the domain and email, we have those two data points in our table as a single record instead of two records, one with domain and one with email and domain. Right now auto-dedupe simply ignores the second webhook.

  • Avatar of Arturo O.
    Arturo O.
    ยท
    ยท

    Hey Bryan, thanks for the inquiry! Great use case. You're correct, auto-dedupe will always keep the first record that appears in the table and no way to modify that behavior at this time. However, we could implement a different logic. Will try to get an example going, record and send your way if that resembles what your trying to do.

  • Avatar of Bryan S.
    Bryan S.
    ยท
    ยท

    sounds good, thanks!

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Hi Bryan S.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Arturo O.
    Arturo O.
    ยท
    ยท

    Appreciate the patience, Bryan! Not quite as straightforward because it does sound a bit more complex than I expected when multiple variables are considered but hope this gives you some ideas/helps a bit! https://www.loom.com/share/68a136263b484b9a9832e2f7db74b32f

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    We haven't heard back from you in a bit, so we're going to go ahead and close things out here - feel free to let us know if you still need something!