# Oracle Eloqua

> Manage Eloqua contacts and accounts, and read marketing assets.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/oracle-eloqua

## Actions

### Create account

Create an Eloqua account (company) with a name. Returns the new account with its ID.

**Inputs**

- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Create contact

Create an Eloqua contact with an email address and optional first and last name. Returns the new contact with its ID.

**Inputs**

- Email address (`email_address`, text, required): Email address.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Delete account

Delete an account (company) from Eloqua, by its ID.

**Inputs**

- Record (`record_id`, text, required): Record id.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

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

### Delete contact

Delete a contact from Eloqua, by its ID.

**Inputs**

- Record (`record_id`, text, required): Record id.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

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

### Get account

Get one Eloqua account (company) by its ID, with its name and when it was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get campaign

Get one Eloqua campaign by its ID, with its name and when it was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get contact

Get one Eloqua contact by its ID, with their name, email address and when the record was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get contact list

Get one Eloqua shared contact list by its ID, with its name and when it was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get email

Get one Eloqua marketing email by its ID, with its name and when it was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get form

Get one Eloqua form by its ID, with its name and when it was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get landing page

Get one Eloqua landing page by its ID, with its name and when it was created and last changed.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### List accounts

List Eloqua accounts (companies), a page at a time, with an optional search and level of detail. Returns each account's ID and name.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### List campaigns

List Eloqua campaigns, a page at a time, with an optional search and level of detail. Returns each campaign's ID and name.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### List contact lists

List Eloqua shared contact lists, a page at a time, with an optional search and level of detail. Returns each list's ID and name.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### List contacts

List Eloqua contacts, a page at a time, with an optional search and level of detail. Returns each contact's ID, name and email address.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### List emails

List the marketing emails in Eloqua, a page at a time, with an optional search and level of detail. Returns each email's ID and name.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### List forms

List Eloqua forms, a page at a time, with an optional search and level of detail. Returns each form's ID and name.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### List landing pages

List Eloqua landing pages, a page at a time, with an optional search and level of detail. Returns each page's ID and name.

**Inputs**

- Page (`page`, number): Page. At least 1. Default: `1`.
- Count (`count`, number): Count. From 1 to 1000. Default: `100`.
- Search (`search`, text): Search.
- Depth (`depth`, text): Depth. One of: `minimal`, `partial`, `complete`. Default: `complete`.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "elements": [],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}
```

### Update account

Rename an Eloqua account (company), found by its ID. Returns the updated account.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Name (`name`, text): Name.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Update contact

Change an Eloqua contact's email address, first name or last name, found by its ID. Returns the updated contact.

**Inputs**

- Record (`record_id`, text, required): Record id.
- Email address (`email_address`, text): Email address.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.

**Outputs**

- `data` (object): Oracle Eloqua response data.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```
