How to automaticall...
 
Notifications
Clear all

[Solved] How to automatically bring in data daily from a CSV file in AWS S3 into a salesforce object

2 Posts
1 Users
0 Likes
283 Views
Posts: 205
 CWL
Admin
Issue starter
(@cwl)
Member
Joined: 11 years ago

How to pull in data from Amazon AWS S3 and save it in salesforce object. I have a requirement to automatically pull or push data daily once from a CSV file in Amazon AWS S3 bucket to an object in Salesforce. What would be the options and approach to take to achieve this?

Issue Tags
1 Reply
Posts: 205
 CWL
Admin
Issue starter
(@cwl)
Member
Joined: 11 years ago

Arrived at this approach for connecting Salesforce with AWS S3 and accessing/reading a CSV file:

Use Named Credentials in Salesforce to establish an authenticated connection between Salesforce and AWS S3. This way we don't have to worry about managing Authorizations, Tokens, Signatures, etc.

Get 1. Access Key Id, 2. Secret Access Key and 3. URL from AWS S3 to configure the Named Credentials.

Once successfully connected to S3, with a REST request GET method, pull in the data in JSON format in the response body.

Parse the JSON data and save the records in the Salesforce Object.

Reply
Share: