with Zoho Calendar and OneSignal (REST API)?
Emit new item when a new event is created. See the documentation
Emit new item when an event is updated. See the documentation
Create a new event in a particular calendar using Smart Add. See the documentation
Create or update a event in a particular calendar of the user. See the documentation
Returns a list of all the events in a particular calendar of the user. See the documentation
Zoho Calendar API allows for the integration and manipulation of calendar events, giving you the power to automate workflows involving scheduling, reminders, and event management right within Pipedream. With this API, you can create, read, update, or delete events, and also respond to invites. By leveraging Pipedream's capabilities, you can connect Zoho Calendar with various other services to streamline your calendar management and synchronize events with other apps, or trigger actions based on calendar events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_calendar: {
type: "app",
app: "zoho_calendar",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://calendar.${this.zoho_calendar.$auth.base_api_url}/api/v1/calendars`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_calendar.$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}`,
},
})
},
})