Skip to main content
closeBot.duplicateBot copies an existing bot and returns the new bot.
automations/duplicate-closebot-bot.automation.ts

Inputs

Provide the source botId.

Output

Returns the duplicated bot. Duplication is not replay-safe after an uncertain response.