Why is the phone number not being captured on the form?
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
If your bot is not able to capture the phone number in the form, then there might be the case that the entity phone_number is not capturing the number because either the number is not a 10 digit number, or it might have hyphens in it.
In such rare cases, you can create a local entity and use the following regex pattern in it, for detecting phone numbers -
^([(]?[0-9]{3}[)]?([ ]|[-])[0-9]{3}[-][0-9]{4})|[0-9]{10,13}
This way your bot will be able to capture phone numbers.
If the issue still persists, please connect with our Support team at support@haptik.ai.