with SSH (password-based auth) and Google Meet?
Creates a new event in Google Calendar with a Google Meet link. See the documentation
The SSH (password-based auth) app on Pipedream facilitates the orchestration of commands and automations on remote servers securely. With it, you can execute shell commands, manage files, and run scripts on your server as part of Pipedream workflows. This unlocks the potential for a host of automations like deploying applications, monitoring system performance, or automating backups — all triggered by events from numerous apps supported on Pipedream.
module.exports = defineComponent({
props: {
ssh_password_based_auth: {
type: "app",
app: "ssh_password_based_auth",
}
},
async run({steps, $}) {
const SSH2Promise = require('ssh2-promise')
const {
host,
port,
username,
password,
} = this.ssh_password_based_auth.$auth
const ssh = new SSH2Promise({
host,
port,
username,
password,
})
await ssh.connect()
console.log("Connection established")
// Replace this with the command you'd like to run
const resp = await ssh.exec("whoami")
console.log(resp)
await ssh.close()
},
})
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}`,
},
})
},
})