Build sales leads with accuracy, reduce customer attrition, and engage with clients using personalized interactions.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The SMS-IT API provides a way to send and receive SMS messages programmatically. Using Pipedream, you can create event-driven workflows that leverage this API for a variety of use cases. You can integrate SMS capabilities into your applications, automate notifications, confirmations, or alerts, and engage with your audience through text messages. In Pipedream, you can use pre-built actions or run custom Node.js code to connect with the SMS-IT API, making it a versatile tool for developers looking to add SMS functionality to their services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sms_it: {
type: "app",
app: "sms_it",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://controlpanel.smsit.ai/apis/getcreditbalance/`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
params: {
type: `1`,
apikey: `${this.sms_it.$auth.api_key}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})