Listening for file upload events

I’m looking for a way of hooking into either of these:

  1. when a file is added to a column
  2. when a file is added to assets (say in an update message)

Is there any way of listening for these events?

I want to create a recipe sentence like so:

When a file is uploaded, do “________”

Or something similar.

I think that I could use the “column changes” trigger for point 1, but can’t figure out how to capture events for files that only exist in assets, not columns.

Hello there @dvdsmpsn,

As you well said, you can use a “When column changes” webhook for the first point.

We do not have a webhook for the second one. The closest thing I can think of would be to use the “When updated is created” webhook and check each time if it has a file in it. Not great since you would be using many actions for it, but I am not sure if there is a better way of achieving it.

Cheers,
Matias

@Matias.Monday thanks for this. The webhook approach doesn’t seem very efficient as there will be lots of false positives.

Maybe this could be converted into a feature request?

It is a feature request now @dvdsmpsn !

1 Like