Push messaging
Adds a contact to a specific static list. See the documentation
Create or update a batch of contacts by its ID or email. See the documentation
Create a WhatsApp, LinkedIn, or SMS message. See the documentation
The OneSignal (User Auth) API on Pipedream empowers developers to streamline communication by automating notifications and messaging. With it, you can handle user data, send targeted notifications to specific user segments, and track message engagement. By leveraging Pipedream's serverless platform, you can create intricate workflows to interact with the API, reacting to events across various apps or triggering actions based on user behavior.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_user_auth: {
type: "app",
app: "onesignal_user_auth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/apps/`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Basic ZTUwMTQ0ODAtMjQ2Ni00YzY5LWIyNGMtYWUwMGM2MzUyZDM3`,
},
})
},
})
The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubspot: {
type: "app",
app: "hubspot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubapi.com/integrations/v1/me`,
headers: {
Authorization: `Bearer ${this.hubspot.$auth.oauth_access_token}`,
},
})
},
})