with Square and Calendly?
Creates a single-use scheduling link. See the documentation
Creates a new customer for a business. Must provide at least one of the following: Given Name, Family Name, Company Name, Email Address, or Phone Number. See the docs
Marks an Invitee as a No Show in Calendly. See the documentation
Creates a draft invoice for an order. You must send (publish) the invoice before Square can process it. See the documentation
Gets information about an Event associated with a URI. See the documentation
The Square API opens up a realm of possibilities for merchants to effortlessly manage their sales, inventory, customers, and payments. With Pipedream, you can automate actions based on events in Square, such as new transactions, updated orders, or customer profile changes. Craft custom workflows that react in real-time, sync data across platforms, or streamline reporting. Through Pipedream's serverless platform, you can connect Square with countless other apps without writing extensive code, turning manual tasks into automated, efficient processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
square: {
type: "app",
app: "square",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://connect.squareup.com/oauth2/token/status`,
headers: {
Authorization: `Bearer ${this.square.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})