# Sprout Social

> Read social profiles, analytics, messages, listening topics and cases, and create publishing posts.

App · 16 actions. Web page: https://docs.lodol.com/docs/integrations/sprout-social

## Actions

### Create publishing post

Create publishing post.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Group (`group_id`, number, required): Group id.
- Customer profile IDs (`customer_profile_ids`, list, required): Customer profile ids.
- Is draft (`is_draft`, true/false, required): Is draft.
- Text (`text`, text, required): Text.
- Delivery (`delivery`, object): Additional structured delivery. Use the documented fields.
- Media (`media`, list): Media.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### Get post analytics

Get post analytics. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Filters (`filters`, list): Additional Sprout filter expressions. Date and profile filters can be selected using the other fields.
- Timezone (`timezone`, text): Timezone.
- Page (`page`, number): Page.
- Fields (`fields`, list): Fields.
- Metrics (`metrics`, list): Metrics.
- From (`from_time`, date and time, required): Start of the reporting range.
- Until (`until_time`, date and time, required): End of the reporting range.
- Profiles (`profile_ids`, list, required): Social profiles to include.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### Get profile analytics

Get profile analytics. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Filters (`filters`, list): Additional Sprout filter expressions. Date and profile filters can be selected using the other fields.
- Timezone (`timezone`, text): Timezone.
- Page (`page`, number): Page.
- Fields (`fields`, list): Fields.
- Metrics (`metrics`, list): Metrics.
- From (`from_time`, date, required): Start of the reporting range.
- Until (`until_time`, date, required): End of the reporting range.
- Profiles (`profile_ids`, list, required): Social profiles to include.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### Get publishing post

Get publishing post. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Publishing post ID (`publishing_post_id`, text, required): Publishing post id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### Get topic metrics

Get topic metrics. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Topic (`topic_id`, text, required): Topic id.
- Filters (`filters`, list): Additional Sprout filter expressions. Date and profile filters can be selected using the other fields.
- Timezone (`timezone`, text): Timezone.
- Page (`page`, number): Page.
- Fields (`fields`, list): Fields.
- Metrics (`metrics`, list): Metrics.
- Dimensions (`dimensions`, list): Dimensions.
- From (`from_time`, date and time, required): Start of the reporting range.
- Until (`until_time`, date and time, required): End of the reporting range.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List case queues

List case queues. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List cases

List cases. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Filters (`filters`, list): Additional Sprout filter expressions. Date and profile filters can be selected using the other fields.
- Timezone (`timezone`, text): Timezone.
- Page (`page`, number): Page.
- Sort (`sort`, list): Sort.
- Limit (`limit`, number): Limit.
- Page cursor (`page_cursor`, text): Page cursor.
- From (`from_time`, date and time, required): Start of the reporting range.
- Until (`until_time`, date and time, required): End of the reporting range.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List customers

List customers. Returns the full service response for the connected account.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List groups

List groups. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List messages

List messages. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Filters (`filters`, list): Additional Sprout filter expressions. Date and profile filters can be selected using the other fields.
- Timezone (`timezone`, text): Timezone.
- Page (`page`, number): Page.
- Fields (`fields`, list): Fields.
- Sort (`sort`, list): Sort.
- Limit (`limit`, number): Limit.
- Page cursor (`page_cursor`, text): Page cursor.
- From (`from_time`, date and time, required): Start of the reporting range.
- Until (`until_time`, date and time, required): End of the reporting range.
- Profiles (`profile_ids`, list): Social profiles to include.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List profiles

List profiles. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List tags

List tags. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List teams

List teams. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List topic messages

List topic messages. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.
- Topic (`topic_id`, text, required): Topic id.
- Filters (`filters`, list): Additional Sprout filter expressions. Date and profile filters can be selected using the other fields.
- Timezone (`timezone`, text): Timezone.
- Page (`page`, number): Page.
- Fields (`fields`, list): Fields.
- Metrics (`metrics`, list): Metrics.
- Sort (`sort`, list): Sort.
- Limit (`limit`, number): Limit.
- Page cursor (`page_cursor`, text): Page cursor.
- From (`from_time`, date and time, required): Start of the reporting range.
- Until (`until_time`, date and time, required): End of the reporting range.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List topics

List topics. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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

### List users

List users. Returns the full service response for the connected account.

**Inputs**

- Customer (`customer_id`, text, required): Customer id.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

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