SFTP (key-based auth)

Interact with an SFTP (SSH File Transfer Protocol) Server using a private key for auth

Integrate the SFTP (key-based auth) API with the Zendesk API

Setup the SFTP (key-based auth) API trigger to run a workflow which integrates with the Zendesk API. Pipedream's integration platform allows you to integrate SFTP (key-based auth) and Zendesk remarkably fast. Free for developers.

Create Ticket with Zendesk API on New Remote Directory Watcher from SFTP (key-based auth) API
SFTP (key-based auth) + Zendesk
 
Try it
Delete Ticket with Zendesk API on New Remote Directory Watcher from SFTP (key-based auth) API
SFTP (key-based auth) + Zendesk
 
Try it
Update Ticket with Zendesk API on New Remote Directory Watcher from SFTP (key-based auth) API
SFTP (key-based auth) + Zendesk
 
Try it
Upload String as File with SFTP (key-based auth) API on New Ticket (Instant) from Zendesk API
Zendesk + SFTP (key-based auth)
 
Try it
Upload String as File with SFTP (key-based auth) API on New Ticket Added to View (Instant) from Zendesk API
Zendesk + SFTP (key-based auth)
 
Try it
New Remote Directory Watcher from the SFTP (key-based auth) API

Emit new events when files get created, changed or deleted from a remote directory. See the docs

 
Try it
New Ticket (Instant) from the Zendesk API

Emit new event when a ticket is created

 
Try it
New Ticket Added to View (Instant) from the Zendesk API

Emit new event when a ticket is added to the specified view

 
Try it
Ticket Closed (Instant) from the Zendesk API

Emit new event when a ticket has changed to closed status

 
Try it
Ticket Pending (Instant) from the Zendesk API

Emit new event when a ticket has changed to pending status

 
Try it
Create Ticket with the Zendesk API

Creates a ticket. See the documentation.

 
Try it
Upload File with the SFTP (key-based auth) API

Uploads a file or string in UTF-8 format to the SFTP server. See the documentation

 
Try it
Delete Ticket with the Zendesk API

Deletes a ticket. See the documentation.

 
Try it
Update Ticket with the Zendesk API

Updates a ticket. See the documentation.

 
Try it

Overview of SFTP (key-based auth)

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.

Connect SFTP (key-based auth)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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();
  },
})

Overview of Zendesk

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.

Connect Zendesk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})