Configuring SFTP Data Transfers

One way to automatically retrieve data from your learning site is to set up nightly data transfers to an SFTP. But how can you use an SFTP, or maybe you're asking what IS an SFTP? In this article, we will define SFTP and understand how and when to use this automation in data transfers.


Use Case Information

In your platform, you have three ways to pull data out of the system using the Thought Industries Notifications feature:

  • Email.
  • Real time Webhooks.
  • Posting nightly to SFTP.

A common use case for setting up Notifications is not only to connect to yourself about certain learner-triggers happening in your system, via the email option, but to connect this information to another piece of software you may already be using, such as your CRM.

Note

For a complete list of learner triggers to receive a notifications about, please refer to this article for more details on this area of the platform.

What is an SFTP?

SFTP is a secure file transfer protocol that uses secure shell encryption to provide a high level of security for sending sensitive data across the web. So in other words, no data is sent in clear text, rather, it's all encrypted. Once you set up SFTP on an SFTP server, you receive nightly posts of particular events to a secure client FTP, in either CSV or JSON format. You can then pull data from the SFTP to easily integrate with third party programs.

When to use SFTP data transfers

The Thought Industries Notifications feature is actually an Admin Notification feature, used to notify Admins when something happens in the platform. Provided for you in this area of the platform is a large list of triggers that you can use to not only notify your Admins, but to use automated options, such as the SFTP data transfer, to send information to various third party systems you may be already using. There are many clever ways to use SFTP, let's look at one below:

  • You have learners that are "inactive" in your platform for 7, 14, or even 31 days. You can receive this trigger that they are inactive via SFTP and then take that information over to your CRM to perhaps email those learners with a coupon incentivizing them to come back to your site and consume content!

Configuring SFTP

To Configure SFTP Data Transfers in your platform:

  1. From your homepage, select Users > Notifications.
  2. In the left menu, select Manager Notifications.
  3. Click the plus icon (+) in the top right corner of the page.
  4. In the Trigger step, click Search events and choose the trigger to be notified about. The Details panel describes when the trigger fires and which channels it supports. Click Next.
  5. In the Channel step, click SFTP, then click Next.
  6. In the Destination & Advanced step, enter your SFTP address in the Destination field (for example, sftp://host/path).
  7. Under Advanced options, select a File Format: JSON or CSV.
  8. Under Advanced options, you can choose a specific course in the Scope field. Leave it empty to apply the notification to all courses.
  9. Click Create notification.

As you build the notification, the preview panel on the right shows the selected trigger, a sample of the file that is dropped on your SFTP server, and the merge fields available.

Manager Notifications_Creating SFTP Notification_AdminView_GIF.gif

 

Note

SFTP transfers are fired at 2am (based on your instance's time zone) and will contain all events from the previous day. For example, the SFTP transfer sent at 2am on Friday will contain all of Thursday's events.

 

Tip

To see what a file looks like for any trigger, select the trigger and the SFTP channel while creating a notification. The preview panel shows a sample file in the format you choose.

Note

To edit or delete an existing SFTP notification, see Managing Manager Notifications.

Was this article helpful?
0 out of 0 found this helpful

More resources

  • Academy

    Go from beginner to expert with hands-on training

  • Community

    Ask questions, swap ideas, and learn from people like you

  • Developer Docs

    Reference guides and code samples for developers