with SFTP (password-based auth) and Zoho Projects?
Emit new events when files get created, changed or deleted from a remote directory. See the docs
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
Add Time for a General Log. Adds the time log to other tasks. See the docs here
Uploads a file or string in UTF-8 format to the SFTP server. See the documentation
SFTP on Pipedream enables secure file management on remote servers directly from your workflows. Utilize this app to automate file uploads, downloads, and synchronization tasks between your systems and SFTP servers. Implement robust data pipelines or deploy content to web servers without manual intervention, all while maintaining a high level of security with password-based authentication.
module.exports = defineComponent({
props: {
sftp_password_based_auth: {
type: "app",
app: "sftp_password_based_auth",
}
},
async run({steps, $}) {
const Client = require('ssh2-sftp-client');
const {
host,
username,
password,
} = this.sftp_password_based_auth.$auth
const config = {
host,
username,
password,
}
const sftp = new Client()
await sftp.connect(config)
this.cwd = await sftp.cwd();
return await sftp.end();
},
})
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}`,
},
})
},
})