Getting individual value from ChatGPT response

Hi,

I trying (new to make.com) to extract data from a ChatGPT response, such as the “content” section in the attached screenshot. Basically I want to be able to take the response text and process one line of text at a time.

I tried using Iterator but got into more of a mess :slight_smile:

Thanks!

Screenshot 2023-09-18 at 22.25.22

Welcome to the Make community!

You can use “Text Parser: Match Pattern” module, with this pattern (?<value>[^\r\n]+) to split each line of the Content into its own bundle:

Screenshot_2023-09-19_140927

3 Likes

Thank you! That worked :slight_smile:

2 Likes