# ActiveCampaign

> Automate ActiveCampaign by creating contacts, lists, tags, and deals.

App · Email Marketing · 6 actions. Web page: https://docs.lodol.com/docs/integrations/activecampaign

## Actions

### Apply tag to contact

Assign an existing tag to a contact.

**Inputs**

- Contact ID (`contact_id`, text, required): The ID of the contact to tag.
- Tag ID (`tag_id`, text, required): The ID of the tag to apply.

**Outputs**

- `contactTag` (object): Contact tag details.

**Example output**

```json
{
  "contactTag": {}
}
```

### Create contact

Create a new contact in ActiveCampaign with optional profile details.

**Inputs**

- Email (`email`, text, required): Contact email
- First name (`first_name`, text): First name
- Last name (`last_name`, text): Last name
- Phone (`phone`, text): Phone number

**Outputs**

- `contact` (object): Contact details.

**Example output**

```json
{
  "contact": {}
}
```

### Create deal

Create a new deal linked to a pipeline stage and contact.

**Inputs**

- Title (`title`, text, required): Deal title
- Contact ID (`contact_id`, text): The ID of the contact to link the deal to. Optional.
- Stage ID (`stage_id`, text, required): The ID of the pipeline stage to place the deal in.
- Owner (`owner_id`, text): The ID of the account user who will own this deal. Leave blank to use the pipeline's auto-assign owner; required if auto-assign is disabled. User IDs are under Settings > Users in ActiveCampaign.
- Amount (`value`, number, required): The deal amount in the chosen currency, for example 1500 for $1,500. Decimals are allowed.
- Currency (`currency`, text): Three-letter currency code, for example USD. Defaults to USD. Default: `USD`.
- Pipeline ID (`pipeline_id`, text): The ID of the pipeline the stage belongs to. Optional; usually determined by the stage.

**Outputs**

- `deal` (object): Deal details.

**Example output**

```json
{
  "deal": {}
}
```

### Create list

Create a marketing list for organizing contacts and campaigns.

**Inputs**

- Name (`name`, text, required): List name
- Sender website (`sender_url`, text, required): Your company or website address, for example https://acme.com. ActiveCampaign shows this in the email footer to comply with anti-spam laws.
- Permission reminder (`sender_reminder`, text): A short note reminding contacts why they are receiving your emails, for example 'You signed up on our website'. A generic reminder is used if left blank.
- Short name (`stringid`, text): A unique short name for the list. One is generated from the list name if left blank.

**Outputs**

- `list` (object): List details.

**Example output**

```json
{
  "list": {}
}
```

### Create tag

Create a reusable tag to organize contacts and automations.

**Inputs**

- Tag (`tag`, text, required): Tag name. Commas are not allowed.
- Description (`description`, text): Tag description

**Outputs**

- `tag` (object): Tag details.

**Example output**

```json
{
  "tag": {}
}
```

### Subscribe contact to list

Subscribe an existing contact to an ActiveCampaign list.

**Inputs**

- Contact ID (`contact_id`, text, required): The ID of the contact to subscribe.
- List ID (`list_id`, text, required): The ID of the list to subscribe the contact to.
- Status (`status`, text): Whether to subscribe or unsubscribe the contact. Defaults to Subscribed. One of: `1` (Subscribed), `2` (Unsubscribed). Default: `1`.

**Outputs**

- `contactList` (object): Contact list subscription details.

**Example output**

```json
{
  "contactList": {}
}
```
