closeBot.cancelScheduledMessage cancels a pending message. For a failed message, it dismisses the failure while CloseBot retains the audit row.
automations/cancel-closebot-scheduled-message.automation.ts
Inputs
ProvideleadId and scheduledMessageId.
Output
Returnsnull after CloseBot accepts the cancellation or dismissal.