Automatically create triggers for foundational flows

When a foundational flow is enabled, the triggers for the flow also need to be created.

Edited by 🤖 GitLab Bot 🤖