Firestore create reference in document


I am trying to insert a reference to a document inside s document in Firestore with no luck.

This is the input data:

And it is inserted as strings:

However, I’d need to insert them as references to other documents, like here:

Is there any way to do this?

I’m answering to myself :slight_smile:

Digging on the module code, I’ve seen that it is not possible to add data as referenceValue in the default Firestore module.

I’ve patched it for me, so I’d like to ask you what is the preferred way of contributing back with my fix.

  • Sending a PR
  • Wrapping the patch in a community module

Thank you,

Hi @Albuendi, welcome to the community :tada:

Seems like you figured it out already. The basic process of creating a community node would be described here: Creating nodes - n8n Documentation. This is usually the fastest way of making a new node available to other users.

We also welcome PRs for improving existing nodes, though it might take us some time to get through them unfortunately. The dev guidelines would be available here: n8n/ at master · n8n-io/n8n · GitHub

Thank you so much!

1 Like

Hey, would you share how did you fixed it?
I urgently need this feature :slight_smile:

You did it? I have the same problem.