Skip to content

Workflow Create Record cannot fully populate Phone field (country selector not mappable) #17182

@AzimKrishna

Description

@AzimKrishna

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

  1. Create a Phone field on an object (e.g. Opportunities or Parents)
    • Set default country to No country
  2. Create a Workflow:
    • Trigger: Webhook
    • Action: Create Record
  3. Send a webhook payload with an E.164 phone number, e.g. "+919999999999"
  4. 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


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


Happy to help test or provide additional details if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🔖 Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions