n8n-nodes-israeli-phone
v0.1.5
Published
n8n node for formatting Israeli phone numbers into all possible variants
Maintainers
Readme
n8n-nodes-israeli-phone
An n8n community node for formatting Israeli phone numbers into all possible variants.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm
npm install n8n-nodes-israeli-phonen8n
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-israeli-phone - Select Install
Usage
This node takes an Israeli phone number in any format and returns all possible formatting variants:
Input
- Phone Number: Any Israeli phone number format (e.g.,
050-123-4567,+972501234567,0501234567)
Output
Returns a JSON object with all possible phone number formats:
{
"original": "050-123-4567",
"cleanedDigits": "0501234567",
"local": "0501234567",
"withPlus972": "+972501234567",
"with972": "972501234567",
"dashed": "050-123-4567",
"spaced": "050 123 4567",
"dotted": "050.123.4567",
"internationalDashed": "+972-50-123-4567",
"internationalSpaced": "+972 50 123 4567"
}Supported Formats
The node accepts Israeli phone numbers in various formats:
050-123-4567(dashed)050 123 4567(spaced)050.123.4567(dotted)0501234567(local)+972501234567(international with plus)972501234567(international without plus)00972501234567(international with 00 prefix)
Features
- ✅ Validates Israeli mobile phone numbers (05X-XXX-XXXX format)
- ✅ Handles international prefixes (+972, 972, 00972)
- ✅ Cleans and normalizes input
- ✅ Returns all common formatting variants
- ✅ Preserves original input for reference
Examples
Basic Usage
Input: 050-123-4567
Output: All formatting variants as shown above
International Number
Input: +972501234567
Output: Same variants, with original field showing the input format
Invalid Numbers
Input: 123-456-7890
Output: Empty object {} (non-Israeli number)
Development
Prerequisites
- Node.js 20.15+
- npm
Setup
git clone https://github.com/EladAmraniAI/n8n-nodes-israeli-phone.git
cd n8n-nodes-israeli-phone
npm installBuild
npm run buildLint
npm run lintLicense
This project is licensed under the MIT License - see the LICENSE.md file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
If you encounter any issues or have questions, please file an issue on the GitHub repository.
Author
Elad Amrani
- Email: [email protected]
- GitHub: @EladAmraniAI
