with OnceHub and InfluxDB Cloud?
Emit new event when a booking is canceled. See the docs
Emit new event when a customer cancels a booking and then reschedules on a different booking page. See the docs
Emit new event when a new bucket is created. See the documentation
Emit new event when the status of a booking is changed. See the docs
Emit new event when a new script is created. See the documentation
Runs a script and returns the result. See the documentation
Updates an existing bucket in InfluxDB Cloud. See the documentation
Write data to a specific bucket in InfluxDB Cloud. See the documentation
The OnceHub API is a powerful tool for automating the scheduling of meetings and appointments. With this API, you can dynamically manage bookings, sync calendars, personalize notifications, and streamline the entire process of setting up and following up on appointments. When used on Pipedream, you can harness the serverless power of the platform to trigger workflows based on events in OnceHub, or to act upon data from other services, making the maintenance of your calendar and scheduling needs a breeze.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oncehub: {
type: "app",
app: "oncehub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.oncehub.com/v2/test`,
headers: {
"Accept": `application/json`,
"API-Key": `${this.oncehub.$auth.api_key}`,
},
})
},
})
Harness the power of InfluxDB Cloud API on Pipedream to build robust data workflows. InfluxDB Cloud, a time-series database, is ideal for managing high-velocity data and extracting insights in real-time. On Pipedream, you can easily trigger workflows based on InfluxDB data, automate data ingestion, and connect with countless other services to analyze, visualize, and act upon your data.
import { InfluxDB } from '@influxdata/influxdb-client';
import { HealthAPI } from '@influxdata/influxdb-client-apis';
export default defineComponent({
props: {
influxdb_cloud: {
type: "app",
app: "influxdb_cloud",
}
},
async run({steps, $}) {
// See the Node.js client docs at
// https://github.com/influxdata/influxdb-client-js
const influxDB = new InfluxDB(this.influxdb_cloud.$auth.url);
const healthAPI = new HealthAPI(influxDB)
// Execute a health check to test our credentials
return await healthAPI.getHealth()
},
})