with Textlocal and Formatting?
The Textlocal API on Pipedream allows for robust SMS messaging capabilities within workflows. You can send notifications, alerts, and updates directly to mobile users, automate marketing campaigns, or integrate SMS into multi-channel communication strategies. By leveraging Pipedream's serverless platform, you can create complex workflows involving Textlocal for various application domains without managing infrastructure, boosting productivity and engagement through the power of automated text messaging.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textlocal: {
type: "app",
app: "textlocal",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.txtlocal.com/balance`,
params: {
apiKey: `${this.textlocal.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})