# LeadDyno

> Reconcile affiliate profiles, referred leads and conversion totals with CRM and marketing reports.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/leaddyno

## Actions

### Get affiliate

Read the profile and aggregate traffic, lead and purchase counts for one affiliate.

**Inputs**

- Affiliate ID (`affiliate_id`, number, required): Affiliate ID from List affiliates. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliate_code": "partner",
    "created_at": "2026-01-02T12:00:00Z",
    "email": "partner@example.com",
    "first_name": "Example",
    "id": 101,
    "last_name": "Partner",
    "status": "Active",
    "total_leads": 2,
    "total_purchases": 1,
    "total_visitors": 5
  }
}
```

### List affiliate leads

Read one page of leads attributed to an affiliate, with customer lifecycle status.

**Inputs**

- Affiliate ID (`affiliate_id`, number, required): Affiliate ID from List affiliates. At least 1.
- Page (`page`, number): Page number, starting at 1. At least 1.
- Per page (`per_page`, number): Maximum records to return in one page. From 1 to 200.

**Outputs**

- `data` (list): The response from LeadDyno.

**Example output**

```json
{
  "data": [
    {
      "affiliate": {
        "email": "partner@example.com",
        "id": 101
      },
      "created_at": "2026-01-02T12:00:00Z",
      "email": "customer@example.com",
      "first_name": "Example",
      "id": 201,
      "last_name": "Customer",
      "status": "Registered",
      "updated_at": "2026-01-02T12:00:00Z"
    }
  ]
}
```

### List affiliates

Read one page of affiliates, referral codes and cumulative performance metrics.

**Inputs**

- Page (`page`, number): Page number, starting at 1. At least 1.
- Per page (`per_page`, number): Number of records per page; the vendor default is 100. At least 1.
- Query (`query`, text): Search first name, last name or email.
- Created after (`created_after`, text): Exclusive ISO 8601 lower bound for creation time.
- Created before (`created_before`, text): Exclusive ISO 8601 upper bound for creation time.

**Outputs**

- `data` (list): The response from LeadDyno.

**Example output**

```json
{
  "data": [
    {
      "affiliate_code": "partner",
      "created_at": "2026-01-02T12:00:00Z",
      "email": "partner@example.com",
      "first_name": "Example",
      "id": 101,
      "last_name": "Partner",
      "status": "Active",
      "total_leads": 2,
      "total_purchases": 1,
      "total_visitors": 5
    }
  ]
}
```
