---
title: "Discussion on \"How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops\" | Hashnode"
description: "Discussion on \"How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops\". How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops\nIf you have ever built an approval workflow on monday.com, you hit the same wall in week one. Stakeholder"
url: "https://hashnode.com/posts/locking-monday-com-columns-after-approval-without-webhook-revert-loops/6b08a51b83f67d1ecfe87bb3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops](https://adpulselabs.hashnode.dev/locking-monday-com-columns-after-approval-without-webhook-revert-loops?utm_source=hashnode&utm_medium=feed)

How to Lock monday.com Columns After Approval Without Triggering Infinite Webhook Revert Loops If you have ever built an approval workflow on monday.com, you hit the same wall in week one. Stakeholder

3d ago · 6 min read · adpulselabs.hashnode.dev  
Read the article

-   [#mondaycom](https://hashnode.com/tag/mondaycom)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#webhooks](https://hashnode.com/tag/webhooks)
-   [#architecture](https://hashnode.com/tag/architecture)

## Written by

[AdPulse Labs](https://hashnode.com/@adpulselabs)

@adpulselabs

  
[View profile](https://hashnode.com/@adpulselabs)

## Responses 1

Markdown supported · ⌘↵ to post

[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.
