Let's say I have a system with database records matching cards on a board. The system listens to updates on the board webhook and when cards are renamed on the board, the system updates the corresponding database record to update the data the record has with the new card name.
The same system also pushes edits to the Trello board, renaming a card when a user edits the matching database record. This is done via the API. The API does not give back an action ID as part of the result of the API call used to perform the update.
Here is my question: How can my system, after updating a card's name, disregard the incoming update coming via the webhook and not initiate its procedure to write to the database (since the information is already there, the edit came from the database)?
Thanks for your input.