01iver
01iver4w ago

Supabase triggers

Is it possible to set a condition on the Supabase trigger for example only triggers when update or insert and column(Boolean) is TRUE?
2 Replies
AI Support
AI Support4w ago
AI Support Bot Information
<@740551462136053810> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support4w ago
AI Response
Yes, it is possible to set a condition on the Supabase trigger to only trigger when an update or insert operation occurs and a specific column (Boolean) is TRUE. By configuring the Supabase trigger node, you can specify conditions such as updates or inserts on certain columns with specific values. For example, you can set conditions on the Supabase trigger by following these steps: 1. Configure the Supabase trigger node to listen for updates or inserts on specific tables. 2. Add an "If Else" node to evaluate the Boolean column's value. 3. Set the workflow to proceed only if the Boolean column is TRUE. The process can be visualized as: 1. Supabase Trigger Node: Configure to listen for updates/inserts. 2. If Else Node: Check if the Boolean column is TRUE. 3. Proceed with Workflow: If the condition is met. For detailed guidance on setting up triggers and using the If Else node, refer to the following resources: - BuildShip Supabase Trigger: Supabase Trigger - Using If Else Nodes: If Else Nodes For further customization or specific assistance, you might want to explore pre-built templates that handle such conditions. You can find and remix relevant templates on the BuildShip platform.
BuildShip AI Support