Inbound: Salesforce (GoldFinch)¶
This page tells you how to create an inbound integration that pulls GoldFinch records from Salesforce into a 3D table.
GoldFinch operates inside Salesforce. Its records are Salesforce objects with API names that start with GFERP__. For example, GFERP__Whse_Shipment__c holds warehouse shipments. The example on this page pulls warehouse shipments into a 3D table every hour.
Step A. Prepare Salesforce¶
3D signs in to Salesforce with the OAuth client credentials flow. The GoldFinch org uses this flow. Ask your Salesforce administrator to do these steps:
- Create a connected app (or an external client app) with OAuth enabled.
- Enable the client credentials flow on the app.
- Set the Run As user of the app to a dedicated integration user.
- Give that user API access.
- Give that user read access to each GoldFinch object and field that you want to pull.
- Copy the consumer key and the consumer secret of the app.
- Record the My Domain address of the org, for example
https://yourorg.my.salesforce.com. This address is the base URL.
Use a dedicated user
The permissions of the Run As user decide which records 3D can read. With a dedicated user, it is clear what 3D can see. Also, a permission change for a real person cannot break the integration.
Step B. Add the provider credential¶
-
Go to Integrations and click Provider credentials at the top.
The list shows each credential with its provider, the date of its last test, its expiry date and the integrations that use it.

The round-arrow button tests a credential. The pencil button edits it.
-
Click Add provider credential.
-
Complete the fields:
Field Value Provider Salesforce. Credentials name A name that people will recognise, for example GoldFinch Salesforce. Each name must be unique in the project. Authentication method Salesforce (client credentials). Consumer key From step A. Consumer secret From step A. Base URL The My Domain address of the org. Expires on Optional. Use it only if the secret has an expiry date. The daily digest gives a warning seven days before that date. 
The fields change with the authentication method that you select.
-
Click Save.
- Click the test button on the row of the credential. The result must be Connected.
You can also create the credential in the wizard, at the Credentials step. The form is the same.
Step C. Prepare the target table¶
The wizard writes into a table of the project. You can use a table that exists. Or, on the Destination step, you can click Propose a table from the sample to let 3D propose a table from a sample of the data.
If you use a table that exists, make sure that it has these columns:
- A record key column, of type text or integer. This column holds the identifier from the provider. For shipments, this identifier is the shipment number in
Name. 3D indexes the column, so it never inserts the same record two times. - One column for each field that you want to keep. Give each column a type that agrees with the data.
In this example, the table GoldFinch Shipments has the columns Record key, Customer, City and Country.
Step D. Use the inbound wizard¶
Click New inbound on the Integrations page. The wizard has seven steps, shown along the top.
The browser saves your progress at each step. 3D creates nothing on the server until step 7. To go back to a completed step, click it in the step bar.
1. Start¶
-
Select Build a custom integration.
If your Organisation has a GoldFinch setup saved as a provider connector, select Adopt a provider connector instead. The wizard then goes directly to the credentials and the mapping.
-
Set Provider to Salesforce.
- Give the integration a clear name, for example GoldFinch shipments.
- Click Next.

2. Credentials¶
- Select Use a provider credential this project already has.
- Select GoldFinch Salesforce.
- Click Test credentials. The line below the picker shows the address that 3D reads from.
- Continue when the result shows Connected and "The credentials were accepted."

If the test fails
The message tells you what the provider refused:
- "The credentials were not accepted." The key or the secret is incorrect. Or, the connected app does not have the client credentials flow or the Run As user.
- "The service was not found at the base URL." Nothing answered at that address. Examine the base URL.
- "Could not connect." The 3D server cannot connect to Salesforce.
To correct the credential, click Edit provider credential next to the test button. 3D tests the credential again when you save the change.
3. Request¶
This step sets the data that 3D asks Salesforce for.
| Field | Value |
|---|---|
| Object | The GoldFinch object, here Whse Shipment ยท GFERP__Whse_Shipment__c. The list shows only the objects that the integration user can query. |
| Fields | The fields to get. Include the field that you will use as the record key (Name). |
| Change-tracking field | The date field that each run compares, so that the run gets only the records that changed. Keep SystemModstamp. It also changes when an automation or a merge changes a record. |
| Filter | Optional. A SOQL WHERE condition, for example GFERP__Status__c = 'Released'. |
| Include deleted and merged records | Optional. The run also reads the Salesforce recycle bin. When a record is deleted in Salesforce, 3D flags the row. The row does not only disappear from the feed. |
Click Fetch sample. The result shows a green 200 OK, the number of sample records and the fields that 3D found. Expand First record, as received to see the raw data.

Follow-up requests are optional and are lower on the page. A follow-up request gets records that you can request only after you have the first set, for example the cartons of each shipment. Each follow-up request writes into its own linked table.
4. Destination¶
- Select Use an existing table.
- Select the target table.
- Set Record key, from the provider. Use
Name(the shipment number) orId(the Salesforce record id). - Set Record key, on the table to the Record key column.

Select the record key carefully
The record key decides if an incoming record is new or an update. If you change the record key later, 3D treats the data as a different dataset. The integration then starts again from the beginning.
5. Mapping¶
Connect each provider field to a target column. The record key row is locked, because you set it on the Destination step. To ignore a field, leave it on Not mapped - ignored. The tab shows how many fields have a mapping, for example "3 of 4".

A run never changes a column without a mapping. This includes columns that people complete by hand.
- If a field is not in a record, the run does not change the column.
- If Salesforce sends an empty value, the run makes the column empty.
6. Rules¶
Set the Schedule:
| Field | Value |
|---|---|
| Frequency | Hourly is a good start. The minimum interval is 15 minutes. |
| Time zone | The time zone of the schedule. A daily run then stays at the same local time when daylight saving time starts or stops. |
| What a scheduled run does | Write the changes, or Preview only. A preview prepares the changes but writes nothing. Use it until you trust the integration. |
| Overlap (minutes) | Each run starts this number of minutes before the end of the last run. A clock difference then cannot cause a lost record. Keep the value 5. |
The Safety checks are optional. Leave them blank at the start. The integration learns most limits from its own history after 3 good runs.
The panel on the right lists the fixed rules. For example, 3D matches records on the record key and never inserts a record two times. Also, 3D keeps the rows that are deleted in Salesforce.

The next run overwrites manual edits to mapped columns
If a person corrects a mapped column by hand in 3D, the next run writes the Salesforce value again. Correct the data in Salesforce. Or, remove the mapping from that column.
7. Review¶
- Examine the summary.
- Optional: switch on Save as a provider connector. Other projects in your Organisation can then use this setup again. 3D saves only the configuration. It does not save the secrets, the base URL or the table.
- Click Create inbound integration.

Step E. Preview, activate and run¶
3D creates the integration as a Draft and opens its page. The integration reads and writes no data until you do a preview or a run.
Do a preview¶
Click Preview. A preview gets the data from Salesforce and calculates each change, but it writes nothing.
When the preview ends, the Activity tab shows a row marked Preview with Would insert and Would update counts. Click the date to see the run in detail.

Activate¶
Click Activate. The confirmation shows the target table and the schedule. After you activate the integration, the schedule starts. The first scheduled run occurs at the next time slot.

Run it now (optional)¶
Run now is available only after you activate the integration. Before that, use Preview.
To load the data immediately, click Run now and confirm. The run shows on the Activity tab. At the end, its status is Applied, with the number of rows that it inserted and updated.


Examine the table¶
Open the target table under Tables. Each row that the integration added shows the integration as its source and creator. The history of the table records each change.

The first full load
The first run reads all the matching records, not only the latest changes. For a large GoldFinch object, do a preview first. Then examine its size on the Saved responses tab.
A very large load can need a higher storage limit per run on the server. Or, you can use a filter to load the data in parts. Speak to your 3D support contact before the first live run.