Salesforce
Connect Salesforce with fynk and fill templates with data from accounts, contacts and opportunities.
Written By Sebastian
Last updated 9 days ago
Connect Salesforce to fill your fynk templates with data from Salesforce, so you don't have to copy names, addresses and deal values by hand.
Available on Essential, Business and Pro · fynk: Owner and Admin · Salesforce: System Administrator, or permission to use App Manager
Set up the connection
In fynk, go to Account settings → API integrations, click Configure on the Salesforce tile and copy the Redirect url.
In Salesforce, go to Setup → App Manager → New App → New External Client App. Enter an app name and contact email.
Under OAuth Settings:
Check Enable OAuth Settings.
Paste the fynk Redirect url as Callback URL.
Add the scopes Manage user data via APIs (api) and Perform requests at any time (refresh_token, offline_access).
Under Security, leave Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows enabled. Salesforce requires this setting for new apps and it cannot be disabled. Uncheck Require Secret for Web Server Flow.
Save. It can take up to 10 minutes until the app is ready.
In App Manager, open your app, open the Settings tab, expand OAuth Settings, click Consumer Key and Secret and copy the Consumer Key and Consumer Secret. Salesforce may ask you to verify your identity first.
In fynk, enter the Consumer key, Consumer secret and Custom domain (your Salesforce domain, for example https://your-company.my.salesforce.com/) and click Save.

You're redirected to Salesforce to give fynk the necessary permissions. Review the requested permissions and, if you initiated the connection and trust the app, click Allow. You're redirected back to fynk.

Salesforce connection settings.
Existing connections: If you already connected Salesforce to fynk, no action is required due to this change.
Reconnect after inactivity: If the integration is not used for 30 days, Salesforce expires the refresh token. To continue using the integration, connect Salesforce again in fynk under Account settings → API integrations.
Map Salesforce data in a template
Open a template and go to the Data Mapping tab.
Select Salesforce as the data source and map fields from contacts, accounts or opportunities to dynamic fields.
Link parties in the Parties tab and, optionally, metadata in the Metadata tab.
Create a document
Click Create and choose the Salesforce-linked template.
Enter the name of the Salesforce record.
Click Create document. The data is filled in.
To update the data later, click Reload Data in the document sidebar.
Watch: Example: a configured sales and legal workflow · English · Excerpt 0:24–1:35
Editing restrictions and legal approval depend on the configured roles, template settings and checkpoints. The video shows one example, not universal Sales or Legal permissions.
Good to know
In Data Mapping, you can set a document name. Otherwise the template name is used. Which fields you can map depends on the data source you select.
Linking metadata to Salesforce fields helps with exports, reports and analyses.
Data flows from Salesforce to fynk only. Nothing is written back to Salesforce.
Documents are created from fynk, not triggered from Salesforce.
Dynamic pricing tables can pull product and pricing data from Salesforce. See Dynamic pricing tables.