MongoDB is an open source NoSQL database management program.
Create a new document in a collection of your choice. See the docs here
Generate a Match Report using a dataset table or file (CSV/TSV/Excel). See the documentation
Retrieve a match score (likelihood of matching) between two individual names on a scale of 0-100. See the documentation
Execute an aggregation pipeline on a MongoDB collection. See the documentation
The MongoDB API provides powerful capabilities to interact with a MongoDB database, allowing you to perform CRUD (Create, Read, Update, Delete) operations, manage databases, and execute sophisticated queries. With Pipedream, you can harness these abilities to automate tasks, sync data across various apps, and react to events in real-time. It’s a combo that’s particularly potent for managing data workflows, syncing application states, or triggering actions based on changes to your data.
import mongodb from 'mongodb'
export default defineComponent({
props: {
mongodb: {
type: "app",
app: "mongodb",
},
collection: {
type: "string"
},
filter: {
type: "object"
}
},
async run({steps, $}) {
const MongoClient = mongodb.MongoClient
const {
database,
hostname,
username,
password,
} = this.mongodb.$auth
const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, {
useNewUrlParser: true,
useUnifiedTopology: true
})
const db = client.db(database)
const results = await db.collection(this.collection).find(this.filter).toArray();
$.export('results', results);
await client.close()
},
})
The Interzoid API offers a plethora of data-driven APIs that enable you to enrich, standardize, and deduplicate data across various fields such as demographics, financials, and text. With these capabilities, you can enhance data quality, drive better analytics, and create more intelligent workflows and applications. In Pipedream, you can integrate these APIs into serverless workflows, triggering actions based on various events, manipulating and routing data to other apps, services, or data stores with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
interzoid: {
type: "app",
app: "interzoid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.interzoid.com/getremainingcredits`,
params: {
license: `${this.interzoid.$auth.api_key}`,
},
})
},
})