Webhook for newly uploaded files (Organisation)

goeranhomberg
goeranhomberg Member Posts: 3 NEW MEMBER
First Comment Photogenic

Hi there,

I tried to figure out, how I can be notified by a webhook as soon as a file is uploaded to an organisation.

There is nothing documented pointing into that direction. I already tried (Organisation)+(Updated), which triggers and works for changes of attributes of the organisation, but it does not trigger when a file (image) is uploaded.

Any idea how to handle that or is there something missing in the documentation?

Greetings & big thx,
Gøran

Answers

  • mac@datomni.com
    mac@datomni.com Member Posts: 13 VERIFIED MEMBER
    10 Comments Name Dropper First Answer Photogenic

    Hi, Mac here from Datomni. We do data-driven Pipedrive implementations and work a lot with Pipedrive webhook.

    I can confirm that the "Organization Update" webhook triggers when a file/png image is added to the Organization view. I ran a quick test, and our collector received the event. You’ll see the files_count counter incremented in the incoming payload.

    I’ve included a (very) rough sketch in the attached screenshot.

    If you're not seeing this, there might be an issue on the collection side.

    Hope it helps.

    Thanks,
    Mac

  • goeranhomberg
    goeranhomberg Member Posts: 3 NEW MEMBER
    First Comment Photogenic

    Thx Mac,

    which Version do you use? V1 or V2?

    V2 does not support the action "updated". It only supports create, change and delete.

    When using the deprecated V1, I can use "updated" and the action is triggered.

    I do not want to build a new process on a deprecated API ;) So, any Ideas?

    Cheers,
    Gøran

  • mac@datomni.com
    mac@datomni.com Member Posts: 13 VERIFIED MEMBER
    10 Comments Name Dropper First Answer Photogenic

    Ah, good catch, Gøran! We’re on v1 and just added the upgrade to v2 to our roadmap.
    I’ll keep you posted if we have any useful updates as we switch.

    Thanks!
    Mac