Deactivate Button with Timer to Turn back on

You shouldn’t need to run an API Workflow for this. You can do it with a custom state, some conditionals and a custom event.

  1. Create a custom state for the button e.g. mode (enabled/disabled). You could also use a yes/no field I guess.
  2. Set conditionals to make the button clickable when the mode is enabled and not clickable when the mode is disabled.
  3. Create a custom event to set the button’s mode to enabled
  4. When the button is pressed, set the mode to disabled and schedule the custom event with a delay of 600s

Example here (delay currently set to 10s): https://bubble.io/page?type=page&name=deactivate_button&id=louisforum&tab=tabs-1