I’d love to get your support with a workflow using Google Firestore. My workflow is feeding data from airtable to firestore, creating new documents. Everything works as it should but I am facing an issue with firestore geopoint datatype which isn’t a basic datatype. Firestore stores my latitude/longitude either as a string or as a map, whatever format I try. I m setting all data variables in a function item node. Reading the firestore documentation, I would need the sdk to set the data type to GeoPoint. Is it possible to use an external sdk in n8n cloud or do you know by chance how to transform the datatype correctly for Firestore?
Thanks in advance for your help.
Welcome to the community
Using external SDKs is currently not supported on the cloud. Can you share the code you’re using and the link to the documentation for Firestore? I’ll try to find a solution, and get back to you
thanks for the quick reply!
This is the firestore api reference: Method: projects.databases.documents.createDocument | Firebase
And this is my code:
I took a look at the Firestore documentation, and the data-type they’re using for GeoPoint is double. Did you try converting the data to double?
If that doesn’t work out, maybe try looking for an API that you can use? I’ll continue to look into it, and get back to you if I find something more helpful