Salesforce
Mit dem Salesforce-Konnektor können Sie eine Verbindung zu Salesforce in Designer herstellen.
Salesforce is available as a data source in the Input Data tool and Output Data tool, and as the standalone Salesforce Input and Salesforce Output tool.
Neue Konnektorversion in Designer
Der Salesforce-Konnektor ist jetzt Teil der Alteryx One-Konnektoren. Lesen Sie sich die Informationen auf dieser Seite sorgfältig durch, um sicherzustellen, dass Sie die entsprechenden Tools richtig verwenden.
Wenn Sie den Salesforce-Konnektor in Ihren Designer-Workflows aktualisieren möchten, können Sie das Hilfsprogramm für Workflow-Migration verwenden.
Details zum Salesforce-Konnektor
Salesforce ist in Designer 2025.2 Patch 3 oder höher als Datenquelle für das Eingabedaten-Tool verfügbar. Erfahren Sie mehr über die Dateityp-Optionen unter [links].
Prerequisites
Ensure you have completed the following prerequisites before proceeding:
Requirement | Detail |
|---|---|
Designer version |
|
Custom app (OAuth 2.0) setup, if used | A Salesforce Connected App with Client ID, Client Secret, Redirect URI (must match the connected app) and scope |
Environment URL | Production (default), Sandbox or, Custom domain |
DCM | You must enable DCM in Designer. Go to Options > Advanced Settings > DCM to enable it |
Konnektor installieren
Sie können die neueste Version des Salesforce-Konnektors ganz einfach über die Add-ons in Designer installieren. Wenn Sie Konnektoren auf diese Weise installieren, müssen Sie Alteryx Marketplace nicht besuchen.
So installieren Sie den Konnektor:
Gehen Sie in Designer auf Add-ons > Marketplace-Add-ons verwalten.
Designer öffnet ein Fenster mit einer Liste der verfügbaren Konnektoren.
Geben Sie Salesforce in die Suchleiste ein.
Verbindung mit dem DCM einrichten
So verbinden Sie Salesforce mit dem DCM:
Ziehen Sie das Eingabedaten- oder Datenausgabe-Tool aus der Tool-Palette auf den Canvas und wählen Sie es aus.
Wenn Sie bereits eine Google Drive-Verbindung erstellt haben, können Sie Datenquellen > Salesforce > Schnellverbindung auswählen und mit Schritt 12 fortfahren.
If you've created a Salesforce connection before, you can select the connection from the Recents tab.
Select + New. From the list of technologies, select Salesforce.
Wählen Sie im Fenster Datenverbindungen die Option Datenquellen aus.
Select +New.
Specify the connection name and the data source name. Select the Environment.
In the Credentials section, select your authentication method, and enter the credential name. For more information, see Authentication Methods.
Wählen Sie Speichern aus. Sie haben auch die Möglichkeit, die Verbindung vor dem Speichern zu testen.
Wählen Sie Verbinden aus. Salesforce kann eine Authentifizierung anfordern.
Wählen Sie im Dateiauswahl-Fenster die Datei aus, aus der Sie lesen oder in die Sie schreiben möchten.
Wählen Sie im Fenster Optionen die Lese- oder Schreibkonfiguration aus.
Wählen Sie Bestätigen, um eine Verbindung zur Datei herzustellen. Anschließend können Sie mit der Erstellung Ihres Workflows fortfahren.
Input and Output Tools
The Salesforce Input and Output tools are used to read from and write to Salesforce.
Salesforce Input
Salesforce Input reads standard and custom objects. You can read in three ways:
Query Builder: Pick an object and select the fields you want to read. The field picker offers a multiselect list with Select All, search by string or substring, a live count of selected versus total fields, and a filter to show only what's selected. A record limit can also be set. Four field modes are available: Read all Standard Fields, Read all Custom Fields, Read all Fields, and Choose Manually.
Custom Query (SOQL): Write a SOQL query to read standard and custom objects, including
__rrelationship fields, then validate it before running. A custom query always returns a single table.Read from Report: Browse and search saved reports, select one report, and parse its results.
Salesforce Output
Salesforce Output writes rows to a standard or custom object. Choose an action:
Insert: Add new records.
Update: Modify existing records. Requires the Salesforce record ID.
Delete: Remove records. Requires the Salesforce record ID.
Upsert: Insert new records and update existing ones in a single action.
Output processes records in batches and lets you choose the Salesforce API version. When you use Update, Delete, or Upsert, include the record ID as the primary key in your data.
Object Model
Salesforce stores data in objects, which behave like database tables:
Standard objects are built in, for example Account, Contact, Lead, Opportunity, Case, Campaign, Task, Event, and User.
Custom objects are created in your org and end with
__c, for exampleInvoice__c.Relationship fields between objects use the
__rsuffix and can be referenced in SOQL.
Authentifizierungsmethoden
Salesforce unterstützt…
Method | Required Fields | Desktop (Flagship) | Cloud (Alteryx One) |
|---|---|---|---|
Built-in app (OAuth 2.0) | None | Yes | Not available (built-in connection creation is not offered on Cloud) |
Custom app (OAuth 2.0) | Client ID, Client Secret, Redirect URI (default | Yes | Yes |
Salesforce Credentials (username, password, security token) | Username, Password, Security Token (optional), Client ID, Client Secret | Yes | Yes |
Custom domain across all methods | NA | Yes | Not available (custom domain is not supported for all methods on Cloud) |
OAuth supports both the Authorization Code flow (user to app) and the Client Credentials flow (service principal, for headless or scheduled automation).
Migration to Unified Connector
If you already use the Salesforce connector in Alteryx, read the section below. It walks through what has been changed in the unified version.
Parameter | Legacy Connector | Unified Connector (v6.1.0) |
|---|---|---|
Platforms and Tools | Desktop (Input and Output) Cloud (Input only) | Desktop (Input and Output) Cloud (Input and Output, in progress) |
Framework | Python SDK (Desktop) CData ODBC driver (Cloud) | EACD framework (Desktop and Cloud) |
Communication / API | Salesforce API v52 (Summer '21) | Salesforce API v61+ (Summer '24) |
Auth methods | OAuth 2.0 Username + Password + Security Token | Same methods, with expanded configuration |
Connection model | Separate Production / Sandbox / Custom URL choices | DCM, with a single Environment URL field |
Key Changes
Production, Sandbox, and Custom URL dropdown options have been replaced by a single Environment URL field. Reconfigure any workflow that used this dropdown.
Environment URL replaces the old dropdown:
https://login.salesforce.com(production, default),https://test.salesforce.com(sandbox), or your custom domain.Salesforce Credentials authentication now also requires Client ID and Client Secret.
On Desktop, custom domains now work with all authentication methods (previously OAuth only).
Existing workflows can be migrated using the Alteryx Workflow Migration Utility in Designer 2025.2 Patch 3 or later. For more information, see workflow migration utility.
Anmerkung
The migration utility is available on Desktop only.
After installing the unified connector, you may see both the legacy and unified Salesforce technologies listed in Manage Connections. This is expected during the transition. Use the unified connector for any new work.
Limitations
The connector does not support a dry run for reads or custom queries. Run the workflow to retrieve data, or use the SOQL validation step to check a custom query before running.
For objects with more than 200 fields, the Read all Custom Fields and Read all Fields modes fail. Use Choose Manually to pick the fields you need, or write a SOQL Custom Query that lists specific fields.
A SOQL Custom Query always returns one table. To combine data from multiple objects, join them within the SOQL query, or use multiple Input tools and blend the results in the workflow.
Read from Report supports selecting a single Report per Input tool. To read multiple reports, use multiple input tools.
The connector uses the Salesforce REST API. The Salesforce Bulk API is not yet supported. For very large reads or writes, expect REST API throughput and Salesforce API limits to apply.
The object and field data preview is available on Cloud but not on Desktop. On Desktop, configure fields using the Query Builder field list or a SOQL query.
On Cloud, custom domain support across all authentication methods is not available. Use a supported method for your Cloud connection, or connect from Desktop where custom domain works with all methods.
The workflow migration utility runs on Desktop only.
On Cloud, the built-in app connection creation flow is not offered. Use a Custom OAuth app or Salesforce Credentials on Cloud.
The datatypes produced from the same object can differ between Cloud and Desktop.
On Cloud, loading a dataset can fail for some objects. If a specific object does not load, try a SOQL Custom Query for that object or reduce the selected fields.
The connector is generally available on Desktop. Cloud support is in progress and not yet generally available.
Kompatibilität mit Designer (noch klären)
Konnektor-Version xxxx.x.x.xxxxx | |
|---|---|
ID | Beschreibung |
JIRA-ID |
|
Verbindungstyp | Alteryx-Tools. Die aktuellste Version ist im Alteryx Marketplace verfügbar. |
Typ der Unterstützung | Lesen und Schreiben |
Validiert am | ODBC Client Version 2.2.20 ist auch für die Dateneingabe- und -ausgabe-Tools verfügbar. |
Version | Beschreibung |
|---|---|
v5.1.4 |
|
v5.1.3 |
Bekannte Probleme
|
v5.1.2 |
|
v5.1.1 |
Bekannte Probleme
|
v5.1.0 |
|
v5.0.10 |
Bekannte Probleme
|
v4.2.4 |
|
v4.1.0 |
|
v4.0.0 |
|
v3.1 |
|
Version | Beschreibung |
v1.3.1 |
|
v1.3 |
|
v1.2 |
|
Anmerkung
Make sure you have the AMP engine enabled for the workflows which contain the Salesforce Input tool version 2.2.0 and later.
To setup a custom API application for this tool, see this guide.
If you want to process a PAC file that routes requests through multiple proxy IPs, use security tokens.
Benutzerdefinierte Salesforce-Domains
Die Salesforce-Tools unterstützen benutzerdefinierte Salesforce-Domains.
So stellen Sie manuell eine Verbindung zu einer benutzerdefinierten Domain her:
Wählen Sie im Konfigurationsfenster der Salesforce-Tools die Option Benutzerdefinierte Umgebungs-URL verwenden aus.
Geben Sie Ihre benutzerdefinierte Domain bei Benutzerdefinierte Umgebung ein.
So stellen Sie über den DCM eine Verbindung zu einer benutzerdefinierten Domain her:
Wählen Sie Verbindung einrichten aus. Der DCM wird geöffnet.
Wählen Sie +Neu aus. Das Fenster „Neue Datenquelle“ öffnet sich. Die Salesforce-Technologie ist bereits ausgewählt.
Wählen Sie unter Umgebung die Option Benutzerdefiniert aus.
Geben Sie Ihre benutzerdefinierte Domain bei Benutzerdefinierte Umgebung ein.