# How to create a Firestore collection/document?

**URL:** <https://community.n8n.io/t/how-to-create-a-firestore-collection-document/3384>\
**Category:** Questions\
**Created:** [December 14, 2020, 3:54am UTC](https://community.n8n.io/t/how-to-create-a-firestore-collection-document/3384 "2020-12-14T03:54:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavan\_Mirla](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pavan_mirla/32/2735_2.png) [@Pavan\_Mirla](https://community.n8n.io/u/Pavan_Mirla)\
**Post date:** [December 14, 2020, 3:54am UTC](https://community.n8n.io/t/how-to-create-a-firestore-collection-document/3384/1 "2020-12-14T03:54:20Z")

</div>

I am trying to create a document using Firestore nod in n8n.  
Any hints please on how to create a document like:  
{  
name: “user1”  
location:“location1”  
}

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/c/c5c0db7ab67879d11629ee463e62abad348d1ba0.png)

The screen capture suggests that I enter columns and attributes parameter.  
I am not sure how to pass it on

Thanks for your hints

---

<div class="post-metadata">

**Author:** ![harshil1712](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/harshil1712/32/1374_2.png) [@harshil1712](https://community.n8n.io/u/harshil1712)\
**Post date:** [December 14, 2020, 5:46am UTC](https://community.n8n.io/t/how-to-create-a-firestore-collection-document/3384/2 "2020-12-14T05:46:16Z")

</div>

Hey @Pavan_Mirla!

Welcome to the n8n community!

Are you getting this data from anywhere? If not you use the SET node to set the data. Connect your Firestore node to the Set node and in the _ **Columns** _ field enter `name, location`. Here is an example, that might help. (You can copy and paste it in n8n)

---

<div class="post-metadata">

**Author:** ![Pavan\_Mirla](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pavan_mirla/32/2735_2.png) [@Pavan\_Mirla](https://community.n8n.io/u/Pavan_Mirla)\
**Post date:** [December 14, 2020, 8:37am UTC](https://community.n8n.io/t/how-to-create-a-firestore-collection-document/3384/3 "2020-12-14T08:37:13Z")

</div>

Thank you @harshil1712  
This answered my question . I am not ingesting data from anywhere yet.Just experimenting with n8n nodes.

---

<div class="post-metadata">

**Author:** ![harshil1712](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/harshil1712/32/1374_2.png) [@harshil1712](https://community.n8n.io/u/harshil1712)\
**Post date:** [December 14, 2020, 9:09am UTC](https://community.n8n.io/t/how-to-create-a-firestore-collection-document/3384/4 "2020-12-14T09:09:30Z")

</div>

I am glad this answered your question. Feel free to ask any questions you might have 🙂
