---
title: "Comment by Hayrullah Kar on \"How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops\" | Hashnode"
description: "Catching the echo with a canonical form instead of a flag is a tidy way to stop the loop in one hop. There is one mismatch in the status branch, though. canonic"
url: "https://hashnode.com/posts/locking-monday-com-columns-after-approval-without-webhook-revert-loops/6b08a51b83f67d1ecfe87bb3/comment/6b0d87696a2cd4e305c3be87"
---

[Discussion](https://hashnode.com/posts/locking-monday-com-columns-after-approval-without-webhook-revert-loops/6b08a51b83f67d1ecfe87bb3)

Comment [How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops](https://hashnode.com/posts/locking-monday-com-columns-after-approval-without-webhook-revert-loops/6b08a51b83f67d1ecfe87bb3)

[Hayrullah Kar](https://hashnode.com/@magesheet)

[6h ago](https://hashnode.com/posts/locking-monday-com-columns-after-approval-without-webhook-revert-loops/6b08a51b83f67d1ecfe87bb3/comment/6b0d87696a2cd4e305c3be87)

Catching the echo with a canonical form instead of a flag is a tidy way to stop the loop in one hop. There is one mismatch in the status branch, though. canonicalizeColumnValue returns { index } whenever index is present and only falls back to { label } otherwise, while the snapshot for statusColumnId is pinned to { label: "Approved" }. Suppose the echo of your own status sync arrives with an index. If I remember the webhook shape correctly, monday sends status values with both an index and a nested label object. Then the two sides canonicalize to different keys and your own sync reads as tampering. The nested object would also turn String(obj.label) into "\[object Object\]". Mapping both sides to one form before comparing would close this: resolve index to the label text through the column's settings\_str, or read label.text when label is an object, and compare only that. A unit test that feeds the real webhook payload of your own status write back into the guard would catch it if it ever comes back.
