# LinkedIn Conversions

> Manage LinkedIn conversion rules and send attributed conversion events.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/linkedin-conversions

## Actions

### Create a conversion rule

Create a rule for events sent through LinkedIn Conversions API.

**Inputs**

- Name (`name`, text, required): The name of the conversion rule.
- Account (`account`, text, required): The numeric Campaign Manager account ID or its LinkedIn account URN.
- Type (`type`, text, required): Choose the conversion type. One of: `LEAD`, `PURCHASE`, `SIGN_UP` (Sign up), `DOWNLOAD`, `ADD_TO_CART` (Add to cart), `PAGE_VIEW` (Page view), `OTHER`.
- Attribution (`attribution`, text, required): Choose how to attribute conversions. One of: `LAST_TOUCH_BY_CAMPAIGN` (Last touch by campaign), `LAST_TOUCH_BY_CONVERSION` (Last touch by conversion).

**Outputs**

- `data` (object): The response from LinkedIn Conversions.

**Example output**

```json
{
  "data": {
    "id": "example"
  }
}
```

### Get a conversion rule

Read a conversion rule and its attribution settings.

**Inputs**

- Conversion ID (`conversion_id`, number, required): The conversion id. At least 1.

**Outputs**

- `data` (object): The response from LinkedIn Conversions.

**Example output**

```json
{
  "data": {
    "account": "example",
    "conversionMethod": "example",
    "enabled": true,
    "id": 1,
    "name": "example",
    "type": "example"
  }
}
```

### List conversion rules

Read conversion rules for one Campaign Manager account.

**Inputs**

- Account (`account`, text, required): The numeric Campaign Manager account ID or its LinkedIn account URN.
- Start (`start`, number): How many results to skip. At least 0.
- Limit (`limit`, number): Maximum number of results to return. From 1 to 100.

**Outputs**

- `data` (object): The response from LinkedIn Conversions.

**Example output**

```json
{
  "data": {
    "elements": [
      {
        "account": "example",
        "conversionMethod": "example",
        "enabled": true,
        "id": 1,
        "name": "example",
        "type": "example"
      }
    ],
    "paging": {}
  }
}
```

### Send a conversion event

Send a conversion matched by an email address or a LinkedIn click ID.

**Inputs**

- Conversion ID (`conversion_id`, number, required): The conversion rule ID. At least 1.
- Occurred at (`occurred_at`, date and time, required): When the conversion happened.
- Email (`email`, text): The email to normalize and hash for matching.
- Click ID (`click_id`, text): The LinkedIn first-party tracking ID.
- Event ID (`event_id`, text): A stable event ID for deduplication.
- Currency (`currency`, text): The three-letter currency code.
- Amount (`amount`, number): The conversion value. At least 0.

**Outputs**

- `data` (object): The response from LinkedIn Conversions.

**Example output**

```json
{
  "data": {}
}
```

### Send conversion events in bulk

Send prepared LinkedIn conversion event records in one batch.

**Inputs**

- Event batch (`batch`, object, required): A JSON object with an elements array of 1 to 5,000 LinkedIn conversion events.

**Outputs**

- `data` (object): The response from LinkedIn Conversions.

**Example output**

```json
{
  "data": {}
}
```
