# Auto Detect Nodes & Relationships from JSON

**URL:** <https://community.neo4j.com/t/auto-detect-nodes-relationships-from-json/17245>\
**Category:** Import / Export\
**Tags:** apoc, neo4j-import, json\
**Created:** [April 17, 2020, 10:16am UTC](https://community.neo4j.com/t/auto-detect-nodes-relationships-from-json/17245 "2020-04-17T10:16:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neil](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/neil/32/3900_2.png) [@neil](https://community.neo4j.com/u/neil)\
**Post date:** [April 17, 2020, 10:16am UTC](https://community.neo4j.com/t/auto-detect-nodes-relationships-from-json/17245/1 "2020-04-17T10:16:16Z")

</div>

Hi all,

Is there a way of Neo4J automatically detecting the nodes and relationships directly from a JSON file and building a graph directly from them?

I've tried using `CALL apoc.load.json` but this just loads the data into a table, and doesn't find the nodes/relationships defined in the JSON.

I'm trying to load a 70+Mb JSON with lots of nodes and relationships defined within so don't really want to have to manually define them all!

Thanks in advance for your help!
