with BulkGate and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The BulkGate API enables automated sending of SMS messages, offering a powerful way to communicate with customers or users directly through their mobile devices. With this API on Pipedream, you can craft workflows that trigger SMS notifications based on specific events, such as new sign-ups, transaction alerts, or appointment reminders. It's a tool for enhancing customer engagement, support, and conversion through timely and personalized messaging.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bulkgate: {
type: "app",
app: "bulkgate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://portal.bulkgate.com/api/1.0/simple/info`,
params: {
application_id: `${this.bulkgate.$auth.app_id}`,
application_token: `${this.bulkgate.$auth.app_token}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS