# Cision

> Follow your CisionOne mention streams: list mentions, get a stream's statistics, and start workflows from new and negative coverage.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/cision

## Actions

### Get stream statistics

Get a stream's totals over a period: its media, audience by media type, advertising value and sentiment.

**Inputs**

- Stream (`stream_id`, number, required): The mention stream: one of the searches set up in CisionOne. At least 1.
- From (`start`, date and time, required): The start of the period to look at.
- To (`end`, date and time, required): The end of the period to look at, at most 366 days after the start.

**Outputs**

- `data` (object): The response from Cision.

**Example output**

```json
{
  "data": {
    "advertisingValues": [
      {
        "label": "example",
        "values": {
          "count": 1,
          "total": 1
        }
      }
    ],
    "after": "example",
    "audiencesByType": [
      {
        "label": "example",
        "value": 1
      }
    ],
    "before": "example",
    "media": [
      "example"
    ],
    "sentimentAggregation": [
      {
        "label": "example",
        "values": {
          "doc_count": 1,
          "from": 1,
          "to": 1
        }
      }
    ],
    "streamId": 1,
    "streamLabel": "example"
  }
}
```

### List mentions

List a stream's mentions in print, online, broadcast and social media over a period.

**Inputs**

- Stream (`stream_id`, number, required): The mention stream: one of the searches set up in CisionOne. At least 1.
- From (`start`, date and time, required): The start of the period to look at.
- To (`end`, date and time, required): The end of the period to look at, at most 366 days after the start.
- Sort by (`sort_by`, text): What to sort the mentions by. Leave empty for Cision's order. One of: `timestamp` (Date), `impact_score` (Impact score), `audience`, `sentiment`, `advertisement_rate` (Advertising value), `domain_authority` (Domain authority), `word_count` (Word count), `source.name` (Source name).
- Sort order (`sort_order`, text): Which end of the sort comes first. One of: `desc` (Highest or newest first), `asc` (Lowest or oldest first).
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Mentions per page (`page_size`, number): How many mentions to return per page. Leave empty for 100. From 1 to 1000.

**Outputs**

- `data` (object): The response from Cision.

**Example output**

```json
{
  "data": {
    "mentions": [
      {
        "advertisingValue": 1,
        "audience": 1,
        "author": "example",
        "createdAt": "example",
        "domainAuthority": 1,
        "excerpt": "example",
        "id": 1,
        "impactScore": [
          {
            "grade": "example",
            "score": 1
          }
        ],
        "internalLink": "example",
        "keywords": [
          "example"
        ],
        "languageCode": "example",
        "locationCity": "example",
        "locationCountry": "example",
        "locationState": "example",
        "medium": "example",
        "publishedAt": "example",
        "removed": true,
        "sentiment": 1,
        "source": "example",
        "timeZone": "example",
        "timestamp": 1,
        "title": "example",
        "type": "example",
        "url": "example",
        "wordCount": 1
      }
    ],
    "total_results": 1,
    "truncated": true
  }
}
```

### List streams

List your organisation's mention streams: the searches CisionOne runs for you.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Cision.

**Example output**

```json
{
  "data": [
    {
      "archived": true,
      "createdAt": "example",
      "defaultSentimentRating": 1,
      "excludedKeywords": "example",
      "id": 1,
      "keywords": "example",
      "label": "example",
      "magazineContent": true,
      "onlineContent": true,
      "podcastContent": true,
      "printContent": true,
      "queryStyle": "example",
      "radioContent": true,
      "socialContent": true,
      "tvContent": true,
      "updatedAt": "example"
    }
  ]
}
```
