-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Open
Copy link
Description
Summary
After the fix in #12343 (E.164 phone handling with "No country"), phone numbers can now be written correctly via the API.
However, the same is not possible via Workflows, because the Phone field’s country selector is not mappable from workflow variables.
This creates a functional gap between API usage and Workflow automation for international phone numbers.
Environment
- Deployment: Self-hosted (official Docker image)
- Twenty version: latest Docker image
- Feature used: Workflows → Trigger: Webhook → Action: Create Record
- Field type: Phone
- Phone field config: Default country = "No country"
Steps to reproduce
- Create a Phone field on an object (e.g. Opportunities or Parents)
- Set default country to No country
- Create a Workflow:
- Trigger: Webhook
- Action: Create Record
- Send a webhook payload with an E.164 phone number, e.g. "+919999999999"
- Map this payload value to the Phone field in the workflow
Actual behavior
- The phone number is stored as the national number only (e.g.
9999999999) - The country selector remains unset / default
- The E.164 calling code (
+91) is silently dropped
Expected behavior
One of the following should be possible:
- Workflow Create Record accepts full E.164 values and preserves them when default country is "No country"
or - Workflow mapping exposes the Phone field’s country selector as a writable/mappable input
This is especially important for international lead ingestion.
Why this matters
- Updating phone numbers using the API adds a "+1" in front of numbers despite having selected "no country" in the data model #12343 fixed E.164 handling at the API level, but workflows still cannot achieve parity
- This forces users to abandon the Phone field type and use Text fields for WhatsApp / phone numbers
- It breaks international automation use cases and makes Workflows less capable than direct API usage
Workaround (current)
- Use a Text field to store WhatsApp / phone numbers in E.164 format
- Avoid the Phone field entirely for workflow-driven ingestion
This works but loses the benefits of the Phone field type.
Related issue
- Updating phone numbers using the API adds a "+1" in front of numbers despite having selected "no country" in the data model #12343 – Updating phone numbers via API adds incorrect country prefix when "No country" is selected
Happy to help test or provide additional details if needed.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🔖 Planned