# Help Needed: Structuring Website Form Data into a JSON Array

**URL:** <https://community.make.com/t/help-needed-structuring-website-form-data-into-a-json-array/51735>\
**Category:** Questions\
**Tags:** text-parser, arrays, json, webhooks\
**Created:** [August 19, 2024, 3:52pm UTC](https://community.make.com/t/help-needed-structuring-website-form-data-into-a-json-array/51735 "2024-08-19T15:52:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![drnic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/drnic/32/43639_2.png) [@drnic](https://community.make.com/u/drnic)\
**Post date:** [August 19, 2024, 10:46pm UTC](https://community.make.com/t/help-needed-structuring-website-form-data-into-a-json-array/51735/2 "2024-08-19T22:46:41Z")

</div>

Someone else who loves Text Parser modules might be able to help with those.

My suggestion is different: if you got “product information is grouped together in a long text string” and you want to coerce it into a structured object, perhaps ask an LLM like OpenAI or Groq to do it. It’s pretty good at generating JSON objects in the structure you’d like.

There is a Groq “Create a JSON Chat Completion” module for JSON outputs (bit of an explanation about this module starts here at [https://www.youtube.com/watch?v=Qp6znB5juU8&t=635s](https://www.youtube.com/watch?v=Qp6znB5juU8&t=635s).

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/e/8e1eab17b468c13740b74f2a5bfa4b574c65b9a1.jpeg)

And OpenAI too has a `response_format` of `json` option that you can investigate.

Finally, OpenAI recently released Structured Outputs [https://openai.com/index/introducing-structured-outputs-in-the-api/](https://openai.com/index/introducing-structured-outputs-in-the-api/) and I made a vid about how to use this via HTTP module until its one-day built into the OpenAI modules [https://www.youtube.com/watch?v=q4G-YHJmTnw](https://www.youtube.com/watch?v=q4G-YHJmTnw)

Ooh, I see there is an OpenAI module “Transform Text to Structure Data” which I hadn’t notice before. Perhaps it is for the new Structured Outputs feature above.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/9/d9f509cec6c462fd2fb4722bb3404b551de2c165.jpeg)

Oh this is great. Like the Groq JSON module, it produces data that is already parsed ready for us by Make. No “Parse JSON” module required.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/4/64e2188467e053d02c29465cdd3fa086f9e3518a.jpeg)

Looking at the API traffic of this module via Make DevTools, it is not yet using the new Structured Outputs feature (with 100% guarantee of JSON format), but it is very nice to have found.

---

_[View the full topic](https://community.make.com/t/help-needed-structuring-website-form-data-into-a-json-array/51735)._
