Table of Contents
Ask for a Phone block
Updated
by Desirée M
Collecting a user’s phone number is a great way to stay in touch or follow up later. Here’s how the Ask for a Phone block works in Landbot.

1️⃣ From any block, drag the green connector and search for “Phone” to add it.
2️⃣ In the setup panel, write your question and choose the Field where the number should be saved (by default, @phone).
3️⃣ You can enable the Country Code Selector if you want users to pick their country code. Landbot will suggest a default based on the user’s browser language.


If you want to personalize the error message that appears when the input does not have a valid phone number format, you can do it directly in the block.
First, you must go to Settings > Custom Responses > Error Messages and enable Make each question validation error customizable.
After that, you’ll be able to edit each validation message in the block itself.
For WhatsApp
This block works the same way as it does on the Web version, however, the Country Code selector is not available.

For Facebook Messenger
This block behaves the same way as in the Landbot Web version, but the Country Code Selector is not available.

