# Qualified

> Pull your Qualified leads, website visits, chats, meetings and emails, and send lead and company data back.

App · 18 actions. Web page: https://docs.lodol.com/docs/integrations/qualified

## Actions

### Create or update company

Add a company, or update the company with this domain, setting account-level fields every lead on that domain shares.

**Inputs**

- Domain (`domain`, text, required): The company's website domain, such as acme.com. A company with this domain is updated; otherwise one is created.
- Name (`name`, text): The company's name.
- Custom fields (`fields`, object): Account-level custom field values keyed by field API name, as List company fields shows them.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "createdAt": "2026-03-01T12:00:00Z",
    "domain": "acme.com",
    "fields": {
      "account_tier": "Enterprise"
    },
    "id": "co_4Tq9Wx",
    "name": "Acme",
    "updatedAt": "2026-11-28T09:15:00Z"
  }
}
```

### Create or update lead

Add a lead, or update the lead with this email, setting only the custom fields you give.

**Inputs**

- Email (`email`, text, required): The person's email address. A lead with this email is updated; otherwise one is created.
- Custom fields (`fields`, object): Custom field values keyed by field API name, as List lead fields shows them, such as {"job_title": "VP Marketing"}.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "createdAt": "2026-11-20T15:04:05Z",
    "eloquaContactId": "88412",
    "email": "jordan.lee@acme.com",
    "fields": {
      "company_size": "201-500",
      "job_title": "VP Marketing"
    },
    "hubspotContactId": "51",
    "id": "ld_8fK2pQ",
    "marketoLeadId": "1043221",
    "pardotProspectId": "48213377",
    "salesforceContactId": "0035f00000AbCdEAAV",
    "salesforceLeadId": "00Q5f000004XyZaEAK",
    "updatedAt": "2026-11-28T09:12:44Z",
    "visitorIds": [
      "vs_3Hd8Lm"
    ]
  }
}
```

### Delete personal data

Ask Qualified to erase everything it holds about these email addresses, for a privacy (GDPR) request.

**Inputs**

- Emails (`emails`, list, required): The email addresses to erase, up to 5,000. Every one must be a valid address.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "message": "GDPR deletion request received"
  }
}
```

### Get conversation

Get one chat conversation.

**Inputs**

- Conversation ID (`conversation_id`, text, required): The conversation's Qualified ID, from List conversations.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": {
      "createdAt": "2026-11-28T14:05:02Z",
      "endedAt": "2026-11-28T14:12:47Z",
      "experienceName": "Pricing page Piper",
      "id": "cv_5Pz1Ka",
      "meetingIds": [
        "mt_2Lx6Qe"
      ],
      "sessionId": "se_7Nn2Rt",
      "userId": "us_9Qa4Hb",
      "visitorId": "vs_3Hd8Lm"
    }
  }
}
```

### Get email

Get one email Qualified sent, with its engagement.

**Inputs**

- Email ID (`email_id`, text, required): The email's Qualified ID, from List emails.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": {
      "body": "Hi Jordan, thanks for chatting with us today.",
      "bounceType": "soft_bounce",
      "bouncedAt": "2026-11-28T15:00:05Z",
      "campaignName": "Demo follow-up",
      "clickedAt": "2026-11-28T15:21:10Z",
      "createdAt": "2026-11-28T14:59:58Z",
      "id": "em_6Yr3Js",
      "leadId": "ld_8fK2pQ",
      "mailingType": "agent",
      "openedAt": "2026-11-28T15:20:00Z",
      "parentEmailId": "em_6Yr3Jr",
      "provider": "gmail",
      "recipientEmail": "jordan.lee@acme.com",
      "repliedAt": "2026-11-28T16:02:00Z",
      "senderEmail": "piper@acme-saas.com",
      "sentAt": "2026-11-28T15:00:00Z",
      "status": "sent",
      "subject": "Following up on your demo",
      "updatedAt": "2026-11-28T16:02:00Z"
    }
  }
}
```

### Get lead

Get one lead with its custom fields and visitor IDs.

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's Qualified ID, from List leads.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": {
      "createdAt": "2026-11-20T15:04:05Z",
      "eloquaContactId": "88412",
      "email": "jordan.lee@acme.com",
      "fields": {
        "company_size": "201-500",
        "job_title": "VP Marketing"
      },
      "hubspotContactId": "51",
      "id": "ld_8fK2pQ",
      "marketoLeadId": "1043221",
      "pardotProspectId": "48213377",
      "salesforceContactId": "0035f00000AbCdEAAV",
      "salesforceLeadId": "00Q5f000004XyZaEAK",
      "updatedAt": "2026-11-28T09:12:44Z",
      "visitorIds": [
        "vs_3Hd8Lm"
      ]
    }
  }
}
```

### Get meeting

Get one meeting with its current status and attendees.

**Inputs**

- Meeting ID (`meeting_id`, text, required): The meeting's Qualified ID, from List meetings.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": {
      "attendees": [
        {
          "email": "sam.rivera@acme-saas.com",
          "name": "Sam Rivera",
          "organizer": true,
          "owner": true
        },
        {
          "email": "jordan.lee@acme.com",
          "name": "Jordan Lee",
          "organizer": false,
          "owner": false
        }
      ],
      "channel": "Chat",
      "conversationId": "cv_5Pz1Ka",
      "createdAt": "2026-11-28T14:10:00Z",
      "id": "mt_2Lx6Qe",
      "meetingTypeName": "Product demo",
      "sessionId": "se_7Nn2Rt",
      "status": "booked",
      "updatedAt": "2026-11-28T14:10:00Z",
      "visitorId": "vs_3Hd8Lm"
    }
  }
}
```

### Get message

Get one chat message.

**Inputs**

- Message ID (`message_id`, text, required): The message's Qualified ID, from List messages.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": {
      "conversationId": "cv_5Pz1Ka",
      "createdAt": "2026-11-28T14:05:02Z",
      "id": "ms_1Wd7Fc",
      "senderName": "Piper",
      "senderType": "ai_profile",
      "text": "Hi! Want to see how teams like yours book more meetings?",
      "type": "text"
    }
  }
}
```

### Get session

Get one website visit with its pages, conversations and meetings.

**Inputs**

- Session ID (`session_id`, text, required): The session's Qualified ID, from List sessions.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": {
      "conversationIds": [
        "cv_5Pz1Ka"
      ],
      "createdAt": "2026-11-28T14:02:11Z",
      "endedAt": "2026-11-28T14:19:40Z",
      "id": "se_7Nn2Rt",
      "meetingIds": [
        "mt_2Lx6Qe"
      ],
      "pageViews": [
        {
          "baseUrl": "https://www.acme-saas.com/pricing",
          "createdAt": "2026-11-28T14:02:11Z",
          "endedAt": "2026-11-28T14:06:30Z",
          "referrer": "https://www.google.com/",
          "utmCampaign": "q4-pipeline",
          "utmContent": "ad-a",
          "utmMedium": "cpc",
          "utmSource": "google",
          "utmTerm": "chat software"
        }
      ],
      "userAgent": {
        "deviceType": "desktop",
        "string": "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_6) AppleWebKit/605.1.15"
      },
      "visitor": {
        "eloquaContactId": "88412",
        "email": "jordan.lee@acme.com",
        "fields": {
          "job_title": "VP Marketing"
        },
        "hubspotContactId": "51",
        "marketoLeadId": "1043221",
        "pardotProspectId": "48213377",
        "salesforceContactId": "0035f00000AbCdEAAV",
        "salesforceLeadId": "00Q5f000004XyZaEAK"
      },
      "visitorId": "vs_3Hd8Lm"
    }
  }
}
```

### List company fields

List the account-level custom fields companies have, with their API names and types.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "2025-04-02T10:00:00Z",
        "id": "fd_accoun",
        "label": "Account tier",
        "name": "account_tier",
        "options": [
          {
            "label": "201 to 500",
            "value": "201-500"
          }
        ],
        "type": "picklist",
        "updatedAt": "2026-06-11T08:30:00Z"
      }
    ]
  }
}
```

### List conversation messages

List the messages of one conversation, newest first, to read its transcript.

**Inputs**

- Conversation ID (`conversation_id`, text, required): The conversation's Qualified ID, from List conversations.
- Sent on or after (`created_after`, date and time): Only messages sent at or after this time.
- Sent on or before (`created_before`, date and time): Only messages sent at or before this time.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "conversationId": "cv_5Pz1Ka",
        "createdAt": "2026-11-28T14:05:02Z",
        "id": "ms_1Wd7Fc",
        "senderName": "Piper",
        "senderType": "ai_profile",
        "text": "Hi! Want to see how teams like yours book more meetings?",
        "type": "text"
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```

### List conversations

List one page of chat conversations visitors had with a rep, bot or the AI agent, newest first.

**Inputs**

- Ended on or after (`ended_after`, date and time): Only conversations that ended at or after this time. It must be at least 30 minutes ago.
- Ended on or before (`ended_before`, date and time): Only conversations that ended at or before this time. It must be at least 30 minutes ago.
- Visitor ID (`visitor_id`, text): Only conversations from this visitor (one browser or device). A lead's visitor IDs are on the lead.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "2026-11-28T14:05:02Z",
        "endedAt": "2026-11-28T14:12:47Z",
        "experienceName": "Pricing page Piper",
        "id": "cv_5Pz1Ka",
        "meetingIds": [
          "mt_2Lx6Qe"
        ],
        "sessionId": "se_7Nn2Rt",
        "userId": "us_9Qa4Hb",
        "visitorId": "vs_3Hd8Lm"
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```

### List emails

List one page of emails Qualified sent, newest first, with when each was opened, clicked, replied to or bounced.

**Inputs**

- Created on or after (`created_after`, date and time): Only emails created at or after this time. It must be at least 30 minutes ago.
- Created on or before (`created_before`, date and time): Only emails created at or before this time. It must be at least 30 minutes ago.
- Updated on or after (`updated_after`, date and time): Only emails changed at or after this time.
- Updated on or before (`updated_before`, date and time): Only emails changed at or before this time.
- Lead ID (`lead_id`, text): Only emails sent to this lead.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "body": "Hi Jordan, thanks for chatting with us today.",
        "bounceType": "soft_bounce",
        "bouncedAt": "2026-11-28T15:00:05Z",
        "campaignName": "Demo follow-up",
        "clickedAt": "2026-11-28T15:21:10Z",
        "createdAt": "2026-11-28T14:59:58Z",
        "id": "em_6Yr3Js",
        "leadId": "ld_8fK2pQ",
        "mailingType": "agent",
        "openedAt": "2026-11-28T15:20:00Z",
        "parentEmailId": "em_6Yr3Jr",
        "provider": "gmail",
        "recipientEmail": "jordan.lee@acme.com",
        "repliedAt": "2026-11-28T16:02:00Z",
        "senderEmail": "piper@acme-saas.com",
        "sentAt": "2026-11-28T15:00:00Z",
        "status": "sent",
        "subject": "Following up on your demo",
        "updatedAt": "2026-11-28T16:02:00Z"
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```

### List lead fields

List the custom fields leads have, with their API names and types.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "2025-04-02T10:00:00Z",
        "id": "fd_compan",
        "label": "Company size",
        "name": "company_size",
        "options": [
          {
            "label": "201 to 500",
            "value": "201-500"
          }
        ],
        "type": "picklist",
        "updatedAt": "2026-06-11T08:30:00Z"
      }
    ]
  }
}
```

### List leads

List one page of identified leads, newest first, filtered by when they were created or changed, or by email.

**Inputs**

- Email (`email`, text): Only the lead with this email address.
- Created on or after (`created_after`, date and time): Only leads created at or after this time.
- Created on or before (`created_before`, date and time): Only leads created at or before this time.
- Updated on or after (`updated_after`, date and time): Only leads changed at or after this time.
- Updated on or before (`updated_before`, date and time): Only leads changed at or before this time.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "2026-11-20T15:04:05Z",
        "eloquaContactId": "88412",
        "email": "jordan.lee@acme.com",
        "fields": {
          "company_size": "201-500",
          "job_title": "VP Marketing"
        },
        "hubspotContactId": "51",
        "id": "ld_8fK2pQ",
        "marketoLeadId": "1043221",
        "pardotProspectId": "48213377",
        "salesforceContactId": "0035f00000AbCdEAAV",
        "salesforceLeadId": "00Q5f000004XyZaEAK",
        "updatedAt": "2026-11-28T09:12:44Z",
        "visitorIds": [
          "vs_3Hd8Lm"
        ]
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```

### List meetings

List one page of meetings offered or booked with visitors, newest first, with their status and attendees.

**Inputs**

- Created on or after (`created_after`, date and time): Only meetings created at or after this time. It must be at least 30 minutes ago.
- Created on or before (`created_before`, date and time): Only meetings created at or before this time. It must be at least 30 minutes ago.
- Updated on or after (`updated_after`, date and time): Only meetings changed at or after this time.
- Updated on or before (`updated_before`, date and time): Only meetings changed at or before this time.
- Visitor ID (`visitor_id`, text): Only meetings from this visitor (one browser or device). A lead's visitor IDs are on the lead.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attendees": [
          {
            "email": "sam.rivera@acme-saas.com",
            "name": "Sam Rivera",
            "organizer": true,
            "owner": true
          },
          {
            "email": "jordan.lee@acme.com",
            "name": "Jordan Lee",
            "organizer": false,
            "owner": false
          }
        ],
        "channel": "Chat",
        "conversationId": "cv_5Pz1Ka",
        "createdAt": "2026-11-28T14:10:00Z",
        "id": "mt_2Lx6Qe",
        "meetingTypeName": "Product demo",
        "sessionId": "se_7Nn2Rt",
        "status": "booked",
        "updatedAt": "2026-11-28T14:10:00Z",
        "visitorId": "vs_3Hd8Lm"
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```

### List messages

List one page of chat messages across all conversations, newest first.

**Inputs**

- Sent on or after (`created_after`, date and time): Only messages sent at or after this time. It must be at least 30 minutes ago.
- Sent on or before (`created_before`, date and time): Only messages sent at or before this time. It must be at least 30 minutes ago.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "conversationId": "cv_5Pz1Ka",
        "createdAt": "2026-11-28T14:05:02Z",
        "id": "ms_1Wd7Fc",
        "senderName": "Piper",
        "senderType": "ai_profile",
        "text": "Hi! Want to see how teams like yours book more meetings?",
        "type": "text"
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```

### List sessions

List one page of website visits, newest first, with the pages viewed and the conversations and meetings in each.

**Inputs**

- Ended on or after (`ended_after`, date and time): Only sessions that ended at or after this time. It must be at least 30 minutes ago.
- Ended on or before (`ended_before`, date and time): Only sessions that ended at or before this time. It must be at least 30 minutes ago.
- Visitor ID (`visitor_id`, text): Only sessions from this visitor (one browser or device). A lead's visitor IDs are on the lead.
- Next page (`after`, text): The end cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Qualified.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "conversationIds": [
          "cv_5Pz1Ka"
        ],
        "createdAt": "2026-11-28T14:02:11Z",
        "endedAt": "2026-11-28T14:19:40Z",
        "id": "se_7Nn2Rt",
        "meetingIds": [
          "mt_2Lx6Qe"
        ],
        "pageViews": [
          {
            "baseUrl": "https://www.acme-saas.com/pricing",
            "createdAt": "2026-11-28T14:02:11Z",
            "endedAt": "2026-11-28T14:06:30Z",
            "referrer": "https://www.google.com/",
            "utmCampaign": "q4-pipeline",
            "utmContent": "ad-a",
            "utmMedium": "cpc",
            "utmSource": "google",
            "utmTerm": "chat software"
          }
        ],
        "userAgent": {
          "deviceType": "desktop",
          "string": "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_6) AppleWebKit/605.1.15"
        },
        "visitor": {
          "eloquaContactId": "88412",
          "email": "jordan.lee@acme.com",
          "fields": {
            "job_title": "VP Marketing"
          },
          "hubspotContactId": "51",
          "marketoLeadId": "1043221",
          "pardotProspectId": "48213377",
          "salesforceContactId": "0035f00000AbCdEAAV",
          "salesforceLeadId": "00Q5f000004XyZaEAK"
        },
        "visitorId": "vs_3Hd8Lm"
      }
    ],
    "pageInfo": {
      "endCursor": "Zk2cD9",
      "hasNextPage": false,
      "hasPreviousPage": false,
      "startCursor": "Qx7aB2"
    }
  }
}
```
