Dubai · Riyadh · Bahrain · Cairo · AmmanEN · AR

Website form to CRM · WordPress, WPForms and Contact Form 7Send website form submissions straight into the CRM.

When a visitor fills a form on your website, the data goes to CorporateStack CRM and a lead is created automatically. No manual entry, no lost enquiries, every lead in one place. This guide covers WPForms and Contact Form 7; any form plugin with webhooks works the same way.

Prerequisites

  • A working WordPress website and access to its dashboard.
  • A form plugin such as WPForms or Contact Form 7, or any plugin that can send a webhook.
  • Access to your CorporateStack CRM account.
  • The API details provided by CorporateStack: the API URL (endpoint) and the authorisation header (API key or token).

Step 1 · Create a form in WordPress

  1. Open the WordPress dashboard and your form plugin, then click Add new form.
  2. Add the fields: name, email, phone and message.
  3. Publish the form and add it to a page.
What you should see: the form visible on your website.

Step 2 · Connect the form to CorporateStack CRM

This step depends on the plugin.

Option A · WPForms

  1. Edit the form and go to Settings → Integrations.
  2. Enable the Webhooks add-on and add a new webhook.
  3. Request URL: paste the API endpoint. Method: POST.

Option B · Contact Form 7

  1. Install a webhook plugin such as CF7 Webhooks.
  2. Edit the form, open the webhook settings, and add the API URL with method POST.

Step 3 · Add the authorisation header

In the webhook settings, find the Headers section and add a header with the key Authorization and, as its value, the API key provided by CorporateStack.

Important: copy the value exactly as provided, with no extra spaces.

Step 4 · Map the form fields

Map each form field to the CRM field it fills, for example name to firstName, email to email, phone to mobile.

API fields

Use the exact field names, types and required flags below when sending data to the CRM.

Field nameDescriptionData typeRequired
firstNameCustomer nameText (string)Yes
emailCustomer emailEmail (string)Yes
mobileCustomer phone numberNumber or textYes
remarksMessage or notesText (string)No
Adding fields? If you add new fields to your form, contact support to confirm the correct field name and format.

Step 5 · Test the integration

  1. Open your website, fill the form with test data and submit it. You should see the form submit successfully.
  2. Log in to CorporateStack CRM and open Leads. You should see a new lead with your test data.

Expected result: from now on every form submission creates a new lead in CorporateStack CRM.

Common mistakes and how to fix them

SymptomCheck
No lead appears in the CRMThe API URL is correct; the authorisation value is correct
Error during submissionThe webhook method is POST
Data missing on the leadThe field names match the table above
Unauthorized errorThe API key and the header key are exactly as provided
Need a hand?

Support sets it up with you

If you face any issue during the setup, write to the support team with your website and form plugin, or open a ticket from the portal, and a consultant walks the steps with you.

Contact support