workflow:
  id: mongodb-document-finder
  name: MongoDB Document Finder
  description: Executes targeted MongoDB queries with filters to retrieve specific documents from collections.
  triggers:
    - type: manual
  steps:
    - name: mongodb-step
      provider:
        config: "{{ providers.mongo }}"
        type: mongodb
        with:
          # Please note that argument order is important for MongoDB queries.
          query: |
            {
              "find": "mycollection",
              "filter": {
                "name": "First Document"
              }
            }
          single_row: true
