with Predis.ai and Jellyreach?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
predis_ai: {
type: "app",
app: "predis_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://brain.predis.ai/predis_api/v1/get_posts/`,
headers: {
"authorization": `${this.predis_ai.$auth.api_key}`,
},
params: {
brand_id: `${this.predis_ai.$auth.brand_id}`,
},
})
},
})
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`,
},
})
},
})