Use the Secure Shell protocol to execute commands on a remote server using a username and password
Emit new event when a ticket is added to the specified view
Emit new event when a ticket has changed to closed status
Emit new event when a ticket has changed to pending status
Emit new event when a ticket has changed to solved status
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()
},
})
The Zendesk API enables seamless integration of Zendesk's customer service platform with your existing business processes and third-party applications. By leveraging this API with Pipedream, you can automate ticket tracking, sync customer data, escalate issues, and streamline communication across multiple channels. This can significantly increase efficiency, accelerate response times, and enhance the overall customer experience. Automations can range from simple notifications to complex workflows involving data transformation and multi-step actions across various services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zendesk: {
type: "app",
app: "zendesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.zendesk.$auth.subdomain}.zendesk.com/api/v2/users/me/`,
headers: {
Authorization: `Bearer ${this.zendesk.$auth.oauth_access_token}`,
},
})
},
})