Firebase + Mautic integration

Describe the problem/error/question

I am trying to figure out a way to integrate Firebase and Mautic into the n8n workflow.
What I want to do it, whenever a new user document is created in my Firestore database, I want to add a new contact in Mautic. I know that there is no Firebase triggers available, so wondering is this even possible to achieve what I am thinking using n8n? If so, I would appreciate any pointers on how I can achieve this.

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.34.2
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on localhost
  • Operating system: MacOS

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @ssdesign,

Welcome to the community :raised_hands:

The best I can think of would be to use a schedule node and query the documents for anything created since the last scheduled run then use the output to add your contact to Mautic.

It looks like Firebase doesn’t add a timestamp so you would need to add this field to your document for it work but once done something like the below would be a good starting point.

Thanks for the hint. I will give it a try. But I was hoping there would be a simpler solution.