> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# List Reactions

- Component: `appmixer.slack.reactions.ListReactions`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.slack 6.0.7](https://connectors.appmixer.com/connector/appmixer.slack/6.0.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.slack/6.0.7/component/appmixer.slack.reactions.ListReactions>

List all items (file, file comment, channel message, group message, or direct message) with reactions made by the user (paginated internally).

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| User (`userId`) | text | User to list reactions for. |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or one item at a time or stream the items to a file. For large datasets, streaming the rows to a file is the most efficient method. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/slack/reactions/ListReactions?outPort=out&ignoreAuth=true`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.slack.reactions.ListReactions",
  "label": "List Reactions",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "List all items (file, file comment, channel message, group message, or direct message) with reactions made by the user (paginated internally).",
  "private": false,
  "auth": {
    "service": "appmixer:slack",
    "scope": [
      "reactions:read"
    ]
  },
  "quota": {
    "manager": "appmixer:slack:list",
    "resources": "postMessage",
    "maxWait": 30000,
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "outputType": {
            "type": "string",
            "enum": [
              "first",
              "array",
              "object",
              "file"
            ]
          }
        },
        "required": [
          "userId"
        ]
      },
      "inspector": {
        "inputs": {
          "userId": {
            "type": "text",
            "label": "User",
            "tooltip": "User to list reactions for.",
            "index": 1,
            "source": {
              "url": "/component/appmixer/slack/list/ListUsers?outPort=out",
              "data": {
                "transform": "./transformers#usersToSelectArray",
                "messages": {
                  "in/outputType": "array",
                  "in/isSource": true
                }
              }
            }
          },
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 2,
            "defaultValue": "first",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or one item at a time or stream the items to a file. For large datasets, streaming the rows to a file is the most efficient method.",
            "options": [
              {
                "label": "First Found",
                "value": "first"
              },
              {
                "label": "All at once",
                "value": "array"
              },
              {
                "label": "One at a time",
                "value": "object"
              },
              {
                "label": "File",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/slack/reactions/ListReactions?outPort=out&ignoreAuth=true",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType",
            "in/userId": "1"
          }
        }
      }
    }
  ]
}
```
