Create a MongoDB Output

To create a MongoDB Output, you must first create a MongoDB Connection

Create a Output to MongoDB in Hero Platform_

  1. Open Hero Platform_.
  2. Open Integration from the navigation menu and select Outputs.

  3. Click Create New Output.
  4. Give the Output a name and select your MongoDB Connection.
  5. Complete the MongoDB Output configuration fields:
    • Enter the collection name.
    • BatchMode
      • Yes: Recommend for most cases.
        • Enter a batch size for the number of queries that execute in one transaction. 

          The batch size value depends on the content of the query being sent. Large text OR binary fields require a smaller batch size that will not step over data size limits. For smaller payloads, such as numbers or small text fields, a larger batch size is more efficient.

      • No: Execute one query for each tuple.
    • Select an operation to perform. 
      • Delete - deletes documents from a collection.
      • Insert -inserts a new document with a new objectID into the collection.
      • Update - updates a document with an existing objectID in the collection.
    • Enter an MongoDB document template used for inserting, updating, or removing data.
    • From the field mapping table:
      • Confirm or change field names.
      • Confirm or change field data types.
      • Remove or confirm the arrangement of fields.
    • Click OK to save the Output.