Separeate subject line from openAi Response from Ai generatd Email

Hi,
I am not a expert maker. I am generating email from OpenAi, the response coming with the subjectline on the top. Now I want to separate the Subject Line and Email body into 2 string? How can I achieve that?

Hello @Md_Abu_Hayat, you can do that by using the chatgpt text to structured data module and define each strings, please mark as solution if this works

Hi,
Another option would be to get a json formatted response. You can do that through a regular Create a completion module. You just need one more message with the developers role, here is an example:

And below set the following: