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
- Open the WordPress dashboard and your form plugin, then click Add new form.
- Add the fields: name, email, phone and message.
- Publish the form and add it to a page.
Step 2 · Connect the form to CorporateStack CRM
This step depends on the plugin.
Option A · WPForms
- Edit the form and go to Settings → Integrations.
- Enable the Webhooks add-on and add a new webhook.
- Request URL: paste the API endpoint. Method: POST.
Option B · Contact Form 7
- Install a webhook plugin such as CF7 Webhooks.
- 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.
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 name | Description | Data type | Required |
|---|---|---|---|
firstName | Customer name | Text (string) | Yes |
email | Customer email | Email (string) | Yes |
mobile | Customer phone number | Number or text | Yes |
remarks | Message or notes | Text (string) | No |
Step 5 · Test the integration
- Open your website, fill the form with test data and submit it. You should see the form submit successfully.
- 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
| Symptom | Check |
|---|---|
| No lead appears in the CRM | The API URL is correct; the authorisation value is correct |
| Error during submission | The webhook method is POST |
| Data missing on the lead | The field names match the table above |
| Unauthorized error | The API key and the header key are exactly as provided |
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