How do I create a trigger using MongoDB

I’d like to use MongoDB as a trigger for a workflow.

I can see the MongoDB connector “Actions” like “Find” or “Delete”, but I don’t see Triggers for something like “New Document Created”, which is what I’m used to from other low code platforms like Pipedream or Make.

I feel like I’m missing something obvious.

Thanks in advance!

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:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

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 @NMorris,

Welcome to the community :raised_hands:

We don’t currently have a MongoDB trigger node but it sounds like it would make a great feature request, At the moment the best I can think of would be to add a created / updated date to your collections and use a schedule node to start the workflow and look for anything with a date that is newer than the last run.

Thanks Jon. I agree that it would make a great addition as a feature request. Your solution is where I landed too. It’s just way less accurate to have the 5 minute delay. But functional at least.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.