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 | Tutorials
- Make Academy – learn Make and get your certificate ← CHECK THIS OUT
- Make Blog – get the latest updates
- Features & Pricing
Help Center Basics
- Mapping – What is mapping? What can I map? ← CHECK THIS OUT
- Mapping with arrays – How to map items in an array ← CHECK THIS OUT
- Aggregate an array for mapping complex fields
- Tokens for
parseDate
| Tokens forformatDate
- HTTP modules – Make a request, Get (download) a file
- Webhooks – Error Handling, Responding to webhooks
Articles & Videos
- Router Magic Formula - YouTube
- Error Handlers in Make - YouTube playlist
- Getting started with OpenAI
- How to use Regex in Make