The easiest way to build custom apps and portals from Airtable, in minutes. #nocode required.
Create a new document in a collection of your choice. See the docs here
Removes an existing user from your Softr app. Be aware, this action is irreversible. See the documentation
Generate a Magic Link for the specified user in your Softr app. See the documentation
The Softr API unlocks the power to automate and integrate Softr-built web apps with a multitude of external services and internal workflows. With it, you can streamline data manipulation, sync content, or trigger actions based on specific events. Create, update, and fetch data from your Softr applications, and leverage this functionality to enhance user experience, improve operational efficiency, and reduce manual workloads. When used on Pipedream, the API can connect with other apps to create robust, serverless workflows that operate in real-time or on a scheduled basis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
softr: {
type: "app",
app: "softr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://studio-api.softr.io/v1/api/users`,
headers: {
"Softr-Api-Key": `${this.softr.$auth.api_key}`,
"Softr-Domain": `${this.softr.$auth.domain}`,
"Content-Type": `application/json`,
},
})
},
})
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()
},
})