How would you get all values from specified elements without using iterator?

You do not need any Iterator or Text Aggregator modules.

1. Get all the values into an array

You can use the built-in function map to get all the transcript values.

e.g.:

{{ map(2.results; "alternatives.1.transcript") }}

2. Join them all with a newline

You can use the built-in function join to join all the values.

e.g.:

{{ join(map(2.results; "alternatives.1.transcript"); newline) }}

3. Insert into the OpenAI prompt

You can simply use the above directly into the OpenAI prompt (Message Content) field:

Links

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

3 Likes