Does free tier MongoDB Atlas M0 support trigger creation?

Can you go into the trigger itself and see if a data source is already linked to it? They generally appear at the top of the Link Data Source(s) dropdown menu as shown above.

I did brief testing only but managed to get "Inserted" logged with the following function:

  const fullDoc = changeEvent.fullDocument;
  const updateDescription = changeEvent.updateDescription;

  const mongodb = context.services.get("Cluster0");
  const db = mongodb.db("test");

  if (changeEvent.operationType == "insert") {
  db.collection("history_col").insertOne({"operation": changeEvent.operationType, "Full Document": fullDoc})
  .then(result => console.log("Inserted"));
  }

Note: I removed the return result line and changed "Cluster20434" to "Cluster0" to match my test environment

I think if you’re running it with the “Run” button as you say, no documents are being inserted so the trigger is running with no document to work against. I tested by inserting 2 documents (with the Operation Type set to "insert" for this trigger) and it recorded the following the trigger logs:

Note: I inserted a total of 2 times, 1 document each time.