closeBot.replaceLibraryFile replaces file content while retaining the CloseBot file ID.
automations/replace-closebot-library-file.automation.ts
Inputs
ProvidefileId and the replacement JavaScript File.
Output
Returns{ id: string } with the retained library file ID.