Place the plugin element on a page, create a workflow in bubble using plugin element's event and set other settings according to documentation.
Note: Do not use server-side actions in workflow as Bubble does not allow to use them after changes in application until user refreshes the page.
Full Docs:
https://docs.thesimplelabs.com/plugins/app-refresh-watcher