with CleverReach and OneSignal (REST API)?
Emit new event when a new subscriber is added to a selected group. See the documentation
Emit new event when a receiver unsubscribes. See the documentation
Adds a new subscriber to a mailing list. See the documentation
Updates the information of an existing subscriber. See the documentation
The CleverReach API lets you automate email marketing operations and integrate with your data sources for personalized campaigns. On Pipedream, use this API to craft and manage subscriber lists, send targeted emails, and track campaign performance. With an event-driven platform like Pipedream, you can trigger workflows from numerous sources, manipulate data, and connect CleverReach to other apps to automate complex tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cleverreach: {
type: "app",
app: "cleverreach",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.cleverreach.com/v3/groups.json`,
headers: {
Authorization: `Bearer ${this.cleverreach.$auth.oauth_access_token}`,
},
})
},
})
OneSignal's REST API enables developers to automate the delivery of push notifications, manage users and segments, and gather analytics to refine communication strategies. By integrating OneSignal with Pipedream, you can orchestrate complex workflows that react to events or schedules, synchronize user data across platforms, and personalize user engagement with cross-channel marketing tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_rest_api: {
type: "app",
app: "onesignal_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/players`,
headers: {
"Authorization": `Basic ${this.onesignal_rest_api.$auth.rest_api_key}`,
},
params: {
app_id: `${this.onesignal_rest_api.$auth.app_id}`,
},
})
},
})