Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Uploading a CSV to salesforce whenever it's put into a specific folder. Help a rookie

Hi everyone,
I'm a totally beginner with ETL, this is my really first day.
I'm trying to build a flow that triggers whenever someone puts a .CSV in a specific folder, and then uploads its records to SalesForce.

Any link/resources will be appreciated.
I hope I was clear enough,
Thank you in advance.
P.S. I gotta use the OpenSource version of Talend. hope it won't be a problem.

 

Labels (4)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

You can follow this design:

0683p000009MaYH.png

tWaitForFile should be configured like this:

0683p000009Maav.png

Every 10 seconds, tFileWaitForFile check for new files in the directory pointed by the context variable "PathWhereFilesAreCreated". When a new file is detected, an iteration starts for this file to read the content and pass it to Salesforce. In tFileInputDelimited, use this expression for "File name":

context.PathWhereFilesAreCreated + ((String)globalMap.get("tWaitForFile_1_FILENAME"))

View solution in original post

10 Replies
TRF
Champion II
Champion II

As a minimalist flow you may have tFileInputDelimited --> tMap --> tSalesforceOutput, it's enough.

tMap is here just in case fields name from input file are not exactly the as for your Salesforce object (mapping operation).

When this works, have a look at tWaitForFile component.

TRF
Champion II
Champion II

As a minimalist flow you may have tFileInputDelimited --> tMap --> tSalesforceOutput, it's enough.

tMap is here just in case fields name from input file are not exactly the as for your Salesforce object (mapping operation).

When this works, have a look at tWaitForFile component.

Anonymous
Not applicable
Author

Hi,
thanks for the answer,
Ifollowed your advice, the minimal flow works but i'd need to know how to add the tWaitForFile to it.
If you can support me, it'd be great
Thank you again,
ochiatt Smiley Happy

Anonymous
Not applicable
Author

Hi,
thanks for the answer,
Ifollowed your advice, the minimal flow works but i'd need to know how to add the tWaitForFile to it.
If you can support me, it'd be great
Thank you again,
ochiatt Smiley Happy

TRF
Champion II
Champion II

You can follow this design:

0683p000009MaYH.png

tWaitForFile should be configured like this:

0683p000009Maav.png

Every 10 seconds, tFileWaitForFile check for new files in the directory pointed by the context variable "PathWhereFilesAreCreated". When a new file is detected, an iteration starts for this file to read the content and pass it to Salesforce. In tFileInputDelimited, use this expression for "File name":

context.PathWhereFilesAreCreated + ((String)globalMap.get("tWaitForFile_1_FILENAME"))
TRF
Champion II
Champion II

You can follow this design:

0683p000009MaYH.png

tWaitForFile should be configured like this:

0683p000009Maav.png

Every 10 seconds, tFileWaitForFile check for new files in the directory pointed by the context variable "PathWhereFilesAreCreated". When a new file is detected, an iteration starts for this file to read the content and pass it to Salesforce. In tFileInputDelimited, use this expression for "File name":

context.PathWhereFilesAreCreated + ((String)globalMap.get("tWaitForFile_1_FILENAME"))
Anonymous
Not applicable
Author

Thank you very much, you helped me, it's working fine.

Awesome community, thank you again.

Anonymous
Not applicable
Author

Thank you very much, you helped me, it's working fine.

Awesome community, thank you again.

TRF
Champion II
Champion II

Great!
Thanks to mark your case as solved, kudos also accepted.