Go Premium for a chance to win a PS4. Enter to Win


Automate data import process

Posted on 2014-09-07
Medium Priority
Last Modified: 2016-02-17
I'm using the Salesforce platform and I currently have multiple flat files that need to be imported daily. Currently, I manually import the files using data loader. I am doing very simple imports to Accounts and Opportunities objects in Salesforce.

The process is two prong. First, we have a process that exports the data from another database to a flat file (csv) and copies it over to a FTP site. Then I will grab the flat file (csv) from the FTP site and load into Salesforce.

I am looking at ways to automate this process with no user intervention. I am looking at the automated pull approach or an http request / response. Is there any Salesforce examples of how each of these processes would be implemented? I'm sure this is probably a pretty common problem. I don't want to do any command line scripting process and using a middleware solutions like Informatica Cloud isn't on the table  at the present time.

I haven't had a ton of integration experience, but as I understand it I have the following choices if I dont want to license a tool, such as Informatica Cloud. I could a) write an apex rest service that would accept a POST with the new data, or b) write an inbound email handler that accepted csv attachments or c) have a scheduled apex job that made an outbound rest/soap call to a rest/soap service on your source system.   I am not very familiar with REST, but option "a" seems like a clean solution, but an external web service would have to be written to POST to an APEX rest service that can accept the POST, correct?  Option "b" seems like it wouldn't be very viable based on potential size issue of the flat files and parsing the csv file.  Option "c" seems reasonable too, but again, there would need to be an external REST/SOAP rest service that I can make a call to that would need to be built.

Being completely new to integration development (REST), does anyone have any examples they can point me to that demonstrate how to accomplish options "a" and "b"?  

Has anyone replaced the dataloader manual loading process in Salesforce with an automated process using REST or SOAP?  I'm looking for any guidance on how to accomplish something like this.

Any examples of how to implement this functionality would be immensely helpful.

Thanks in advance for any help.
Question by:-Dman100-
  • 2
LVL 33

Expert Comment

ID: 40309904
We're using the Salesforce platform too.
We also have a variety of online sources that create leads.  Sometimes these are services that have internal built-in integration with salesforce, but often are not integrated.

For example, we are subscribed to a data feed that has daily lists of unqualified leads relevant to our business.

We use the Itduzzit service to automatically get the data feed, enrich it with information from the crunchbase API, create new leads in Salesforce, and assign the leads to different sales people based on some internal criteria.

Another usage we do is to get accounts that are in a certain status in Salesforce (entitled to service) and automatically provision them to our support platform via REST API.

The $59 a month plan has unlimited integrations, it supports FTP connectors, and I highly recommend it.  
It can reach out via FTP, get a CSV file, and create your SF accounts.

Author Comment

ID: 40311085
Hi Shalomic,

Thanks for your reply and information.  How does Itduzzit work?  Is there any programming required?  For example, how does it read a CSV file on a FTP site?  

Do you run into any governor limits (API calls, etc.?)  Can it handle bi-directional processing?  Can it be triggered real-time or just on a scheduled run?

Thanks for your help and the information!!
LVL 33

Accepted Solution

shalomc earned 2000 total points
ID: 40313290
> How does Itduzzit work?  
Create a free trial and see for yourself.

>Is there any programming required?
You need to understand programming but you don't write code.

> how does it read a CSV file on a FTP site?
You will probably create a custom "duzzit" (that's how they call integration units) that uses the FTP connector to fetch a file. There is a built-in CSV parser, just needs mapping.

> Do you run into any governor limits (API calls, etc.?)
The number of calls depends on your commercial plan.

> Can it handle bi-directional processing?

> Can it be triggered real-time or just on a scheduled run?

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Do you know what to look for when considering cloud computing? Should you hire someone or try to do it yourself? I'll be covering these questions and looking at the best options for you and your business.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased riskā€¦

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question