Build sales leads with accuracy, reduce customer attrition, and engage with clients using personalized interactions.
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
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}`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}