I am having trouble extracting a phone field from a JSON file. Currently, it’s generating an error, and I would like to ask for your help with this part of ActivePieces. My knowledge in this area is basic, so any guidance would be greatly appreciated.
I am attaching screenshots so you can see the issue in detail.
Please remove the manually typed phone number from the JSON body. It should appear as “whatsapp_phone”:“{{trigger[‘body’][‘submission’][‘Numero de WhatsApp’]}}”. Currently, it’s duplicating the number like “+50689578690+50689578690”, which is an incorrect phone number.
Hello, thank you for the response! This part is resolved. Now I have another problem: I want to extract the client ID to send a flow in ManyChat. I used Data Mapper to extract just the ID: {{step_4[‘newProperty’]}}. When I paste it into the JSON, it gives me the following information: Property expectedjson(513). How can I correct this step? I appreciate any help you can provide.
Hello, I have a problem with my logic. When a person registers through a form, it is not capturing the WhatsApp field. Attached is the error; The error is because the “whatsapp_phone” field is empty and it is expected to contain a phone number in a valid format. Here are the details of the error:
Error: Phone number has invalid format
Field: whatsapp_phone
Can someone help me resolve the issue? I have attached screenshots so you can see the steps I am taking.
What is the format of the phone number data coming from the form trigger? Is it empty, or does it have two different fields for the phone number and country code?