What are you doing by “regenerate”.
You can use Glide AI actions both in the data and action editors. In the action editor, you have more as to when the action is performed. If you needed to generate a new AI output, a Glide AI action on component compatible with action would work well.