Skip to main content
close.onCommentDeleted starts an automation when Close permanently deletes a comment during comment-thread cleanup. Close reports ordinary user and API removals through close.onCommentUpdated instead.
automations/on-close-comment-deleted.automation.ts
Optional static account selects a named binding. data is null; use objectId, leadId, and previousData from the Close event envelope. Use close.onCommentUpdated for ordinary removals, where data.body is null.