Is it safe to copy an AppSheet app with an enabled Automation Bot?

Hello AppSheet Community, I have an existing AppSheet application with an enabled Automation Bot triggered by adding a row. I need to create an isolated test copy while leaving production and its recovery backup unchanged. Before using Copy App, please clarify: (1) Can Copy App itself trigger data-change events and run Bots? (2) Are enabled Bots disabled automatically in new copies or do they retain enabled status? (3) Can scheduled or external subscriptions execute during or immediately following the copy? (4) Is there a supported way to copy with all automations disabled from the start? (5) What is the recommended safe procedure to avoid notifications and any changes to production? One data-change bot is currently enabled and one scheduled bot disabled. We need guidance before pressing Copy, not disabling Bots afterward. Thanks.

When you copy an app, its bots, including their configurations and enabled status, are copied, too. My recommendation would be to pause the copy immediately after creating it, then disable or reconfigure its bots before unpausing it.

Thank you, Steve. Just to clarify the critical point before we proceed: can the Copy App operation itself trigger the inherited enabled data-change Bot, or can that Bot run in the new copy before we have time to pause it? Is there any supported way to guarantee the copied app is paused or its Bots disabled before it becomes active? Also, do external event subscriptions carry over and potentially run during this initial window? We need to preserve our untouched recovery backup and avoid any unintended side effects. Thanks again!

The copy cannot trigger the original app’s bot, but the copy’s bots can be triggered by activity within the copy, including scheduled bots of the copy.

If the copy’s bots are scheduled, they will run as scheduled in the copy unless disabled.

To avoid bots running in the copy, 1) disable them in the original, 2) make the copy (the copy’s bot will also be disabled), then 3) re-enable bots in the original. The copy’s bots will remain disabled.

If you want to get fancy, add a run condition to your bots that check CONTEXT("AppName") so they only run on the appropriate app. Then you don’t have to disable/enable individual bots.

Not sure what you mean. To guess, you have external entities calling the AppSheet API to interact with the app? If so, those interactions are already targeted at the original app. The copy is a wholly new app and will not receive API calls targeted at the original.

Great response @Steve to a tricky question :clap:

I absolutely second that! Great job @Steve !

Friendly reminder, please consider marking it with the ✓ (Solution) icon below the post!

By marking the response that helped you as the accepted solution, it will make it much easier for other users with similar questions to find the answer.