Skip to content
Documentation Menu
WP connect > Gravity Forms to Odoo Documentation

Gravity Forms to Odoo Documentation

Thank you for purchasing our product!

This guide helps you integrate them using the Odoo for Gravity Forms Add-On, allowing automatic data transfer from Gravity Forms to Odoo without requiring third-party services.

Installation & Settings

  1. Download the plugin file to your computer.
  2. Log in to your WordPress dashboard.
  3. On the left-hand side menu, click on Plugins and then Add Plugin.
  4. Click the Upload Plugin button at the top of the page.
  5. Click the Choose File button and select the plugin file you downloaded in step 1.
  6. Click the Install Now button.
  7. Wait for the plugin to be installed, and then click the Activate Plugin button.
  8. Move to Settings of Gravity Forms and then click on Odoo.
  9. Now, enter your license key in the License Activation section, provide Odoo’s database information, and click the Save Settings button.

Generate Odoo API Key

In Odoo, go to My Databases and connect into your database, by clicking on connection button.

  1. Click on your name in the top right corner, then select the Preferences menu.
  1. Click on Account Security, then navigate to the API Keys section.
  2. Click Add New API Key button.
  3. Enter your password, then click Confirm Password.
  1. Type a short description or a name for your API Key and give a duration for the key’s validity by selecting a value in the drop-down list.
  2. Click on the Generate Key button.
  1. Save your API Key in a secure place.
  2. Click on the Done! button.

Add Odoo API Key to Gravity Forms

In the left-hand menu section of Gravity Forms, click on Settings menu.

  1. Click on Odoo menu.
  2. Check the Odoo’s database information.
  3. Now, copy your new API Key in the Odoo API key field.
  4. Enter the e-mail linked to the API key in Odoo User’s Email field.
  5. Click the Save Settings button.

📌 Note: after saving the settings, you should see “Authentication is successful”.

Create a feed

  1. Open the form you want to connect with your Odoo model.
  2. In the top, click on Settings > Odoo menu.
  3. In Odoo Feeds section, click on Add new button.
  4. Type a name for your feed in the Feed Name field.
  5. Select the model of your choice in the Model Name dropdown list.
  6. Click on Save Settings button.

Fields Mapping

Now that you have saved your settings while creating connection between Odoo and your form you will see in your feed Fields mapping section.

  1. In Odoo Fields Name, select a Odoo field present in your model.
  2. In Form field, select one of your form field present in your form.
  3. Click on the + button on the right to connect other Odoo fields with form fields.
  4. Repeat step 2 & 3.
  5. Click on Save Settings button.

Add Conditional Logic

You can finally add conditional logic, so only the contact information of those who meet specific conditions will be sent in Odoo table.

To create a condition, click Enable Condition option.

On the left, you can choose a field from your form and select the criteria that will activate sending to Odoo, for example:

→ Subject IS Commercial request

If you want add an additional condition, click on the + button.

Once you configurated your condition, click on Save Settings button.

Synchronization

As long as the feed is indicated as Active in the list of Odoo Feeds, when a form is completed by a user, the data entered are sent to the Odoo table chosen in this feed.

💡 To make a feed inactive, simply click on the Active button to switch to inactive mode.

Supported Fields and Models

Supported Gravity Forms fields

  • Single Line Text
  • Paragraph
  • Text
  • Drop Down
  • Number
  • Checkboxes
  • Radio Buttons
  • Name
  • Date
  • Time
  • Phone
  • Address
  • Website
  • Email
  • File
  • List
  • Multi select
  • Consent

    Supported Odoo models

    • Contacts

    Supported Odoo fields

    • Char
    • Text
    • Html
    • Selection
    • Date
    • Datetime
    • Boolean
    • Float
    • Integer
    • Binary
    en_US