Send data to any SFTP site¶
This topic describes the steps that are required to send files to SFTP from Amperity:
Get details¶
SFTP requires the following configuration details:
The hostname and port for the SFTP site to which data will be sent. For example, “sftp.acme.com” and “20”. |
|
The username and passphrase. |
|
The host public key (if encryption is configured). |
|
A private key when the “private-key” credential type is selected. |
|
The remote folder to which Amperity will send data. Important A “/” (forward slash) must be used as the first character for this value. For example: “/folder/name”. |
|
The public key to use for PGP encryption. |
Included SFTP site¶
Every Amperity tenant includes an SFTP site with a hostname of <tenant>.sftp.amperity.com
. For example, if your company name is ACME, then your tenant’s SFTP hostname is acme.sftp.amperity.com
. (The hostname is always all lowercase.)
Note
The SFTP site is provisioned by an Amperity administrator after the initial tenant creation. As such, the SFTP site is not immediately available, but this is not a long process. When the SFTP site is ready, Amperity will use SnapPass to send you the connection details. If you wish to use RSA key-based authentication, please provide the public key to your Amperity administrator when requesting SFTP access.
Once this site is provisioned, you may configure the SFTP site as an SFTP source or an SFTP destination to support any desired workflow. External customer processes can be configured to connect to the site using SFTP, after which they can add data to or pick up data from the site to support any external workflow.
Caution
The SFTP server has a 30-day limit on data and after 30 days, data may be moved automatically to an archive location. This location is still accessible to Amperity in case it becomes necessary to reuse it.
Important
The hostname for the SFTP site is always <tenant-name>.sftp.amperity.com
. Some older tenants may still be using the legacy address sftp.amperity.com
, if so, please contact your Amperity administrator about migrating.
Filedrop requirements¶
An SFTP location requires the following:
Credentials that allow Amperity to access, and then send data to the location
An optional RSA key for public key credentials
Files provided in a supported file format
Files provided with the appropriate filename template pattern
Support for the desired file compression and/or archive method
The ability to encrypt files before they are added to the location using PGP encryption
Tip
Use SnapPass to securely share your organization’s credentials and encryption keys with your Amperity representative.
Add destination¶
Configure Amperity to send files directly to SFTP.
To add a destination to any SFTP site
Open the Destinations tab to configure a destination for SFTP. Click the Add Destination button to open the Destination dialog box. Enter a name for the destination and provide a description. For example: “SFTP” and “This sends files to SFTP”. From the Plugin drop-down, start typing “sftp” to filter the list, and then select SFTP. |
|
Credentials allow Amperity to connect to SFTP. The credential type is set automatically to passphrase or private-key. You may use an existing credential or you may add a new one. Select an existing credential from the Credential drop-down. – or – Select Create a new credential from the Credential drop-down. This opens the Credential dialog box. Enter the name for the credential, and then add a description. Select hostname from the HOSTNAME drop-down list. Enter the username and passphrase. When finished, click Save. |
|
Each destination has settings that define how Amperity will deliver data to SFTP. These settings are listed under the Settings section of the Destination dialog box. Complete the following SFTP Settings:
|
|
Business users are assigned to the Amp360 User and/or AmpIQ User policies. (Amp360 User allows access to queries and orchestrations and AmpIQ User allows access to segments and campaigns.) A business user cannot select a destination that is not visible to them. Business users – including users assigned to the DataGrid Operator policy – may have restricted access to PII. What is restricted access to PII? Restricted PII access is enabled when the Restrict PII access policy option that prevents users who are assigned to that option from viewing data that is marked as PII anywhere in Amperity and from sending that data to any downstream workflow. You can make this destination visible to orchestrations and allow users with restricted access to PII to use this destination by enabling one (or both) of the following options: Note To allow business users to use this destination with campaigns, you must enable the Available to campaigns option within the data template. This allows users to send campaign results from Amperity to SFTP. The other two settings may be configured within the data template instead of the destination. |
|
Review all settings, and then click Save. Important You must configure a data template for this destination before you can send data to SFTP. |
Add data template¶
A data template defines how columns in Amperity data structures are sent to downstream workflows. A data template is part of the configuration for sending query and segment results from Amperity to an external location.
To add a data template
From the Destinations tab, open the menu for a destination that is configured for SFTP, and then select Add data template. This opens the Add Data Template dialog box. Enter the name of the data template and a description. For example: “SFTP” and “Send files to SFTP.”. |
|
Verify business user access to queries and orchestrations and access to segments and campaigns. A business user may also have restricted access to PII, which prevents them from viewing and sending customer profile data. If business user access was not configured as part of the destination, you may configure access from the data template. Important To allow business users to use this destination with campaigns, you must enable the Available to campaigns option. This allows users to send campaign results from Amperity to SFTP. If you enable this option, the data extension settings require using campaign name and group name template variables to associate the name of the data extension to your campaign. |
|
Verify all configuration settings. Note When the settings required by the SFTP site were are not configured as part of the destination, you must configure them as part of the data template before making this destination available to campaigns. |
|
Review all settings, and then click Save. After you have saved the data template, and depending on how you configured it, business users can send query results and/or send campaigns to SFTP. |
Workflow actions¶
A workflow will occasionally show an error that describes what prevented a workflow from completing successfully. These first appear as alerts in the notifications pane. The alert describes the error, and then links to the Workflows tab.
Open the Workflows page to review a list of workflow actions, choose an action to resolve the workflow error, and then follow the steps that are shown.
You may receive a notifications error for a configured SFTP destination. This appears as an alert in the notifications pane on the Destinations tab. If you receive a notification error, review the details, and then click the View Workflow link to open this notification error in the Workflows page. |
|
On the Workflows page, review the individual steps to determine which step(s) have errors that require your attention, and then click Show Resolutions to review the list of workflow actions that were generated for this error. |
|
A list of individual workflow actions are shown. Review the list to identify which action you should take. Some workflow actions are common across workflows and will often be available, such as retrying a specific task within a workflow or restarting a workflow. These types of actions can often resolve an error. In certain cases, actions are specific and are shown when certain conditions exist in your tenant. These types of actions typically must be resolved and may require steps that must be done upstream or downstream from your Amperity workflow. Amperity provides a series of workflow actions that can help resolve specific issues that may arise with SFTP, including: |
|
Select a workflow action from the list of actions, and then review the steps for resolving that error. After you have completed the steps in the workflow action, click Continue to rerun the workflow. |
Invalid credentials¶
The credentials that are defined in Amperity are invalid.
To resolve this error, verify that the credentials required by this workflow are valid.
Open the Credentials page.
Review the details for the credentials used with this workflow. Update the credentials for SFTP if required.
Return to the workflow action, and then click Resolve to retry this workflow.