Unwanted space in Phone Number

kulwantnagi

Member
Your Workflow URL
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZjMDYzMzA0MzA1MjZhNTUzMDUxMzQi_pc
Your Task History ID
IjU3NjEwNTZjMDYzMzA0Mzc1MjY0NTUzZDUxMzU1MTZhNTQzMiI_3D_pc
I am capturing WooCommerce abandoned cart users and adding them in WhatsApp using AISensy.

When WooCommerce captures the phone number, it adds a space after 5 digits.

screenshot-www.fraglay.com-2023.08.05-09_13_33.jpg


When this number reaches in AISensy flow, it gets failed as they cannot send a message to an invalid number.

screenshot-connect.pabbly.com-2023.08.05-09_16_08.jpg


How can I resolve the phone number so that extra space gets removed automatically?
 
P

Pabblymember11

Guest
Hey @kulwantnagi

Upon reviewing the trigger response from your workflow in WooCommerce, it's apparent that the response you obtained during execution bears a distinct phone number label and in the workflow you have captured the webhook response with the Phone field. This variance is leading to an inaccurate mapping within the Aisency action step, thereby preventing the transmission of messages.

Therefore, I kindly request you capture the webhook response once more and subsequently realign the mapping for the phone number field.

1691212361482.png


And to remove the extra spacing from the incoming phone number you can make use of the "Number Formatter" action step.

1691220942819.png
 
Top