# Store code from OpenAI in table

**URL:** <https://community.glideapps.com/t/store-code-from-openai-in-table/65320>\
**Category:** Ask for Help\
**Created:** [August 23, 2023, 11:17pm UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320 "2023-08-23T23:17:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Happell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/james_happell/32/63127_2.png) [@James\_Happell](https://community.glideapps.com/u/James_Happell)\
**Post date:** [August 23, 2023, 11:17pm UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320/1 "2023-08-23T23:17:51Z")

</div>

Hello,

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?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 23, 2023, 11:38pm UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320/2 "2023-08-23T23:38:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![James\_Happell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/james_happell/32/63127_2.png) [@James\_Happell](https://community.glideapps.com/u/James_Happell)\
**Post date:** [August 24, 2023, 12:20am UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320/3 "2023-08-24T00:20:39Z")

</div>

Yes, ultimately that would be ideal.

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

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 24, 2023, 11:34pm UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320/4 "2023-08-24T23:34:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![James\_Happell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/james_happell/32/63127_2.png) [@James\_Happell](https://community.glideapps.com/u/James_Happell)\
**Post date:** [August 25, 2023, 2:18am UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320/5 "2023-08-25T02:18:00Z")

</div>

Ahah perfect.

Yes that works well. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [September 1, 2023, 2:18am UTC](https://community.glideapps.com/t/store-code-from-openai-in-table/65320/6 "2023-09-01T02:18:35Z")

</div>

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