# Sendy

> Manage Sendy subscribers and create draft, scheduled or sending campaigns.

App · 8 actions. Web page: https://docs.lodol.com/docs/integrations/sendy

## Actions

### Create campaign

Create a draft campaign, or send or schedule it when Send campaign is 1. Sending requires Sendy’s sending cron job.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- From name (`from_name`, text, required): From name.
- From email (`from_email`, text, required): From email.
- Reply to (`reply_to`, text, required): Reply to.
- Title (`title`, text, required): Title.
- Subject (`subject`, text, required): Subject.
- HTML text (`html_text`, text, required): Html text.
- Plain text (`plain_text`, text): Plain text.
- Send campaign (`send_campaign`, number): Send campaign. One of: `0` (Save draft), `1` (Send or schedule).
- List IDS (`list_ids`, list): List ids.
- Segment IDS (`segment_ids`, list): Segment ids.
- Track opens (`track_opens`, number): Track opens. One of: `0` (Disabled), `1` (Enabled), `2` (Anonymous).
- Track clicks (`track_clicks`, number): Track clicks. One of: `0` (Disabled), `1` (Enabled), `2` (Anonymous).
- Schedule date time (`schedule_date_time`, date and time): Scheduled sending time, rounded to a five-minute boundary. Sent in UTC.
- Query string (`query_string`, text): Query string.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "status": ""
  },
  "has_more": false,
  "next_cursor": ""
}
```

### Delete subscriber

Delete subscriber.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- List (`list_id`, text, required): Choose a list after choosing a brand, or use its encrypted ID.
- Email (`email`, text, required): Email.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "success": false
  },
  "has_more": false,
  "next_cursor": ""
}
```

### Get subscriber count

Get subscriber count.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- List (`list_id`, text, required): Choose a list after choosing a brand, or use its encrypted ID.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "count": 0
  },
  "has_more": false,
  "next_cursor": ""
}
```

### Get subscription status

Get subscription status.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- List (`list_id`, text, required): Choose a list after choosing a brand, or use its encrypted ID.
- Email (`email`, text, required): Email.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "status": ""
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List brands

List brands.

**Inputs**: None.

**Outputs**

- `data` (list): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": ""
}
```

### List lists

List lists.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- Include hidden (`include_hidden`, text): Include hidden. One of: `yes`, `no`.

**Outputs**

- `data` (list): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": ""
}
```

### Subscribe

Subscribe.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- List (`list_id`, text, required): Choose a list after choosing a brand, or use its encrypted ID.
- Email (`email`, text, required): Email.
- Name (`name`, text): Name.
- Country (`country`, text): Country.
- Ipaddress (`ipaddress`, text): Ipaddress.
- Referrer (`referrer`, text): Referrer.
- Gdpr (`gdpr`, true/false): Gdpr.
- Silent (`silent`, true/false): Silent.
- Custom fields (`custom_fields`, object): Custom-field personalization tags and their values.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "success": false
  },
  "has_more": false,
  "next_cursor": ""
}
```

### Unsubscribe

Unsubscribe.

**Inputs**

- Brand (`brand_id`, text, required): The brand that owns the list.
- List (`list_id`, text, required): Choose a list after choosing a brand, or use its encrypted ID.
- Email (`email`, text, required): Email.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "success": false
  },
  "has_more": false,
  "next_cursor": ""
}
```
