> For the complete documentation index, see [llms.txt](https://enhancio.gitbook.io/reactflow-for-bubble.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enhancio.gitbook.io/reactflow-for-bubble.io/element-reference/actions/export-to-json.md).

# Export to JSON

Exports the current nodes and edges to NodesJSON and EdgesJSON states in JSON format. Use this action when you need to capture the current graph data for saving, processing, or transferring.
