Skip to main content
All Collections🔍 Yoom FAQ & Tips CollectionFlowbotFAQ・Tips about Path Settings
How to Create Branching Paths Using Multiple Values in List Format and Important Considerations

How to Create Branching Paths Using Multiple Values in List Format and Important Considerations

As of Feb 1, 2024

Yoom Customer Service avatar
Written by Yoom Customer Service
Updated over 2 weeks ago

📝 Overview

In Yoom, you can use branching operations to split the flowbot's route based on specific conditions.

This article will introduce how to use list-formatted values obtained through actions, such as retrieving multiple records, to create branching paths.


🛠️ How to Configure

In this example, we will demonstrate a Flowbot that retrieves multiple records from the Yoom database and splits the route depending on whether the retrieved values are one or more.

Here is an overview of this Flowbot:

1. Preparing the Database to Use

For this example, we have prepared the following Yoom database in advance:

2. Set the Trigger & Retrieve Multiple Records

In the Flowbot edit screen, click the + button and select Yoom from the database action.

Configure it to retrieve multiple records as follows:

  • Action: Get Multiple Records (up to 500)

  • Project/Database/Table: Select the appropriate table for this task.

  • Conditions for the Retrieved Records: Set conditions to retrieve multiple values, as shown below. Then, run a test.

When you retrieve multiple records, you will notice that the values are displayed in a comma-separated list format (half-width comma), as shown below:

3. Split the List-Formatted Values into Individual Outputs

Next, use a data conversion action to split the list of values into individual outputs:

  • Conversion Type: Split list data into separate items

  • Output to Split: Yoom Record ID (or another value)

4. Use the Split Count to Configure Branching Conditions

Finally, configure the branching operation to split the flow based on the number of split outputs:

  • Action: The action from Step 3 (Split the list-type output into individual outputs)

  • Output: Yoom Record ID_Split Count

  • Condition: Equal to

  • Value: 1

By using the split count output obtained in Step 3, the flowbot will determine that if the number of split outputs is 1, there is only one value. If there are multiple outputs, the flowbot will follow a different route based on the number of retrieved values.

☝️ Important Considerations

While configuring branching, you could skip the operation that splits the list into individual outputs and branches based on whether a half-width comma (,) is present in the value. However, due to system limitations, this method will not work as expected.

Incorrect Flow Example ⬇️

Incorrect Branch Configuration Example ⬇️

📚 Related Guides

  • How to Set Up Branching - View Guide Here

  • Use Case | Automatically Remind Slack of Tasks One Day Before Their Deadlines - View Guide Here

  • How to Create Branching Paths Using Multiple Values in List Format and Important Considerations - View Guide Here

Search Keywords

Branching, branch, output, comma, [], half-width comma

Did this answer your question?