Help Needed: Mapping Comma-Separated Values from Adalo to Google Sheets Columns

Hello everyone,

I’m working on a project where I retrieve records from Adalo and update rows in Google Sheets. The Adalo data comes in this format:

Name,number,number,number,number
Example: John,100,10,20,30

I need to convert this comma-separated value into separate columns so I can add each to the correct field in Google Sheets. The result should look like this:

Name   Number1   Number2   Number3   Number4
John   100       10        20        30

I’ve tried using the “Text Parser - Match Pattern” module, but it creates five separate bundles instead of mapping each value into the appropriate column. This results in multiple rows being added rather than all values in the same row across columns.

I’m seeking a simple solution for converting these comma-separated values into separate columns in Google Sheets. Any assistance or ideas would be greatly appreciated!

Thanks in advance!

Welcome to the Make community!

You can use the built-in function split, followed by get

e.g.:

{{ get(split(text; ","); 1) }}
{{ get(split(text; ","); 2) }}
{{ get(split(text; ","); 3) }}
{{ get(split(text; ","); 4) }}
{{ get(split(text; ","); 5) }}

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

samliewrequest private consultation

Join the Make unofficial Discord server!

3 Likes

@arproy

Please use split and get function and mapped required data.
{{last(split(get(split(2.x; “,”); 1); “:”))}} — Name
{{get(split(2.x; “,”); 2)}} ---- Name 1
Input:


Output:

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

1 Like

Many thanks @samliew @Msquare_Automation :slight_smile:

2 Likes

No problem, glad I could help!

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

1 Like