# WhatConverts

> Work with your WhatConverts lead tracking: list, read, add and update leads from calls, forms, chats and emails, see your call tracking numbers and tracked web forms, and start a workflow when a new lead comes in.

App · 6 actions. Web page: https://docs.lodol.com/docs/integrations/whatconverts

## Actions

### Create lead

Add a lead to your WhatConverts profile, such as a form submission or call from another system. WhatConverts cannot delete a lead through its API, so it stays until you remove it in WhatConverts.

**Inputs**

- Lead type (`lead_type`, text, required): What kind of lead this is. One of: `web_form` (Web form), `phone_call` (Phone call), `chat`, `email`, `text_message` (Text message), `appointment`, `event`, `transaction`, `other`.
- Send email notification (`send_notification`, true/false): Turn on to have WhatConverts email its usual new lead notification.
- Date and time (`date_created`, date and time): When the lead happened. Leave empty for now.
- Email address (`email_address`, text): The lead's email address.
- Phone number (`phone_number`, text): The lead's phone number, with the country code, like +15555550123.
- Caller name (`caller_name`, text): The caller's name, for a phone call lead.
- Caller number (`caller_number`, text): The caller's phone number, with the country code, for a phone call or text message lead.
- Form name (`form_name`, text): The name of the form, for a web form lead.
- Message (`message`, text): What the lead wrote or said.
- Source (`lead_source`, text): Where the lead came from, such as google.
- Medium (`lead_medium`, text): The marketing medium, such as cpc or organic.
- Campaign (`lead_campaign`, text): The campaign that brought the lead.
- Content (`lead_content`, text): The ad content that brought the lead.
- Keyword (`lead_keyword`, text): The keyword that brought the lead.
- Page the lead happened on (`lead_url`, text): The address of the page.
- Landing page (`landing_url`, text): The address of the page the visitor arrived on.
- Quotable (`quotable`, text): Whether the lead can be quoted. One of: `yes`, `no`, `pending`, `not_set` (Not set).
- Quote value (`quote_value`, number): The value quoted to the lead, in your currency.
- Sales value (`sales_value`, number): The sales value the lead brought in.
- Call length (seconds) (`call_duration_seconds`, number): How long the call lasted, for a phone call lead. At least 0.
- Answer status (`answer_status`, text): Whether the call was answered, for a phone call lead. One of: `Answered`, `No Answer`, `Busy`.
- City (`city`, text): The lead's city.
- State (`state`, text): The lead's state or region.
- Zip code (`zip_code`, text): The lead's zip or postal code.
- Country (`country`, text): The lead's country.
- Additional fields (`additional_fields`, object): Your own names and values to keep on the lead, for example {"Company": "Acme"}.

**Outputs**

- `lead` (object): The lead

**Example output**

```json
{
  "lead": {
    "account": "Acme Co",
    "account_id": 124155,
    "additional_fields": {
      "Name": "Jo Bloggs"
    },
    "answer_status": "",
    "browser": "",
    "call_duration_seconds": 0,
    "caller_name": "",
    "caller_number": "",
    "city": "Austin",
    "contact_company_name": "",
    "contact_email_address": "jo@example.com",
    "contact_name": "Jo Bloggs",
    "contact_phone_number": "",
    "country": "US",
    "custom_fields": {},
    "date_created": "2026-11-18T19:57:03Z",
    "device_make": "",
    "device_type": "",
    "duplicate": false,
    "email_address": "jo@example.com",
    "form_name": "Contact us",
    "landing_url": "https://example.com/",
    "last_updated": "2026-11-18T19:57:03Z",
    "lead_campaign": "spring sale",
    "lead_content": "",
    "lead_id": 269910794,
    "lead_keyword": "plumber",
    "lead_medium": "cpc",
    "lead_score": 0,
    "lead_source": "google",
    "lead_state": "Completed",
    "lead_status": "Unique",
    "lead_type": "Web Form",
    "lead_url": "https://example.com/contact",
    "mapped_fields": {
      "Phone Number": null
    },
    "operating_system": "",
    "phone_number": "",
    "profile": "Acme Website",
    "profile_id": 180550,
    "quotable": "Not Set",
    "quote_value": 10,
    "sales_value": 0,
    "spam": false,
    "spotted_keywords": "",
    "state": "TX",
    "zip": "78701"
  }
}
```

### Get lead

Get one lead with its contact details, marketing source, values, and call or form details.

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's id, from 'List leads', 'Create lead' or an earlier step.

**Outputs**

- `lead` (object): The lead

**Example output**

```json
{
  "lead": {
    "account": "Acme Co",
    "account_id": 124155,
    "additional_fields": {
      "Name": "Jo Bloggs"
    },
    "answer_status": "",
    "browser": "",
    "call_duration_seconds": 0,
    "caller_name": "",
    "caller_number": "",
    "city": "Austin",
    "contact_company_name": "",
    "contact_email_address": "jo@example.com",
    "contact_name": "Jo Bloggs",
    "contact_phone_number": "",
    "country": "US",
    "custom_fields": {},
    "date_created": "2026-11-18T19:57:03Z",
    "device_make": "",
    "device_type": "",
    "duplicate": false,
    "email_address": "jo@example.com",
    "form_name": "Contact us",
    "landing_url": "https://example.com/",
    "last_updated": "2026-11-18T19:57:03Z",
    "lead_campaign": "spring sale",
    "lead_content": "",
    "lead_id": 269910794,
    "lead_keyword": "plumber",
    "lead_medium": "cpc",
    "lead_score": 0,
    "lead_source": "google",
    "lead_state": "Completed",
    "lead_status": "Unique",
    "lead_type": "Web Form",
    "lead_url": "https://example.com/contact",
    "mapped_fields": {
      "Phone Number": null
    },
    "operating_system": "",
    "phone_number": "",
    "profile": "Acme Website",
    "profile_id": 180550,
    "quotable": "Not Set",
    "quote_value": 10,
    "sales_value": 0,
    "spam": false,
    "spotted_keywords": "",
    "state": "TX",
    "zip": "78701"
  }
}
```

### List leads

List leads, newest first, with their contact, source, call or form details. Looks back 30 days unless you give a From date (WhatConverts alone returns only today), and gets one page; to see more, run it again with the next page number.

**Inputs**

- Lead type (`lead_type`, text): Only this kind of lead. Leave empty for every type. One of: `web_form` (Web form), `phone_call` (Phone call), `chat`, `email`, `text_message` (Text message), `appointment`, `event`, `transaction`, `other`.
- Lead status (`lead_status`, text): Only first-time (unique) or returning (repeat) leads. One of: `unique` (Unique (first time)), `repeat`.
- From date (`start_date`, date): Only leads created on or after this date. Leave empty for the last 30 days.
- To date (`end_date`, date): Only leads created on or before this date. At most 400 days after the start.
- Order (`order`, text): Sort by the date created. Defaults to newest first. One of: `desc` (Newest first (default)), `asc` (Oldest first).
- Quotable (`quotable`, text): Only leads marked this way. One of: `yes`, `no`, `pending`, `not_set` (Not set).
- Quote value (`quote_value`, text): Only leads that do, or don't, have a quote value. One of: `has_value` (Has a value), `no_value` (Has no value).
- Sales value (`sales_value`, text): Only leads that do, or don't, have a sales value. One of: `has_value` (Has a value), `no_value` (Has no value).
- Source (`lead_source`, text): Only leads from this source, such as google.
- Medium (`lead_medium`, text): Only leads from this medium, such as cpc.
- Campaign (`lead_campaign`, text): Only leads from this campaign.
- Keyword (`lead_keyword`, text): Only leads from this keyword.
- Email address (`email_address`, text): Only leads from this email address.
- Phone number (`phone_number`, text): Only leads from this phone number, with the country code, like +15555550123.
- Spam only (`spam`, true/false): Turn on to list only leads marked as spam.
- Duplicates only (`duplicate`, true/false): Turn on to list only leads marked as duplicates.
- Page size (`leads_per_page`, number): How many leads to return, 1 to 2500. The default is 25. From 1 to 2500.
- Page number (`page_number`, number): Which page to return, starting at 1. Check 'Has more' to see if another follows. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `has_more` (true/false): True if a later page exists
- `leads` (list): The leads in this page
- `page_number` (number): This page's number
- `total_leads` (number): How many leads match in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "leads": [
    {
      "account": "Acme Co",
      "account_id": 124155,
      "additional_fields": {
        "Name": "Jo Bloggs"
      },
      "answer_status": "",
      "browser": "",
      "call_duration_seconds": 0,
      "caller_name": "",
      "caller_number": "",
      "city": "Austin",
      "contact_company_name": "",
      "contact_email_address": "jo@example.com",
      "contact_name": "Jo Bloggs",
      "contact_phone_number": "",
      "country": "US",
      "custom_fields": {},
      "date_created": "2026-11-18T19:57:03Z",
      "device_make": "",
      "device_type": "",
      "duplicate": false,
      "email_address": "jo@example.com",
      "form_name": "Contact us",
      "landing_url": "https://example.com/",
      "last_updated": "2026-11-18T19:57:03Z",
      "lead_campaign": "spring sale",
      "lead_content": "",
      "lead_id": 269910794,
      "lead_keyword": "plumber",
      "lead_medium": "cpc",
      "lead_score": 0,
      "lead_source": "google",
      "lead_state": "Completed",
      "lead_status": "Unique",
      "lead_type": "Web Form",
      "lead_url": "https://example.com/contact",
      "mapped_fields": {
        "Phone Number": null
      },
      "operating_system": "",
      "phone_number": "",
      "profile": "Acme Website",
      "profile_id": 180550,
      "quotable": "Not Set",
      "quote_value": 10,
      "sales_value": 0,
      "spam": false,
      "spotted_keywords": "",
      "state": "TX",
      "zip": "78701"
    }
  ],
  "page_number": 1,
  "total_leads": 1,
  "total_pages": 1
}
```

### List tracked web forms

List the web forms WhatConverts tracks in your profile. Gets one page; to see more, run it again with the next page number.

**Inputs**

- Page size (`forms_per_page`, number): How many web forms to return, 1 to 250. The default is 25. From 1 to 250.
- Page number (`page_number`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `forms` (list): The web forms in this page
- `has_more` (true/false): True if a later page exists
- `page_number` (number): This page's number
- `total_forms` (number): How many web forms match in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "count": 1,
  "forms": [
    {
      "account_id": 124155,
      "attribute_type": "ID",
      "attribute_type_value": "contact_us",
      "form_id": 148099,
      "form_name": "Contact us",
      "profile": "Acme Website",
      "profile_id": 180550,
      "submit_attribute_type": "Class",
      "submit_attribute_type_value": "submit_button"
    }
  ],
  "has_more": false,
  "page_number": 1,
  "total_forms": 1,
  "total_pages": 1
}
```

### List tracking phone numbers

List the call tracking phone numbers in your profile, with the number they forward to, their trigger and whether calls are recorded. Gets one page; to see more, run it again with the next page number.

**Inputs**

- Page size (`numbers_per_page`, number): How many phone numbers to return, 1 to 250. The default is 25. From 1 to 250.
- Page number (`page_number`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `has_more` (true/false): True if a later page exists
- `numbers` (list): The phone numbers in this page
- `page_number` (number): This page's number
- `total_numbers` (number): How many phone numbers match in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "numbers": [
    {
      "account_id": 124155,
      "call_flow": "",
      "call_recording": true,
      "destination_number": 18112556580,
      "destination_number_iso_country": "US",
      "last_used": "2026-11-16T23:37:02Z",
      "medium": "",
      "messaging": true,
      "pending_activation": false,
      "phone_name": "Search Paid",
      "phone_number_id": 148099,
      "profile": "Acme Website",
      "profile_id": 180550,
      "source": "",
      "swap_number": 8112556580,
      "tracking_number": 16863152111,
      "tracking_number_iso_country": "US",
      "trigger": "Pool: All Traffic",
      "voice": true
    }
  ],
  "page_number": 1,
  "total_numbers": 1,
  "total_pages": 1
}
```

### Update lead

Change a lead's quotable status, quote value, sales value, page address or additional fields. Fields left empty are kept.

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's id, from 'List leads', 'Create lead' or an earlier step.
- Quotable (`quotable`, text): A new quotable status. Leave empty to keep it. One of: `yes`, `no`, `pending`, `not_set` (Not set).
- Quote value (`quote_value`, number): A new quote value. Leave empty to keep it.
- Sales value (`sales_value`, number): A new sales value. Leave empty to keep it.
- Page the lead happened on (`lead_url`, text): A new address for the page. Leave empty to keep it.
- Additional fields (`additional_fields`, object): Names and values to add or change on the lead, for example {"Company": "Acme"}. Other fields are kept.

**Outputs**

- `lead` (object): The lead

**Example output**

```json
{
  "lead": {
    "account": "Acme Co",
    "account_id": 124155,
    "additional_fields": {
      "Name": "Jo Bloggs"
    },
    "answer_status": "",
    "browser": "",
    "call_duration_seconds": 0,
    "caller_name": "",
    "caller_number": "",
    "city": "Austin",
    "contact_company_name": "",
    "contact_email_address": "jo@example.com",
    "contact_name": "Jo Bloggs",
    "contact_phone_number": "",
    "country": "US",
    "custom_fields": {},
    "date_created": "2026-11-18T19:57:03Z",
    "device_make": "",
    "device_type": "",
    "duplicate": false,
    "email_address": "jo@example.com",
    "form_name": "Contact us",
    "landing_url": "https://example.com/",
    "last_updated": "2026-11-18T19:57:03Z",
    "lead_campaign": "spring sale",
    "lead_content": "",
    "lead_id": 269910794,
    "lead_keyword": "plumber",
    "lead_medium": "cpc",
    "lead_score": 0,
    "lead_source": "google",
    "lead_state": "Completed",
    "lead_status": "Unique",
    "lead_type": "Web Form",
    "lead_url": "https://example.com/contact",
    "mapped_fields": {
      "Phone Number": null
    },
    "operating_system": "",
    "phone_number": "",
    "profile": "Acme Website",
    "profile_id": 180550,
    "quotable": "Yes",
    "quote_value": 10,
    "sales_value": 99.5,
    "spam": false,
    "spotted_keywords": "",
    "state": "TX",
    "zip": "78701"
  }
}
```
