Generating multiple variables from ChatGPT response using text parser and creating Hubspot tasks

Hey!

I am creating a notetaker assistant which will generate tasks in hubspot right after the meeting.

So far I managed to get transcript analysis from chat, generate tasks, update the deal with note and send emails.

But I want to go further, and create number of tasks which we agreed on during the meeting. I got the list of tasks in ChatGPT, then used text parser to divide it, but I can’t see any more than 1 variable which I can use as an input later, and there should be 12 variables coming out of this chat (task + due date).

This is what I have currently:


And this is what I can choose as an input in the next steps:

As you can see, there’s not more than 1 variable which does not allow me to use it as an input for multiple tasks.

After that I will be trying to generate 6 tasks - but here I get stuck again. It only allows me to generate 1 task. I guess the solution might be to create up to X amount of “create task” jobs in workflow, but maybe any bright mind will suggest a better solution?

Still - the biggest challenge for me now is to get those variables out of chat GPT. Once I get that, I probably will find some workaround.

Looking forward to chat with you all!

Hi @Sebastian_Glen and welcome to the Make Community!

If you want to process all the bundles and have a single output, you need to use an array aggregator. It takes all the input bundles (your 12 output buntles) and creates a single one.

However, a better way might be to tell ChatGPT to output the data as a JSON and parse that JSON with the Parse JSON module. It will be simpler and will likely cost fewer operations.

L

Hi, thanks a lot for taking time to respond!

I did use json parser and yes - it can split it into variables, but in the next step i only see variables from 1 bundle, while there are more bundles that I would like to use as variables.

Any idea how I can get the variables from other bundles?

Here’s how it looks like / this is the output from json parser.

And these are the next step inputs from this parser

In ideal scenario - I am getting 2 variables from each bundle. Is it possible?