How to Duplicate Bots
# 🤝help
s
👋 Hi everyone! This is my first post here in the Botpress Discord community, and I'm excited to be a part of this vibrant community of bot enthusiasts! I have a question regarding Botpress Studio. I recently created a bot, and now I'm wondering if there's a way to duplicate it within Botpress Studio. Is there a specific method or feature that allows us to copy bots in Botpress Studio? It would be incredibly helpful to have a quick and efficient way to duplicate bots for various purposes. I appreciate any guidance or advice you can provide. Looking forward to exploring and learning more about Botpress with all of you! Cheers, 🤖 - Isaac
f
Hey Isaac, How are you? 🙂 We have something in the pipeline. However, I would encourage you to drop a feature requests with what you have in mind and what do you expect, maybe how it works too, I am sure it will be helpful for our product team. You can drop your idea here #1111026806254993459
a
@straight-secretary-60237 Thanks for contributing to our community! 🎉 I just wanted to second what @famous-jewelry-85388 said. If you can add your idea to #1111026806254993459 and give an example of the pain not having this issue is causing you (i.e. use cases for when this is needed), it would really help us prioritize this issue correctly. 📏
s
Hey Bassam and Patrick! Thank you for reaching out. I just put the feature request into the channel. In the meantime, do you have any recommendations on how to speed up the duplication of a bot that I have?
r
Is there a workaround for this until the feature gets added? I have a bot that I want to test - but I don’t want to overwrite the “live” copy of it. I can’t test it with the emulator because the emulator blocks my attempts to call external apis (ie pushover).
b
hello @rapid-manchester-41665! you can use the import/export feature

https://www.youtube.com/watch?v=garalsWay1U&list=PLlJHGGklthGl1aRSV3LSaAnSwcO3xhBq6&index=30

r
I’ve exported it - but do I need to change the name and ID in the exported json before re-importing in order to avoid overwriting the original? For example - it’s currently called Bot1 and there is a live version published. I want to import this as Bot2 so that I can publish it without affecting Bot1.
Please disregard. I figured it out. I needed to create a new bot and then import it under that new name - after which I can rename it to whatever I like. I was worried (unnecessarily) that it would re-import with the same name and overwrite my original. Thanks.
b
ah! glad you worked this out
happy bot building \o/
f
\o/
816 Views