Store code from OpenAI in table


I have set up a table to receive prompt responses from OpenAI.

However, this obviously comes across in plain text as one big block.

If I create a prompt to ask for html/css code, is there a way to store this in its correct format in a table cell in a Glide table?

Do you mean that if you receive html/css as your output, you want to render it on the front end?

1 Like

Yes, ultimately that would be ideal.

(And to potentially forward on in an email via Glide).

If it’s generated correctly, you should be able to show that inside a rich text component.

And then use it in the email body using a template column, with a Send Email action.

1 Like

Ahah perfect.

Yes that works well. Thank you!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.