Teamwork
Teamwork is a project management platform. Advanced Form Integration sends form submissions to Teamwork, so every form entry on your WordPress site can create or update records automatically without manual data entry.
What you’ll need
- An active Teamwork account.
- An API key from Teamwork (see below).
- The Advanced Form Integration plugin installed and activated.
Get your Teamwork API key
Teamwork authenticates with an API key.
- Sign in to your Teamwork account.
- Navigate to the API or integrations section in your account settings.
- Generate or copy your API Key.
- In WordPress, go to AFI → Settings → Teamwork, click Add New Account, and paste the key.
Connect Teamwork to AFI
- In WordPress, go to AFI → Settings and open the Teamwork tab.
- Click Add New Account and paste the API key or token.
- Give the account a name you will recognise.
- Click Save.
Create the integration
- Go to AFI → Add New.
- Give the integration a name, for example
Form to Teamwork. - Under Trigger, pick the form plugin and the specific form you want to listen on.
- Under Action → Platform, select Teamwork.
- In Task, choose Create Task.
- Pick the saved account in the Teamwork Account dropdown.
- Map your form fields onto the Teamwork fields listed below.
- Optional: open Conditional Logic to limit which submissions are sent.
- Click Save Integration.
Tasks supported
Create Task
Creates a new task from the form submission.
| Field | Field key | Required | Notes |
|---|---|---|---|
| Company Name (required | name |
Yes | |
| Address Line 1 | address_one |
No | |
| City | city |
No | |
| Country Code (ISO-2 | country_code |
No | |
| Email Address | email_one |
No | |
| Phone | phone |
No | |
| Website (URL | website |
No | |
| Tasklist ID (required | tasklist_id |
No | |
| Task Name (required | name |
Yes | |
| Description | description |
No | |
| Priority (low / normal / high | priority |
No | |
| Assignee User ID (integer | assignee_id |
No | |
| Start Date (YYYY-MM-DD | start_date |
No | |
| Due Date (YYYY-MM-DD | due_date |
No |
Conditional logic example
Only send data to Teamwork 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 Teamwork
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.
API key rejected
Copy the key directly from Teamwork with no leading or trailing spaces. If the key was revoked or regenerated, update it in AFI → Settings → Teamwork.