AFI AFI

Capsule CRM

Estimated reading: 4 minutes Updated August 1, 2026

Capsule is a simple, focused CRM for small businesses. Advanced Form Integration creates organisations, people, opportunities, cases, and tasks in Capsule from your WordPress form submissions, so every lead capture or enquiry lands directly in your CRM pipeline.

What you’ll need

  • An active Capsule CRM account.
  • A Capsule API Authentication Token (see below).
  • The Advanced Form Integration plugin installed and activated.

Get your Capsule API token

Capsule authenticates API requests with a bearer token.

  1. Sign in to your Capsule account.
  2. Go to My Preferences → API Authentication Tokens → Generate New API Token.
  3. Copy the token.
  4. In WordPress, go to AFI → Settings → Capsule CRM.
  5. Click Add Account, paste the token, and give the account a name.
  6. Click Save.

Create the integration

  1. Go to AFI → Add New.
  2. Give the integration a name, for example Contact form to Capsule.
  3. Under Trigger, pick the form plugin and the specific form you want to listen on.
  4. Under Action → Platform, select Capsule CRM.
  5. In Task, choose Add Party, Opportunity, Case, Task.
  6. Pick the saved account in the Capsule CRM Account dropdown.
  7. Select an Owner/Team to assign records to.
  8. Check the entity types you want to create: Organisation, Person, Opportunity, Case, Task.
  9. Click Get Fields to load the relevant field mappings.
  10. Map your form fields onto the Capsule fields.
  11. Optional: open Conditional Logic to limit which submissions are sent.
  12. Click Save Integration.

Screenshot: AFI field-mapping screen with Capsule CRM fields visible

Tasks supported

Add Party, Opportunity, Case, Task

Creates one or more linked records in Capsule. The action works in order: organisation first (upsert by name), then person (upsert by email, linked to organisation), then opportunity (linked to person/organisation), then case (linked to party and opportunity), then task (linked to party). Each entity is only created if its required fields are mapped.

Organisation fields

Field Field key Notes
Name [Organization] org_name Required to create organisation
Phone / Email / Website org_phone etc.
Address fields org_address, org_city, org_state, org_zip, org_country
Social profiles org_twitter, org_linkedin, org_facebook

Person fields

Field Field key Notes
First Name [Person] person_firstName Required to create person
Last Name [Person] person_lastName
Email [Person] person_email Used for upsert matching
Phone fields person_workPhone, person_mobilePhone
Address fields person_address, person_city, etc.

Opportunity, Case, and Task fields

Opportunity requires a name and supports milestone, value, currency, probability, expected close date, and payment terms. Case requires a name. Task requires a description with optional due date and category.

Pro features

The Pro integration extends the free version with custom fields, tags, tracks, file attachments, and three additional tasks. Pro uses the same Capsule account connection.

Custom fields

Pro auto-loads all custom field definitions from Capsule for organisations, people, opportunities, and cases. Each field appears in the mapper by name.

Tags

Pro adds tag support for organisations, people, opportunities, and cases. Enter tags separated by commas.

Tracks

Pro can add records to Capsule tracks (workflows). Track IDs are listed in the field description, loaded from the Capsule API.

Additional Pro tasks

  • Add Note to Party: finds a party by email or name, attaches a note.
  • Add Tags to Existing Party: finds a party, merges new tags with existing ones, and saves.
  • Create Task: standalone task creation linked to an optional party.

Feature comparison

Feature Free Pro
Create/update organisation, person, opportunity, case, task
Standard fields
Party upsert by name/email
Custom fields (auto-loaded) No
Tags No
Tracks No
File attachments No
Add Note to Party No
Add Tags to Existing Party No
Standalone Create Task No

Conditional logic example

Only create opportunities when the form’s deal_value field is greater than 1000. Smaller submissions still create a person but skip the opportunity fields.

Troubleshooting

Nothing arrives in Capsule

Open AFI → Log and find the most recent entry. AFI stores the request and response, including any Capsule error messages.

Rate limited (HTTP 429)

Capsule limits at 4000 requests/hour. AFI automatically retries once on HTTP 429, honouring the Retry-After header.

Related docs