with SFTP (key-based auth) and Hippo Video?
Emit new events when files get created, changed or deleted from a remote directory. See the docs
Emit new event when any of the selected events are triggered.
Uploads a file or string in UTF-8 format to the SFTP server. See the documentation
Sends a personalization request for a specified video. See the documentation
The SFTP (key-based auth) app on Pipedream allows you to securely transfer and manage files over a network. It uses SSH for data transfer and provides the same level of security as SSH, without requiring password authentication, making automation workflows more secure and less prone to human error. You can automate file uploads, downloads, synchronization tasks, and efficiently manage your remote files in a serverless environment. Integrating this with other Pipedream-supported apps enables you to craft powerful and secure data flow systems.
module.exports = defineComponent({
props: {
sftp: {
type: "app",
app: "sftp",
}
},
async run({steps, $}) {
const Client = require('ssh2-sftp-client');
const {
host,
username,
privateKey,
} = this.sftp.$auth
const config = {
host,
username,
privateKey,
}
const sftp = new Client()
await sftp.connect(config)
this.cwd = await sftp.cwd();
return await sftp.end();
},
})
The Hippo Video API lets you harness the power of video in your business processes. Through Pipedream, you can automate video creation, management, and distribution workflows. This means you can trigger actions in Hippo Video based on events from other apps, or use Hippo Video events to kick off processes elsewhere. Whether it's automating video emails in your CRM, monitoring video analytics, or managing video content at scale, Pipedream's serverless platform empowers you to build and run workflows seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hippo_video: {
type: "app",
app: "hippo_video",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.hippovideo.io/api/v1/me/videos/list`,
params: {
email: `${this.hippo_video.$auth.email}`,
api_key: `${this.hippo_video.$auth.api_key}`,
},
})
},
})