Mapping GPT output of URLs into Airtable

I have an output from the GPT module which is a list of 5 URLs separated by a line break.

E.g.
https://mysite.co.uk/cdn/image1.jpg
https://mysite.co.uk/cdn/image2.jpg
https://mysite.co.uk/cdn/image3.jpg

I want to be able to take each one and map them to individual cells in Airtable, but on the same row ( currently the direct output will put them all in one cell, with the line breaks).

What’s the best option?

Many thanks!! :slight_smile:

Hey there,

you can use the split() function to change the sequence in an array and then use the get() function with the specific orderindex to map the items. These two can also be combined together to save operations.