Solved

Automate data import process

Posted on 2014-09-07
3
692 Views
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.
Regards.
0
Comment
Question by:-Dman100-
  • 2
3 Comments
 
LVL 32

Expert Comment

by:shalomc
Comment Utility
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.
0
 

Author Comment

by:-Dman100-
Comment Utility
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!!
Regards.
0
 
LVL 32

Accepted Solution

by:
shalomc earned 500 total points
Comment Utility
> 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?
Both
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This Micro Tutorial will explain how to export DynamoDB tables in Amazon Web Services.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now