Deliver automated, relevant, and timely messages aligned with customers preferences.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Jellyreach API lets you automate your marketing campaigns by triggering personalized emails, SMS, and push notifications based on various customer actions or data. Integrating Jellyreach with Pipedream's serverless platform allows seamless connectivity between Jellyreach and other services, enabling sophisticated multi-channel communication strategies that can be tailored on-the-fly to suit an array of business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jellyreach: {
type: "app",
app: "jellyreach",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jellyreach.com/v1/contacts`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.jellyreach.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
# $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