Topics Map > Plugins

WiscWeb - Salesforce integration with Gravity Forms

The following document will walk you through how to set up your Gravity Forms form to send data to Salesforce "web to case" and "web to lead" forms.

Disclaimers

It is important to note that at this time, the integration of Gravity Forms to Salesforce will only work with the following types of Salesforce forms:

  • Web to Case
  • Web to Lead

Additionally, these instructions assume you have already set up a form in Gravity Forms with the same fields as exist in your Salesforce form.

Step 1: Plugin activation

In order to connect your Gravity Forms submissions to Salesforce, you will need to activate the UW Submit to Third Party plugin. 

This plugin can be activated by Administrators using the instructions in WiscWeb - Self service plugin activation / deactivation.

Step 2: Adding a Salesforce ID

In order for your Gravity Forms form submissions to submit to your Salesforce form, you will need to enter a Salesforce ID for that form into your Gravity Forms form settings: 

  1. Navigate to your Gravity Forms form
  2. Select the Form Settings link
  3. Scroll down and find the box that calls for a Salesforce ID
  4. Toggle this option on and paste in your Salesforce form ID into the text field
  5. To send data to a Salesforce testing (sandbox) environment, toggle the Submit Form Data to Salesforce Testing Domain option on.
    Note: The Salesforce Organization ID for your sandbox environment will be different from the ID used for your production environment. How to find your Salesforce ID

Step 3: Adding Salesforce field IDs

Once you've set your overarching Salesforce ID in the form settings, you can start connecting your individual Gravity Forms form fields to the field IDs from Salesforce:

  1. Navigate to your Salesforce form

  2. Copy the Field ID name for the field you'd like to connect to

  3. In Gravity Forms, locate the related field/question. Toggle to the Advanced settings and paste the ID into the Salesforce Form ID field

  4. Repeat these steps for each field in your form for which you'd like to connect to Salesforce

Multiple choice fields

To send data to Salesforce Picklist (Multi-Select) fields:

  1. Create a Salesforce field object with the data type Picklist (Multi-Select).
  2. Add the field values users can select.
  3. Create a related field in Gravity Forms.
  4. Add the same field values. Gravity Forms fields that support selecting multiple options are Multi-Select and Checkboxes.
  5. In the Advanced settings tab for the field add the Salesforce field ID.
  6. The selected values will populate a web to lead or web to case record in Salesforce as a text string with each selected value separated by a semicolon. Ex: - “option 1;option 2;option 3”.

Support

If you have questions relating to the steps for setup in Gravity Forms, please reach out via our Customer Support Form.

If you have questions relating to the steps for setup or maintenance of a Salesforce form, please reach out to your Salesforce org contact.

Troubleshooting

  • What if my custom or standard object is not accommodated?
    We are currently working with Salesforce groups all over campus to learn more about usage. There may be additional integration options added in the future.