Transfer array to google sheets

Hello,
I have the following problem.

I created 20 keywords from chat gpt and separated them using tools set variable using split variant. That works so far.
Now I want to transfer these keywords to Google Sheets. But this only works so that all keywords end up in one cell or only the first one in all cells. I can’t manage to distribute all 20 keywords in cheet, e.g. A1-A20 One keyword per cell.
How do I get that?

1 Like

Welcome to the Make community!

What does your Message.Content variable contain?

If you need assistance, please provide the following:

1. 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)

2. 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!

2 Likes

Hi @Justinbaden

Welcome to community.

If you want to include each bundle value of iterate into different column of same row in the google sheet. Please follow the below steps.
1.Aggregate the iterator value with bundle length.


2. Use map to get value of each bundle.

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

2 Likes

Hello samliev,

Thanks for the feedback. I’ll send you the files you want.
blueprint (1).json (35.5 KB)

Hello Msquare_Automation,

I tried your instructions. Unfortunately without success.
Do you have another idea?

if you iterate the Keywords Spliting array
why do you chose it as the value for the spread sheet instead of the iterator value param?

1 Like

If I am reading this correctly, you may not need the Array Aggregator. So can simply map the value of the iterator into the GSheets cell.

Hi @Justinbaden

If you want to get each word in each row please map the value from iterator itself.

If you need to get in same row with different column, please use iterator and aggregator method. Please make sure that you are using internal name for using map function.

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

Hi @Justinbaden

Apologies for the confusion. Please use map function as below. IMTINDEX is used for bundle order position:

Screenshot 2024-02-28 112212

Replace the array with the array in your data.

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