with ServiceTitan and Google Meet?
Creates a new event in Google Calendar with a Google Meet link. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicetitan: {
type: "app",
app: "servicetitan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api${this.servicetitan.$auth.environment}servicetitan.io/settings/v2/tenant/${this.servicetitan.$auth.tenant_id}/employees`,
headers: {
Authorization: `Bearer ${this.servicetitan.$auth.oauth_access_token}`,
"st-app-key": `${this.servicetitan.$auth.client_id}`,
},
})
},
})
The Google Meet API allows developers to automate aspects of the video conferencing service, like creating and managing meetings. With Pipedream, these capabilities can be leveraged to build custom workflows, integrating Google Meet with other services to streamline scheduling, notification, and management processes. For instance, you can automate the creation of meetings in response to calendar events, sync meeting details with a CRM, or initiate follow-up actions once a meeting concludes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_meet: {
type: "app",
app: "google_meet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_meet.$auth.oauth_access_token}`,
},
})
},
})