Datastore
Accessing the Sidebar Menu
After logging into AppMint Web Builder, you can access the MintFlow Sidebar Menu by following these steps:
- Navigate to the Application Dropdown:
- Once you're logged in, locate the Application dropdown from the main dashboard.
Click on the MintFlow Plus (+) Icon:
- In the dropdown, click on the MintFlow icon (+) to open the MintFlow Designer interface.
Sidebar Menu Location:
- Once inside the MintFlow Designer, all the main controls and features are organized in the sidebar located on the left-hand side of the screen.
- The sidebar provides quick access to all the available menu items for designing and managing your workflows.
Datastore Dropdown:
- Used for managing file storage, working with MongoDB, and handling collections. Here's how to configure the components under the Datastore dropdown in MintFlow Designer:
File Component
The File component allows you to read or write data to files. To configure this component:
Click the Expand Icon:
- After adding the File component from the Datastore dropdown, click the expand icon to access the configuration panel.
Set the Operation:
- Choose the operation you wish to perform: either Read or Write.
Specify the File Name:
- Input the File Name that will be used for the read or write operation.
Configure Append/Overwrite:
- You can either check or uncheck the Append or Overwrite checkboxes:
- Append: Adds the new data to the end of the file if the file already exists.
- Overwrite: Replaces the entire file content with the new data.
- You can either check or uncheck the Append or Overwrite checkboxes:
MongoDB Component
The MongoDB component provides access to your MongoDB database, allowing you to perform operations like queries, inserts, updates, and deletions. Here's how to configure it:
Click the Expand Icon:
- After adding the MongoDB component to the flow, click the expand icon to open the configuration panel.
Set the Server:
- Choose your server from the dropdown. Options might include servers like openai or awsadmin, depending on your setup.
Set the Operation:
- Select the operation you want to perform. Options include:
- Query
- Insert
- InsertOne
- Update
- UpdateOne
- Delete
- DeleteOne
- Select the operation you want to perform. Options include:
Choose the Collection:
- Specify the Collection within your MongoDB database where the operation will take place.
Input Details:
- Fill in the necessary details for the operation, such as query parameters, data to insert, or update fields.
Collection Component
The Collection component allows you to interact with data collections defined in your database. You can retrieve, insert, or manipulate data in your collection.
Click the Expand Icon:
- Once you've added the Collection component from the Datastore dropdown, click the expand icon to configure it.
Set the Datatype:
- Choose the Datatype based on the data structures available in your database list.
Set the Operation:
- Select the appropriate operation from the following options:
- Find: Retrieves multiple records that match the query.
- Find-Attribute: Retrieves specific attributes from records.
- Find-One: Finds a single record.
- Insert: Adds new records to the collection.
- Update: Modifies existing records.
- Delete: Removes records from the collection.
- Select the appropriate operation from the following options:
Input Query Details:
- Provide the necessary query or data input based on the operation you selected.