---
title: "Action registered_users__check_phone"
description: "Validates and normalizes a phone number for user registration."
---

# Action `registered_users__check_phone`

> **System ID:** `action_registered_users__check_phone`  
> In the scenario also: `registered_users__check_phone`

## Description

Prepares a phone number for registration / lookup. Takes the phone from a shared contact (`user_request.contact.phone`) or from the `reg_phone` constant, strips `+`, and for Ukrainian numbers normalizes to `380XXXXXXXXX`. Writes the result to `reg_phone`.

Next you usually call [`registered_users__set`](/en/actionjail/reference/actions/registered_users__set.md) or [`registered_users__get`](/en/actionjail/reference/actions/registered_users__get.md) with `check_by_phone: true`.

## Events (scenario branches)

| Event | When it occurs |
|-------|----------------|
| **success** | Phone found and normalized |
| **error** | No phone in contact / constant, or format does not match |

## Parameters

No parameters in the node JSON (`{}`).

Phone sources:

| Source | Description |
|--------|-------------|
| `user_request.contact.phone` | Number from shared contact |
| constant `reg_phone` | Already stored number (validated against UA pattern) |

## Configuration example

Node config:

```json
{}
```

Constants (if the number was already entered as text):

```json
{
  "reg_phone": "0501234567"
}
```

After **success**, `reg_phone` will be `380501234567`.

## Related docs

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