with SFTP (password-based auth) and nocodb?
Emit new events when files get created, changed or deleted from a remote directory. See the docs
Emit new event for each new record in table. See the documentation
Emit new event for each new record in a view. See the documentation
Emit new event for each update in table. See the documentation
Uploads a file or string in UTF-8 format to the SFTP server. See the documentation
This action gets a row by row Id. See the documentation
This action lists all rows in a table. 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 NoCodeB (NocoDB) API transforms your databases into a smart Excel sheet, providing a platform for managing your data with the ease of a spreadsheet interface. When combined with Pipedream's capabilities, this API allows you to automate data operations, sync with other databases or apps, and streamline workflows without writing complex code. Using Pipedream, you can trigger events based on changes in your NocoDB, process and manipulate the data, and connect to countless apps to extend functionality, such as sending notifications, updating CRMs, or generating reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nocodb: {
type: "app",
app: "nocodb",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.nocodb.$auth.domain}/api/v1/db/meta/nocodb/info`,
headers: {
"accept": `application/json`,
"xc-token": `${this.nocodb.$auth.api_key}`,
},
})
},
})