SerwerSMS allows sending and receiving SMS messages. Our platform has the function of both single and mass SMS sending. Sending messages has never been so easy, fast and effective.
Create a new document in a collection of your choice. See the docs here
Execute an aggregation pipeline on a MongoDB collection. See the documentation
The SerwerSMS.pl API enables integration of robust SMS messaging capabilities into your applications or workflows. With this API, you can send text messages, manage contacts, receive delivery reports, and automate responses based on incoming messages. On Pipedream, you can harness the SerwerSMS.pl API to create event-driven workflows, automating SMS-based interactions with efficiency and ease. By connecting to various apps available on Pipedream, you can design powerful, multi-step automations that react to triggers and perform actions like sending alerts, notifications, or automated marketing campaigns.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
serwersms_pl: {
type: "app",
app: "serwersms_pl",
}
},
async run({steps, $}) {
const data = {
"username": `${this.serwersms_pl.$auth.username}`,
"password": `${this.serwersms_pl.$auth.password}`,
}
return await axios($, {
method: "post",
url: `https://api2.serwersms.pl/account/limits`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
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()
},
})