Skip to main content
All Collections🔍 Yoom FAQ & Tips CollectionFlowbotFAQ・Tips about Operations
How to Handle Missing Rows in the "Manage Database" Action
How to Handle Missing Rows in the "Manage Database" Action
Yoom Customer Service avatar
Written by Yoom Customer Service
Updated over 2 weeks ago

📝 Overview

By default, when the “Manage Database” action fails to find a matching row, the Flowbot stops with an error.

This guide explains how to prevent the Flowbot from stopping and instead branch to a different operation when no matching record is found.


🚀 Example Scenario

We will create a Flowbot that:

✔️ Updates a record if the form data already exists in the database.

✔️ Adds a new record if no matching record is found.

🎯 The flowbot will NOT stop due to a missing row—it will automatically branch and continue processing!

🛠️ Step-by-Step Setup

1. Set the Form Trigger

Since the process starts from a form submission, configure a form trigger.

Make sure the form includes all necessary fields required for both updating and adding records.

2. First Database Action: Updated Record

✔️ Choose the database (e.g., Google Sheets) in the action selection screen.

✔️ Select the action “Update Record”.

✔️ Define the search conditions and specify the fields to update.

3. Prevent the Flowbot from Stopping

‼️ Important

At the bottom of the setup screen, under Advanced Settings, turn OFF the setting for "Handling of Search Failures".

This ensures that even if no matching records are found, the Flowbot continues running instead of stopping.

4. Add a Branching Condition

✔️ In between actions, add a Branching action.

✔️ Choose the update record action as the branch target.

✔️ Set the branch condition to "Output is empty."

This means that if no matching record is found, the Flowbot will take a different path.

5. Second Database Operation: Add Record

For the "Output is empty" branch:

✔️ Add another “Manage Database” action.

✔️ Choose the same database used for updating.

✔️ Set execute action to “Add Record.”

✔️ Configure the data to be added.

🎯 What Happens When You Run This Flowbot?

✅ If a matching record exists, it is updated.
✅ If no matching record is found, the flowbot adds a new record instead of stopping.

🎉 That’s It!

Your Flowbot Now Handles Missing Records Seamlessly!

No more interruptions—ensure smooth data processing every time.

Search Keywords

Database, Missing record, branching, search failed, record not found, update, add, Flowbot, automation

Did this answer your question?