Teamleader Focus
Teamleader is a business management platform. Advanced Form Integration sends form submissions to Teamleader, so every form entry on your WordPress site can create or update records automatically without manual data entry.
What you’ll need
- An active Teamleader account.
- A Teamleader OAuth2 app (see below).
- The Advanced Form Integration plugin installed and activated.
Create a Teamleader OAuth2 app
Teamleader uses OAuth2 for API access. You need to register an app to get a Client ID and Client Secret.
- Sign in to the Teamleader developer portal and create a new OAuth2 application.
- Copy the Redirect URI shown in the AFI Teamleader settings tab and paste it into the app’s allowed redirect URIs.
- Note the Client ID and Client Secret.
- Paste them in AFI → Settings → Teamleader and click Save & Authorize. After consent, AFI stores the token and refreshes it automatically.
Create the integration
- Go to AFI → Add New.
- Give the integration a name, for example
Form to Teamleader. - Under Trigger, pick the form plugin and the specific form you want to listen on.
- Under Action → Platform, select Teamleader.
- In Task, choose Create Contact.
- Pick the saved account in the Teamleader Account dropdown.
- Map your form fields onto the Teamleader fields listed below.
- Optional: open Conditional Logic to limit which submissions are sent.
- Click Save Integration.
Tasks supported
Create Contact
Creates a new contact record. The contact appears in your dashboard immediately.
| Field | Field key | Required | Notes |
|---|---|---|---|
| First Name (required | first_name |
Yes | |
| Last Name (required | last_name |
Yes | |
email |
Yes | ||
| Phone | phone |
No | |
| Mobile Phone | mobile |
No | |
| Language (2-letter ISO | language |
No | |
| Gender (male or female | gender |
No | |
| Street Address | address_line |
No | |
| Postal Code | postal_code |
No | |
| City | city |
No | |
| Country (ISO-2 | country |
No | |
| Company Name (required | company_name |
No | |
| VAT Number (e.g. BE0123456789 | vat_number |
No | |
email |
Yes | ||
| Phone | phone |
No | |
| Website | website |
No | |
| Street Address | address_line |
No | |
| Postal Code | postal_code |
No | |
| City | city |
No | |
| Country (ISO-2 | country |
No |
Conditional logic example
Only send data to Teamleader when the form’s email field is not empty, so test submissions or incomplete entries do not create records. Add a condition: Email is not empty.
Troubleshooting
Nothing arrives in Teamleader
Open AFI → Log and find the most recent entry for this integration. AFI stores the request it sent and the raw response it got back. If there is no log entry at all, the trigger never fired: re-check the form selection and submit a real test entry from the front end.
Connection lost
The OAuth2 token may have expired or been revoked. Return to AFI → Settings → Teamleader and click Re-authorize to refresh the connection.