# Establishing Salesforce Copy Environment Connection with N8N

**URL:** <https://community.n8n.io/t/establishing-salesforce-copy-environment-connection-with-n8n/210668>\
**Category:** Questions\
**Created:** [October 23, 2025, 8:28pm UTC](https://community.n8n.io/t/establishing-salesforce-copy-environment-connection-with-n8n/210668 "2025-10-23T20:28:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudesoria](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/rudesoria/32/131833_2.png) [@rudesoria](https://community.n8n.io/u/rudesoria)\
**Post date:** [October 23, 2025, 8:28pm UTC](https://community.n8n.io/t/establishing-salesforce-copy-environment-connection-with-n8n/210668/1 "2025-10-23T20:28:36Z")

</div>

This seems adjacent to the below topic, but different enough that I feel compelled to open a new thread.

> [@Option to connect to sandbox instance (Salesforce) \[GOT CREATED\]](http://community.n8n.io/t/option-to-connect-to-sandbox-instance-salesforce-got-created/6632):
>
> Continuing the discussion from [Problem loading parameters for salesforce](http://community.n8n.io/t/problem-loading-parameters-for-salesforce/5881/28):

**Problem**  
I’m trying to connect a Salesforce sandbox org using the Salesforce OAuth2 API credential in n8n, but when I click “Connect my account,” the OAuth flow redirects to [https://login.salesforce.com/](https://login.salesforce.com/) (Production) instead of my sandbox domain.  
My sandbox uses a My Domain URL: [https://vts--copy.sandbox.lightning.force.com/…](https://vts--copy.sandbox.lightning.force.com/%E2%80%A6)  
Because of this mismatch, I can’t complete the OAuth flow for the sandbox org—it either fails or tries to authenticate against the wrong environment.

Selecting “Sandbox” under the node config still points to [login.salesforce.com](http://login.salesforce.com)

Currentely on Version 1.116.2

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [January 21, 2026, 8:28pm UTC](https://community.n8n.io/t/establishing-salesforce-copy-environment-connection-with-n8n/210668/2 "2026-01-21T20:28:50Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
