WordPress is the most accessible and possibly the most commonly used CMS in the world. Quick installation, massive community, tons of themes and plugins and enhancement platform makes WordPress the strongest candidate in the CMS world.
Odoo is also becoming the most Popular Opensource Enterprise application. with Odoo One can run their business being pro. Odoo can manage Marketing, CRM, Sales, Purchase, Manufacturing, Accounting, HR, eCommerce. it is so easy to extend Odoo for your business domain.
Heliconia website is also running on WordPress, and using Contact form 7 on its contact form, We wanted to automate the process of creating leads on Odoo CRM from the WordPress contact form and we found this easy way.
When you install contact form 7 plugin into WordPress website, you need to define the contact form (you can use the default) and email which receives the notification when someone fills and sends the form. suppose that email is firstname.lastname@example.org.
How to create leads on Odoo CRM from WordPress contact form?
In Odoo you need setup incoming mail server. for that first, you need to activate developer mode. after that you can traverse the menu from Settings> Technical > Email> Incoming mail servers.
Create a new record and fill the information of your mail account
in the incoming mail server record, we have used the create new record field to create lead and opportunity record. This setup is using Fetch mail service scheduler which runs every five minutes to fetch the mail from the email account defined.
How WordPress Contact form creates leads in Odoo CRM?
Let’s understand the process with an example. Suppose user lands on the contact form with a query of Odoo service, He fills the WordPress contact form and clicks on the send button. because of the contact form configuration, the mail will be sent to the email@example.com. now in odoo, the scheduler is running every five minutes to fetch the emails from the firstname.lastname@example.org, so when the incoming mail server finds a new mail on the mail inbox it creates a new record for the Odoo CRM Lead automatically which fills required field in the Odoo.
It is too easy to automate and create a lead in Odoo CRM using WordPress contact form without doing a line of coding due to the two most powerful opensource framework.