Convert Figma node into string for GPT?

Hello, I’m interested in running a few experiments with inputing & outputting figma node objects into LLMs; however, it seems like there’s no way of converting the figma tree object into a string of LLM consumption.

When trying to convert the FrameNode object to a string, it only extracts the first level (id+type) into the string

Curious if there’s any work around for this?

1 Like