So many Operations on searching database

I have a database in Google sheet. The data range is quite big, ranging from A1:AS7873.

I want to develop a workflow to using AI to search if the items listed in a doc are included in the database.

For example, my google doc has 3 items : ABC; BCD;BBA (using “;” to seperate them). I used Deepseek to help me seperate them and search the three items individually.

It clearly gave me the answer. However, the workflow kept running and could not be stopped.

How can I solve that issue? How to ask the workflow only create one Bundle and do One operation only? Thanks!

scenario.blueprint.json (39.4 KB)

What do you mean when you say that it clearly gave you the answer but the workflow kept running?If you’re at liberty to do so, if you can share the link to your spreadsheet and your Google Docs, we would be able to test it to see.

I’m wondering why you’re asking DeepSeek to do the search in the Google Sheets instead of using the Google Sheets module to do the search for the items that you’re looking for.

L

Thanks for your reply!

Here is my database:

202506-Spec Database.csv (3.0 MB)

I mean the workflow can return the answer to me in Google Doc. However, it keeps running and give me the answer again and again… seem non-stop running.

For the google doc, it is a blank document, I will put my items into the google doc every time when I need the workflow to search for me. Here are some samples items:
Pharmaceutical and veterinary preparations; sanitary preparations for medical purposes; dietetic food and substances adapted for medical or veterinary use, food for babies; dietary supplements for humans and animals; plasters, materials for dressings; material for stopping teeth, dental wax; disinfectants; preparations for destroying vermin; fungicides, herbicides

I do not use Google Sheets module to do the search for the items, simpily because I dunno how to set through “search module” and I need Deepseek to divide the items by “;“ into individual items and then return to me for the results of each item.

Hope you can give me insight or help! Great thanks!!

We’d love to help, however, you have not provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any issue/s and/or error/s.

To allow others to assist you with your scenario, please provide the following:

1. All Relevant Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are extremely important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

  • the full scenario,
  • any error messages,
  • individual module fields,
  • relevant filter settings (conditions), and
  • each module’s output bundles
  • any external services (spreadsheet headers, sample data, regex101.com, etc.)

You can upload images here using the Upload icon in the text editor:

We would appreciate it if you could upload screenshots here instead of linking to them outside of the forum. This allows us to zoom in on the image when clicked, and avoid tracking cookies from third-party websites.

3. Module Output Bundles

Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.

You can upload the file here by clicking on this button:

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
Here are some ways to provide text content in a way that it won’t be modified by the forum.

  • Method 1: Type code fence manually
    Add three backticks ``` in a separate line before and after the content, like this,

    ```
    text goes here
    ```
    
  • Method 2: Highlight and click the “preformatted text” button in the editor

  • Method 3: Upload your file and share the public link
    (this method is only recommended for large files exceeding the forum upload limit)

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.

Sharing these details will make it easier for others to assist you.

For example, I have two items in my recent request. It turns out at least 5 operations which keep on going if I don’t stop it.

here is one of the bundles of the operations

```
[
    {
        "kind": "drive#file",
        "id": "1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8",
        "name": "Input-spec",
        "mimeType": "application/vnd.google-apps.document",
        "starred": false,
        "trashed": true,
        "explicitlyTrashed": true,
        "parents": [
            "15EkEekwJHSGSN3sw2BKGgNjCs8UZNYU6"
        ],
        "spaces": [
            "drive"
        ],
        "version": "90",
        "webViewLink": "https://docs.google.com/document/d/1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8/edit?usp=drivesdk",
        "iconLink": "https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.google-apps.document",
        "hasThumbnail": true,
        "thumbnailLink": "https://lh3.googleusercontent.com/drive-storage/AJQWtBM-vwVzJ7BWrOoxyh-ELaiBWi7TkWcmw_4FzB5mvR_fm5IhDDqjluIAEM6cyEdQ7b3RCzZDgHzZKevd9R5EFuLr0nRD3vhagI7RV_1QDhyWP4B609bJJFiTymqi5A=s220",
        "thumbnailVersion": "39",
        "viewedByMe": true,
        "viewedByMeTime": "2025-09-21T16:10:33.742Z",
        "createdTime": "2025-09-21T13:18:05.264Z",
        "modifiedTime": "2025-09-21T16:10:33.742Z",
        "modifiedByMeTime": "2025-09-21T16:10:33.742Z",
        "modifiedByMe": true,
        "owners": [
            {
                "kind": "drive#user",
                "displayName": "H Foster",
                "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocJIy5d83Pho5p50qsEupHkUa7Li2fcCkL7udP2lIkc6ye6fD2xB=s64",
                "me": true,
                "permissionId": "12330310162331288614",
                "emailAddress": "wk.fosterho@gmail.com"
            }
        ],
        "lastModifyingUser": {
            "kind": "drive#user",
            "displayName": "H Foster",
            "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocJIy5d83Pho5p50qsEupHkUa7Li2fcCkL7udP2lIkc6ye6fD2xB=s64",
            "me": true,
            "permissionId": "12330310162331288614",
            "emailAddress": "wk.fosterho@gmail.com"
        },
        "shared": false,
        "ownedByMe": true,
        "downloadRestrictions": {
            "itemDownloadRestriction": {
                "restrictedForReaders": false,
                "restrictedForWriters": false
            },
            "effectiveDownloadRestrictionWithContext": {
                "restrictedForReaders": false,
                "restrictedForWriters": false
            }
        },
        "capabilities": {
            "canAcceptOwnership": false,
            "canAddChildren": false,
            "canAddMyDriveParent": false,
            "canChangeCopyRequiresWriterPermission": true,
            "canChangeItemDownloadRestriction": true,
            "canChangeSecurityUpdateEnabled": false,
            "canChangeViewersCanCopyContent": true,
            "canComment": true,
            "canCopy": true,
            "canDelete": true,
            "canDisableInheritedPermissions": false,
            "canDownload": true,
            "canEdit": true,
            "canEnableInheritedPermissions": true,
            "canListChildren": false,
            "canModifyContent": true,
            "canModifyContentRestriction": true,
            "canModifyEditorContentRestriction": true,
            "canModifyOwnerContentRestriction": true,
            "canModifyLabels": false,
            "canMoveChildrenWithinDrive": false,
            "canMoveItemIntoTeamDrive": false,
            "canMoveItemOutOfDrive": false,
            "canMoveItemWithinDrive": true,
            "canReadLabels": false,
            "canReadRevisions": true,
            "canRemoveChildren": false,
            "canRemoveContentRestriction": false,
            "canRemoveMyDriveParent": true,
            "canRename": true,
            "canShare": true,
            "canTrash": true,
            "canUntrash": true
        },
        "viewersCanCopyContent": true,
        "copyRequiresWriterPermission": false,
        "writersCanShare": true,
        "permissions": [
            {
                "kind": "drive#permission",
                "id": "12330310162331288614",
                "type": "user",
                "emailAddress": "wk.fosterho@gmail.com",
                "role": "owner",
                "displayName": "H Foster",
                "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocJIy5d83Pho5p50qsEupHkUa7Li2fcCkL7udP2lIkc6ye6fD2xB=s64",
                "permissionDetails": [
                    {
                        "permissionType": "file",
                        "role": "owner",
                        "inherited": false
                    },
                    {
                        "permissionType": "file",
                        "role": "writer",
                        "inherited": true
                    }
                ],
                "deleted": false,
                "pendingOwner": false
            }
        ],
        "permissionIds": [
            "12330310162331288614"
        ],
        "size": "41119",
        "quotaBytesUsed": "41119",
        "isAppAuthorized": false,
        "exportLinks": {
            "application/rtf": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=rtf",
            "application/vnd.oasis.opendocument.text": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=odt",
            "text/html": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=html",
            "application/pdf": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=pdf",
            "text/x-markdown": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=markdown",
            "text/markdown": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=markdown",
            "application/epub+zip": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=epub",
            "application/zip": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=zip",
            "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=docx",
            "text/plain": "https://docs.google.com/feeds/download/documents/export/Export?id=1-nNgWRjLVFv-XU0Nw8RI6ffY-paYC_-vh76bCg8uHj8&exportFormat=txt"
        },
        "linkShareMetadata": {
            "securityUpdateEligible": false,
            "securityUpdateEnabled": true
        },
        "inheritedPermissionsDisabled": false
    }
]
```

“Get Range Values” is a search module.

Combining Bundles Using Aggregators

Every result (item/record) from trigger/iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.

You can find out more about the other types of aggregator modules here:

Question: Which is the best aggregator do you think you’ll need for your use-case?

Mapping a Specific Structure Into a Complex Field

If you have an array of collections, in programming terms, this is called an array of objects, or an array with non-primitive data types (“complex”).

The Array Aggregator module is very powerful because it allows you to build a new complex array of collections that matches a later module’s field to map multiple items (collections) to it. Such fields initially would allow you to manually add items, but you can toggle the “Map” switch to the “on” state and map a whole array into a single field.

This is done by selecting the “Target structure type” in an Array Aggregator module.

As you can see from the above example, the “Map” toggle on complex fields are used when you have an array variable (like from an array aggregator). Other combinations of modules may also allow you to generate an array that matches a future field’s array structure, like “Aggregate to JSON + Parse JSON”, or “Create JSON + Parse JSON”, but this is an advanced topic.

Question: Are you mapping your array into a field that accepts more than one item/collection?

Example

Here is an example of how your scenario could look like:

This is just an example. Your final solution may or may not look like this depending on your requirements and actual data.

For more information, see “Mapping with arrays” in the Help Centre. You should also do the Make Academy, which also covers the use of Iterators & Aggregators.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

1 Like

Great thanks! It helps me to group the operations to output a single bundle to me.

However, the problem is that if I have two items in my google doc, it supports to conduct two search on my google sheet. Now that the opeartions in the Google sheet “Get range values“ seems to be unlimited.

Is there any better way to do this searching process? not using Get Range Values?