---
title: "Action get_channel"
description: "Returns the name of the channel the user is communicating through."
---

# Action `get_channel`

> **System ID:** `action_get_channel`

## Description

Returns the name of the current messenger channel (for example, `telegram`, `viber`, `facebook`, or a custom channel). Useful for different logic depending on the channel.

## Events (scenario branches)

| Event | When it occurs |
|-------|----------------|
| channel name (dynamic) | Always — returns the channel name from the dialog context |

Scenario branches should be configured for the expected channel names (`telegram`, `viber`, etc.).

## Parameters

No parameters (`{}`).

## Configuration example

```json
{}
```

## Related docs

- [Actions reference](/en/actionjail/reference/actions-reference.md)
