# Exporting CSV file from Bloom

**URL:** <https://community.neo4j.com/t/exporting-csv-file-from-bloom/62288>\
**Category:** Neo4j Bloom\
**Tags:** apoc\
**Created:** [April 29, 2023, 12:28pm UTC](https://community.neo4j.com/t/exporting-csv-file-from-bloom/62288 "2023-04-29T12:28:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlukas](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rlukas/32/13864_2.png) [@rlukas](https://community.neo4j.com/u/rlukas)\
**Post date:** [April 29, 2023, 12:28pm UTC](https://community.neo4j.com/t/exporting-csv-file-from-bloom/62288/1 "2023-04-29T12:28:08Z")

</div>

We would like to export our graph into a CSV file. I have a working apoc export in the Browser but would like this capability in Bloom.  
Embedding this working Cypher into bloom does not work. How can I fix this?

//Create a simple set of nodes in Browser:  
_merge (tierOne:TierOne{Name:"T1"})-[c1:contains]-\>(tierTwo:TierTwo{Name:"T2"})-[c2:contains]-\>(tierThree:TierThree{Name:"T3"})_

// in Bloom add this Cypher/Apoc command to export my graph into a csv file  
_with "match path = (tierOne:TierOne)-[c1:contains]-\>(tierTwo:TierTwo)-[c2:contains]-\>(tierThree:TierThree)_  
\*return \*  
_tierOne.Name as tierOneName, tierTwo.Name as tierTwoName, tierThree.Name as tierThreeName" as csvExportQuery_  
\*call apoc.export.csv.query(csvExportQuery, "result.csv", {}) \*  
_yield file, source, format, nodes, relationships, properties, time, rows, batchSize, batches, done, data_  
_return file, source, format, nodes, relationships, properties, time, rows, batchSize, batches, done, data_

thanks guys.. its something simple but.. i am new to Bloom

---

<div class="post-metadata">

**Author:** ![dana\_canzano](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dana_canzano/32/27392_2.png) [@dana\_canzano](https://community.neo4j.com/u/dana_canzano)\
**Post date:** [May 1, 2023, 12:57pm UTC](https://community.neo4j.com/t/exporting-csv-file-from-bloom/62288/2 "2023-05-01T12:57:02Z")

</div>

@rlukas

Bloom does offer Export to CSV [Scenes and sharing data - Neo4j Bloom](https://neo4j.com/docs/bloom-user-guide/current/bloom-tutorial/export-data/). Has this been tried and is it not sufficient?

---

<div class="post-metadata">

**Author:** ![rlukas](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rlukas/32/13864_2.png) [@rlukas](https://community.neo4j.com/u/rlukas)\
**Post date:** [May 1, 2023, 8:15pm UTC](https://community.neo4j.com/t/exporting-csv-file-from-bloom/62288/3 "2023-05-01T20:15:51Z")

</div>

yes sir. I know about them. thanks!.. We are not really able to use that mechanism since we cannot modify the csv layout. Our other systems, sadly, require a special format. This is why, through the Browser, I was using the apoc export mechanism, which does not seem to be, well liked in Bloom.. Perhaps I can find Bloom log files that can lend some insights.. :) .. Thanks Dana! I should look in the log files to get a better insight of what is actually going on.. Thanks!
