HTTP / Webhook

Get a unique URL where you can send HTTP or webhook requests

Integrate the HTTP / Webhook API with the SFTP (password-based auth) API

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

Upload String as File with SFTP (password-based auth) API on New Requests from HTTP / Webhook API
HTTP / Webhook + SFTP (password-based auth)
 
Try it
Upload String as File with SFTP (password-based auth) API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + SFTP (password-based auth)
 
Try it
Send any HTTP Request with HTTP / Webhook API on New Remote Directory Watcher from SFTP (password-based auth) API
SFTP (password-based auth) + HTTP / Webhook
 
Try it
Send GET Request with HTTP / Webhook API on New Remote Directory Watcher from SFTP (password-based auth) API
SFTP (password-based auth) + HTTP / Webhook
 
Try it
Send POST Request with HTTP / Webhook API on New Remote Directory Watcher from SFTP (password-based auth) API
SFTP (password-based auth) + HTTP / Webhook
 
Try it
New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Remote Directory Watcher from the SFTP (password-based auth) API

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

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
Try it
Upload String as File with the SFTP (password-based auth) API

Uploads a UTF-8 string as a file on an SFTP server

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send POST Request with the HTTP / Webhook API

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send PUT Request with the HTTP / Webhook API

Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
// To use any npm package on Pipedream, just import it
import axios from "axios"

export default defineComponent({
  async run({ steps, $ }) {
    const { data } = await axios({
      method: "GET",
      url: "https://pokeapi.co/api/v2/pokemon/charizard",
    })
    return data.species
  },
})

Overview of SFTP (password-based auth)

SFTP (Secure File Transfer Protocol) is a network protocol that provides secure
file transfers over secure shell (SSH) connections. It is an extension of the
Secure Shell protocol, designed for secure file exchange between hosts. A user
can securely transfer files between systems without having to worry about
external threats, as the protocol is encrypted and authenticated.

With the SFTP API, you can build applications that securely transfer data, such
as files and documents, between two different systems. Some example
applications include:

  • Secure document sharing between two systems
  • Secure file synchronization between two systems
  • Secure backups of data over the network
  • Secure transfers of large files
  • Secure uploads and downloads of data
  • Media streaming between two systems

Connect SFTP (password-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_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();
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!