SK SKYVVA Documentation

1. Outbound Attachment SF to Agent (FTP)

Introduction

An agent can transact data below 6MB per transaction. Now Agent can export attachment for 1000 object’s records filtered. A Local File on Agent can be used as a target in SKYVVA. It must reside on the machine where the Agent is installed. Any file type can be used. Commonly-used types for local files are text (.txt), CSV (.csv), XML (.xml), and PDF (.pdf).

Prerequisite

Before a user can use a Local File target, the user must have enabled Local File Location on your SKYVVA Agent. See Enabling Local File Location for details. Creating a Local File Target Users can choose to create a new local file target on their own, or within an existing operation. For more information on how sources and targets work within operations, see Creating an Operation. The user has to follow the guide carefully it’s so interesting and having a lot of tricks Agent – SF: FTP Integration

As a test, we use an FTP server application, named FileZilla Server and its client tool. In this server, we configure the user and group as below :

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]Always think of file/folder access permissions on the FTP server when doing integration between SF and FTP, and vice versa.[/su_box] Please disable the SSL login.

Properties for FTP adapter are URL, Username, Password, File Type, Folder, Filename, and CSV Separator (for CSV file type). Run Integration Agent UI

Create a New Integration (for SF-Agent integration) as follows:

Go to Salesforce Org.

Go back to your Interface Details page which the user already created

Go to Agent

Go to Message Monitoring Tab in your Salesforce Org.

Go to your Account Record see Notes & Attachments uploaded successfully

How to use Outbound Attachment SF to Agent (FTP) Case1: Export attachments by integrating through Agent

We need to find an integration for SF-Agent by clicking on Integration Name

Adapter property :

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]When the filename is not specified, the agent will go to the folder and lookup for all files with the type.[/su_box] Ex. In the screenshot, we don’t specify the file name, so that the agent will go to folder “C\Users\Akash\FTP test with Other” to query data from all files (Account.csv) with the file type of Other.

Unlike, the file name property is not used in SF-FTP Integration  

Click “Save & Next” to save the Integration and its Adapter and Properties and to create a New Interface and fill in all necessary info as shown in the below figure

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]For SF-FTP Integration, the "Target" field is equal to a target filename of storing data that is queried from SF.[/su_box] On Query section:

Go to the Local File folder in PC

Case2: Export salesforce files by integrating through Agent

We need to find an integration for SF-Agent by clicking on Integration Name

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]Only Manually uploaded files are showed in Query Table For ContentVersion SObject[/su_box]

Go to the Local File folder in PC

Open this article in the interactive viewer →