with Zoho Projects and SSH (password-based auth)?
Emit new event when a new milestone is created. See the docs here
Emit new event when a new project is created. See the docs here
The Zoho Projects API lets you harness the full potential of project management by enabling seamless integration with other tools and automating routine tasks. With it, you can create projects, manage tasks, track time, and customize your workflow. On Pipedream, you can leverage this API to build robust automations that connect Zoho Projects with a plethora of other apps, streamlining project tracking and collaboration workflows, all without writing a single line of code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_projects: {
type: "app",
app: "zoho_projects",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://projectsapi.${this.zoho_projects.$auth.region}/restapi/portals/`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_projects.$auth.oauth_access_token}`,
},
})
},
})
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()
},
})