Deliver automated, relevant, and timely messages aligned with customers preferences.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})