Skip to main content
closeBot.replaceLibraryFile replaces file content while retaining the CloseBot file ID.
automations/replace-closebot-library-file.automation.ts

Inputs

Provide fileId and the replacement JavaScript File.

Output

Returns { id: string } with the retained library file ID.