with SuperPhone and Zoho Calendar?
Triggered when a new contact is created. See the documentation
Triggered when a new message is received. See the documentation
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
SuperPhone is a communication platform that allows users to manage text and call campaigns through a personal phone number. Leveraging the SuperPhone API on Pipedream, you can automate interactions with contacts, send personalized messages, and get analytics on message deliverability and engagement. With Pipedream's serverless platform, you can trigger workflows on various events, like receiving a new message or a specific keyword, and connect to countless other apps to extend functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
superphone: {
type: "app",
app: "superphone",
}
},
async run({steps, $}) {
const data = {
"query": `{{your_query}}`, // such as "query testAuth {defaultForm {id}}"
}
return await axios($, {
method: "post",
url: `https://api.${this.superphone.$auth.environment}/graphql`,
headers: {
Authorization: `Bearer ${this.superphone.$auth.api_key}`,
"Accept": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})