with Acuity Scheduling and Neon Postgres?
Emit new event when an appointment is scheduled.
Emit new event when an appointment is canceled.
Emit new event when a new column is added to a table. See the documentation
Emit new event when a row is added or modified. See the documentation
Emit new event when a new row is added to a table. See the documentation
Blocks a specific time slot on your schedule to prevent the scheduling of any appointments during this particular time range. See the documentation
Retrieves existing appointments using the client's information, allowing you to track all the appointments associated with a specific client. See the documentation
Finds a row in a table via a lookup column. See the documentation
Acuity Scheduling API allows you to tap into the functionality of Acuity Scheduling, a cloud-based appointment scheduling software. With this API on Pipedream, you can automate appointment creation, modifications, and cancellations, as well as sync customer data across your tech stack. The API lets you fetch detailed information about schedules, available time slots, and calendar events. Create dynamic, real-time integrations with CRMs, email marketing platforms, or payment gateways to streamline your scheduling and business processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acuity_scheduling: {
type: "app",
app: "acuity_scheduling",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://acuityscheduling.com/api/v1/me`,
headers: {
Authorization: `Bearer ${this.acuity_scheduling.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform";
import { neon } from "@neondatabase/serverless";
export default defineComponent({
props: {
neon_postgres: {
type: "app",
app: "neon_postgres",
}
},
async run({ steps, $ }) {
const { host, port, user, password, database } = this.neon_postgres.$auth
const connectionString = `postgresql://${user}:${password}@${host}:${port}/${database}`
const sql = neon(connectionString)
const result = await sql`SELECT version()`
const { version } = result[0]
return version
},
})