# How to add in a random 11 digit mobile number variable

**URL:** <https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810>\
**Category:** Help Hub\
**Created:** [June 22, 2023, 8:41am UTC](https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810 "2023-06-22T08:41:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jade-nadon](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jade-nadon](https://community.postman.com/u/jade-nadon)\
**Post date:** [June 22, 2023, 8:41am UTC](https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810/1 "2023-06-22T08:41:17Z")

</div>

I am wanting to add in a random number when doing a Post. However i can only seem to add in either 10 or 12 numbers for a mobile number. I am in the UK so need it to be a random 11 digit mobile number starting with 07.  
Any help on this would be greatly appriciated.

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [June 22, 2023, 11:58am UTC](https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810/2 "2023-06-22T11:58:57Z")

</div>

[Generate Random mobile number starting with 07 - Just getting started - Postman](https://community.postman.com/t/generate-random-mobile-number-starting-with-07/43140)

---

<div class="post-metadata">

**Author:** ![jade-nadon](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jade-nadon](https://community.postman.com/u/jade-nadon)\
**Post date:** [June 22, 2023, 12:32pm UTC](https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810/3 "2023-06-22T12:32:16Z")

</div>

Thanks @michaelderekjones I did actually see this after posting however having issues on where to put this?  
Is a pre-req?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [June 22, 2023, 12:54pm UTC](https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810/4 "2023-06-22T12:54:32Z")

</div>

Yes, as it will need to be generated before the request.

Store it as a collection variable.

Also take a look at the following link.

[Using variables | Postman Learning Center](https://learning.postman.com/docs/sending-requests/variables/)

---

<div class="post-metadata">

**Author:** ![jade-nadon](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jade-nadon](https://community.postman.com/u/jade-nadon)\
**Post date:** [June 22, 2023, 1:29pm UTC](https://community.postman.com/t/how-to-add-in-a-random-11-digit-mobile-number-variable/48810/5 "2023-06-22T13:29:22Z")

</div>

That’s great thank you
