Sync Typeform with Salesforce to automatically map Typeform fields every time your typeform is submitted. This article explains how to create leads, accounts, opportunities, contacts or cases.
If you're an advanced user looking for a way to map your typeform to any object in Salesforce, this article is for you.
What you need:
- A Typeform Premium account
- A Salesforce account
- Administrator rights in your Salesforce account. If you’re not an admin, you’ll need to contact them to complete the installation
Installing the Typeform app in Salesforce.
1. Log in to your Typeform account, and open the typeform you wish to connect to Salesforce.
Now click on Connect, where you'll find a button to start the process:
Click Connect on the Salesforce panel. This will generate a link you need to paste into a new tab in your browser:
2. Log into your Salesforce account (if necessary) and you'll be prompted to start the installation process. Select which users you want to use the package. Click Install:
3. Next you’ll see a notification, explaining that the package works with Typeform’s API. If you’re okay with that, tick the check box, and click Continue:
4. Sit back and let Salesforce do its thing:
The installation is now complete:
Now you're ready to connect connect typeforms to Salesforce! Remember, only users you chose in step 2 will be able to do this.
Setting up the app in Salesforce
1. Click on the App Launcher icon, and select the Typeform app:
2. This will open the Typeform app. It consists of 3 main tabs: Admin, Forms and Errors. Go to the Admin tab. You’ll see the beginning of the setup wizard. Click Get Started:
3. The next screen requires you to link your Typeform account to Salesforce. Only one account can be linked, so if you’re working for a shared Typeform organization, make sure the forms you need are in shared workspaces your account has access to.
Click Connect to Typeform.
4. You’ll see a popup asking you to log into Typeform. Enter your login details.Then take note of the permissions Salesforce needs from Typeform, and click Accept.
The popup will close. If needed, refresh the page to ensure your Typeform account has been linked to Salesforce.
5. Next, you'll be taken through the Schedule section. This is where you define the frequency that you want Salesforce to pull the following from your Typeform account:
- the list of forms available to in your Typeform account
- sync the responses from these forms.
The data you collect from Typeform will be synced based on the settings you define now. To get that data, click Run Now on the relevant section:
6. To schedule this automatically, choose a schedule (either daily at a certain time, or hourly) and then click Schedule:
7. If you wish to stop or modify your automatic retrievals, you can always go back to that screen and click on Stop Job.
8. Click Next at the bottom of the screen. The following screens describe the permissions needed within Salesforce and how to customize the page layouts used by the app. Other than that, the app is ready to go!
Next up: mapping your typeforms to Salesforce objects.
Map a typeform to a Salesforce object
We're going to use a lead generation typeform as an example of how you can map them to Salesforce objects:
The heart of the Typeform app resides in the Typeform Forms tab. This is where, once synced, you can access the list of forms from your Typeform account, and start linking them to new Salesforce records.
1. Let’s click on a Form Number to start mapping questions to attributes:
2. If your forms already have mappings into Salesforce, they will appear on this page. You can select one to edit it. In this case, let’s create a new mapping. Click on New Typeform Mapping.
3. Select the object you want to create in Salesforce with this form’s responses. Then click Save & Create Mappings:
4. Select the attributes of a lead that you want to fill with each question, as shown here:
Note! The Matrix and Ranking question types in Typeform are currently not supported by this integration. The "other" option of the Multiple Choice question in Typeform is also not supported, and using it can cause the integration to stop working.
5. The Typeform app will help filter out any Salesforce fields that are incompatible, based on what the question types of the form.
Make sure that the mandatory fields of the object type you are creating are mapped to a question. In our example, the Lead object requires a last name, an email address and a company, so let’s make sure our form collects this information:
If you try to map a Typeform question that’s not mandatory to a mandatory Salesforce field, you’ll see a warning message, like below:
Tips! You can also map the email hidden field of your typeform to the email field in Salesforce.
6. Click New in the Static Field Mappings section to map a Salesforce field to a static field value. This way the Salesfore field always receives the same value when the typeform is submitted.
For example, the Lead Source Salesforce feed can be mapped to the My Landing Page or the Phone Inquiry static field values.
From now on, every time Salesforce runs the scheduled job (as you configured above), any new leads collected with your Typeform will be delivered as new leads to your Salesforce object!
Warning! You cannot update existing Salesforce contacts with this integration.