with Basecamp and SFTP (password-based auth)?
Emit new events when files get created, changed or deleted from a remote directory. See the docs
Emit new event when a comment is created. See the documentation
Emit new event when a message is created. See the documentation
Emit new event when a to-do item is created. See the documentation
Emit new event when a to-do list is created. See the documentation
Creates a comment in a selected recording. See the documentation
Uploads a file or string in UTF-8 format to the SFTP server. See the documentation
Creates a message in a Campfire for a Basecamp Chatbot. See the documentation
Creates a message in a selected Campfire. See the documentation
The Basecamp API enables the automation of project management tasks, facilitating seamless interaction with Basecamp's project management tools. Through Pipedream, you can leverage the API to create custom workflows that trigger actions within Basecamp, sync data across various platforms, and enhance team collaboration with automated notifications and task management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
basecamp: {
type: "app",
app: "basecamp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://launchpad.37signals.com/authorization.json`,
headers: {
Authorization: `Bearer ${this.basecamp.$auth.oauth_access_token}`,
},
})
},
})
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();
},
})