Connect to Destination

The Connect to Destination block defines where the processed data is delivered. In file transfer templates, this is an SFTP or FTP server. In data ingestion templates, this is a Capillary API endpoint.

File transfer destination (SFTP/FTP)

Block type: PutSFTPProcessor

Transfers the processed output file to a destination SFTP server. Supports SSH key-based authentication, automatic directory creation, file compression, and conflict resolution.

Configuration fields

FieldDescription
Hostname *URL of the destination SFTP server
Username *Username for the destination server
Password *Password for the destination server. Set to null when using SSH key authentication
Remote Path *Directory path on the destination server where the file will be placed
Output File Name *Name of the output file with extension (.csv or .txt)
PortSFTP port number (typically 22)
Create Remote DirectoryAutomatically creates the target directory if it does not exist
Zip FilesCompresses the output file before transferring
Conflict ResolutionHow to handle a filename clash: Replace, Rename, Ignore, Fail, or None
Private keyBase64-encoded SSH private key for key-based authentication
Key passphraseOptional passphrase for the SSH key. Set to null if not applicable

* Required field

API destination (data ingestion)

In data ingestion templates such as Transaction V2 Add or Customer Registration, the Connect to Destination block calls a Capillary API endpoint. The API URL is pre-filled based on the selected template and in most cases does not need to be modified.

TemplateAPI endpoint used
Transaction V2 Add/v2/transactions/bulk
Customer Registration/v2/customers (bulk)
Retro Transaction/v2/transactions (retro type update)
Goodwill Points Issue/v2/request-workflow/GOODWILL-POINTS
Test and Control/v2/tnc/change/bulk/customers
Force Generate Barcode/v2/customers/barcode/forceGenerate
Earned Badges/api_gateway/v1/badges/import/customerBadges
Create Rewards/v2/rewards (create)
Update Rewards/v2/rewards (update)
User Onboarding/intouch-ui/api/v1/users