with Planyo Online Booking and Widgetform?
Emit new event when a form submission is received. See the documentation
Retrieves the 10 most recent submissions. See the documentation
The Planyo Online Booking API facilitates interaction with a versatile reservation system, allowing for booking management and integration with external calendars, payment systems, and customer relationship tools. With Pipedream's serverless platform, you can wield this API to construct dynamic, event-driven workflows. Automate notifications, synchronize bookings with other services, or generate detailed reports on reservation trends. Streamline scheduling tasks, minimize manual data entry, and enhance the customer booking experience with customized automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    planyo_online_booking: {
      type: "app",
      app: "planyo_online_booking",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.planyo.com/rest/`,
      params: {
        method: `get_site_info`,
        api_key: `${this.planyo_online_booking.$auth.api_key}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    widgetform: {
      type: "app",
      app: "widgetform",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://usewidgetform.com/api/v1/hooks/zapier/user`,
      headers: {
        "x-api-key": `${this.widgetform.$auth.api_key}`,
      },
    })
  },
})