AFI AFI

JustCall

Estimated reading: 3 minutes Updated July 31, 2026

JustCall is a cloud phone system and sales dialer for sales and support teams. Advanced Form Integration creates Sales Dialer contacts in JustCall from your WordPress form submissions, so leads captured through your website appear directly in your dialer campaigns.

What you’ll need

  • An active JustCall account with Sales Dialer enabled.
  • A JustCall API Key and API Secret (see below).
  • The Advanced Form Integration plugin installed and activated.

Get your JustCall API credentials

  1. Sign in to your JustCall account.
  2. Go to Settings → Developer (API).
  3. Generate an API key + secret with Sales Dialer access.
  4. Copy both values.
  5. In WordPress, go to AFI → Settings → JustCall.
  6. Click Add Account, enter the API Key and API Secret, and give the account a name.
  7. Click Save.

JustCall uses a literal colon-separated key:secret as the Authorization header (not HTTP Basic Auth). AFI handles this automatically.

Create the integration

  1. Go to AFI → Add New.
  2. Give the integration a name, for example Lead form to JustCall Sales Dialer.
  3. Under Trigger, pick the form plugin and the specific form.
  4. Under Action → Platform, select JustCall.
  5. In Task, choose Create Contact (Sales Dialer).
  6. Pick the saved account in the JustCall Account dropdown.
  7. Map your form fields onto the JustCall fields listed below.
  8. Optional: open Conditional Logic to limit which submissions are sent.
  9. Click Save Integration.

Tasks supported

Create Contact (Sales Dialer)

Creates a Sales Dialer contact via POST /v2.1/sales_dialer/contacts. Name and phone number are required. The contact appears immediately in your JustCall Sales Dialer dashboard.

Field Field key Required Notes
Name name Yes Full name
Phone Number phone_number Yes E.164 format recommended (e.g. +14155551234)
Email email No
Occupation occupation No
Address address No
Birthday birthday No YYYY-MM-DD

Pro features

The Pro integration extends the free version with a custom fields repeater and Sales Dialer campaign assignment. Pro uses the same JustCall API key and secret connection.

Custom fields

Pro adds a table where you enter the exact custom field name configured in JustCall and the value or trigger tag. Custom fields are sent under JustCall’s custom_fields[] array, each as {name, value}.

Campaign assignment

Pro supports a campaign_id field to assign the contact to a specific Sales Dialer campaign on creation.

Feature comparison

Feature Free Pro
Create Sales Dialer contact
Standard fields (name, phone, email, occupation, etc.)
Custom fields No
Campaign assignment No

Conditional logic example

Only create Sales Dialer contacts for leads with a valid phone number. Add a condition on phone_number being not empty so incomplete submissions that lack a phone number are skipped.

Troubleshooting

Nothing arrives in JustCall

Open AFI → Log and find the most recent entry. AFI stores the request URL, JSON body, and raw response.

Sales Dialer not enabled

The contact creation task targets the Sales Dialer API endpoint. If your JustCall plan does not include Sales Dialer, the API will reject the request. Upgrade your JustCall plan or use a different task.

Authentication failed

Verify the API Key and API Secret in Settings → Developer (API). The credentials must have Sales Dialer access permissions.

Related docs