International Quality Bulk SMS Service Provider. 1s2u.com is committed to be the best international Bulk SMS services provider in the world with high quality and real-time support for 24/7.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The 1S2U API provides SMS messaging functionality, enabling you to send texts globally from your Pipedream workflows. With this integration, you can automate notifications, alerts, and communication with users or staff, streamlining your outreach efforts. Pipedream’s serverless platform allows you to create complex workflows, triggering SMS sends based on events from various apps or custom logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ones2u: {
type: "app",
app: "ones2u",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.1s2u.io/checkbalance`,
params: {
user: `${this.ones2u.$auth.username}`,
pass: `${this.ones2u.$auth.password}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})