with Calendly and Playwright?
Creates a single-use scheduling link. See the documentation
Marks an Invitee as a No Show in Calendly. See the documentation
Gets information about an Event associated with a URI. See the documentation
The Calendly API lets you craft bespoke scheduling experiences within your apps or automate repetitive tasks involving your calendar. With this API, you can read event types, set up webhooks for new events, list invitees, or create and cancel invitation links programmatically. Pipedream's serverless platform takes the heavy lifting out of integrating Calendly with hundreds of other apps, enabling you to focus on creating workflows that save time, enhance productivity, and eliminate scheduling errors.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
calendly_v2: {
type: "app",
app: "calendly_v2",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.calendly.com/users/me`,
headers: {
Authorization: `Bearer ${this.calendly_v2.$auth.oauth_access_token}`,
},
})
},
})
Playwright is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Playwright runs in headless mode on Chromium on Pipedream.
Using Playwright you can perform tasks including:
import { playwright } from '@pipedream/browsers';
export default defineComponent({
async run({steps, $}) {
const browser = await playwright.launch();
// Interact with the web page programmatically
// See Playwright's Page documentation for available methods:
// https://playwright.dev/docs/api/class-page
const page = await browser.newPage();
await page.goto('https://pipedream.com/');
const title = await page.title();
const content = await page.content();
// Close context and browser otherwise the step will hang
await page.context().close()
await browser.close();
return { title, content }
},
})