See llms.txt for all machine-readable content.

AWS S3 and Salesforce integration

Save yourself the work of writing custom integrations for AWS S3 and Salesforce and use n8n instead. Build adaptable and scalable Development, Data & Storage, workflows that work with your technology stack. All within a building experience you will love.

How to connect AWS S3 and Salesforce

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

AWS S3 and Salesforce integration: Create a new workflow and add the first step

Salesforce to S3 file migration & cleanup

Salesforce to S3 File Migration & Cleanup Automate archiving old Salesforce files to Amazon S3, log them back in Salesforce, and free up org storage — all from a scheduled n8n workflow. 🔧 How It Works (High-Level) Schedule Trigger kicks off (e.g., daily). Query Salesforce for ContentDocument records older than 365 days. Loop Each File → download binary via REST. Upload to S3 with the original filename. Lookup Links (ContentDocumentLink) to keep the parent record reference. Filter Out Users (ignore LinkedEntityId starting with 005). Create S3_File__c record in Salesforce for traceability. Delete Original File from Salesforce to reclaim storage. Notify via Slack when the batch is done. Screenshot 20250723 135316.png 🚀 Set Up Steps (Time: ~45–90 mins) Import n8n Workflow JSON and wire up credentials (Salesforce OAuth2, AWS S3, Slack). Install Salesforce Unmanaged Package (Custom Object S3_File__c, Apex controller, LWC, settings). Fill S3Settings__c (bucket, region, keys, expiry) or swap to Named Credentials. Test with a Sandbox Batch (e.g., small date range) and verify upload/delete. Schedule & Monitor (tweak interval, Slack channel). 💖 Why you’ll love it 💸 Slash storage costs — offload gigabytes to S3 🔍 Full traceability — every file still tracked in Salesforce 🧰 Plug & play — import JSON, install package, plug in creds 🧱 Modular & extensible — swap S3, add approvals, build an uploader UI ⏱ Set it & forget it — scheduled automation + Slack alerts 📦 What’s Included n8n JSON Flow – ready to import. Salesforce Unmanaged Package – Apex (S3FilesController.cls), LWC (s3FilesViewer), S3_File__c, S3Settings__c. S3 + Salesforce Setup Guide – quick reference for configuring keys, permissions, and the LWC. All components are editable — extend, replace, or integrate with your own processes. 🧱 Requirements n8n instance (self-hosted or Cloud) with HTTP Request, AWS S3, Slack, and Salesforce nodes. Salesforce org with API access & permission to install unmanaged packages. You have to have Query All Files permission. Setup-> Permission Sets / Profile -> App Permission -> Content -> Query All Files. Allows View All Data users to SOQL query all files in the org. AWS S3 bucket + IAM user/role with GetObject/PutObject (and optional ListBucket).

Popular ways to use the AWS S3 and Salesforce integration

Build your own AWS S3 and Salesforce integration

Create custom AWS S3 and Salesforce workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

AWS S3 supported actions

Salesforce supported actions

AWS S3 and Salesforce integration details

AWS S3

AWS S3

Amazon S3 (Simple Storage Service) helps you retrieve any amount of data from anywhere. It is a scalable object storage service that offers unmatched data availability, security and performance. What makes it special is its cost effective options and easy-to-use environment.

Salesforce

Salesforce

Salesforce is one of the best cloud-based CRM (Customer Relationship Management) platform. It is an integrated CRM that provides a single shared view of each customer for all the departments within an organization, such as Marketing, Sales, Commerce, and Service.

Supercharge your CRM

Need a more powerful integration with your CRM? n8n lets you go beyond standard integrations offered by popular CRMs!

Learn more

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about AWS S3 integrations

Need help setting up your AWS S3 and Salesforce integration?

Discover our latest community's recommendations and join the discussions about AWS S3 and Salesforce integration.

  • trijste

    Help getting the MCP trigger to pass a variable into an http request tool

    trijste

    I’m trying to build an MCP server that has access to my Salesforce org, but only at the schema and describe object level, ideally to provide more information for building out SOQL queries using custom fields from custom …

    Open topic
  • DV

    Salesforce platform events capture - to trigger N8n flow

    DV

    I could not find node of trigger type, which will start workflow when “platform event is publishjed from salesforce”. I am looking for support in n8n to listen to platform event as soon as published by SalesForce.

    Open topic
  • Graeme Smith

    How to connect credentials to Salesforce Custom Domain?

    Graeme Smith

    Describe the problem/error/question Unable to create credentials (oauth) for salesforce sandbox with custom domain What is the error message (if any)? error=redirect_uri_mismatch redirect_url_must_match_configuration I…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows

Why

Why use n8n to integrate AWS S3 with Salesforce

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship