I am building a simple server to automate some parts of my workflow with Trello, and I registered a Webhook for one of my boards.
I noticed that the Webhook payload provides a type in `action.type`, but this seems very generic. For example, any operation on a card will send the `update_card` action type. At the moment, I am inspecting `action.data` and trying to infer the kind of update that was performed on the card.
Is there a better way to identify the kind of operation? If not, would it be possible to attach it to the payload in order to simplify this process?
Webhooks are a little beyond the scope of my support, but one of our engineers did want me to share their gist to help differentiate those:
That should help with what you suggested, but for now, we don't have plans to change our behavior of those webhooks.
I hope that helps!
If you had to thrive a new habit during a lockdown, what would it be? Trello
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event