node.js library for use in Custom code action to read csv on SFTP

Hello everyone,

Is there a solution to read CSV files on SFTP using workflow Custom code actions?

Hi, @Shahajad :waving_hand: Looking at the documentation and the available supported libraries, this one will like need to be handled a different way. Custom code workflow actions cannot access Node libraries like ssh2 or ssh2-sftp-client. We are limited to the following libraries:

  • @hubspot/api-client ^8
  • async ^3.2.0
  • aws-sdk ^2.744.0
  • axios ^1.2.0
  • lodash ^4.17.20
  • mongoose ^6.8.0
  • mysql ^2.18.1
  • redis" ^4.5.1
  • request" ^2.88.2
  • bluebird ^3.7.2
  • random-number-csprng ^1.0.2
  • googleapis ^67.0.0

In this case, an intermediate solution for handling your CSVs via SFTP will be necessary.

I hope this helps get you moving forward. — Jaycee