Struggling with creating a new contact on BREVO - Invalid phone number

Hi all.
Got a question I am strugling

I created a scenario google sheet-> Brevo
Fact is that when the SMS field gets in empty or invalid I get the below error and the contact is not created in brevo.

2 problems

  1. Brevo doesn’t create the contact even though it gets a valid email address. WHY?
  2. How Make can fix the number.
    PS
    the module “phone number” requires to select a specific area code while I get numbers from all over the world…

Can anyone help?

Thank you

It doesn’t seem like you’re passing the required field phone number.

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

You can use the phone number module to properly format the phone number with country code. You may also need to use the ifempty function when mapping the phone number variable in your brevo module to avoid the error when there is no phone number.

1 Like

Thank you B

please find here all the attachments

blueprint.json (107.3 KB)


(Txt files can’t be uploaded here)
Input bundle:
[
{
“email”: “zina_1999@msn.com”,
“listIds”: [
16
],
“attributes”: {
“SMS”: “324841808152”,
“USCITA”: “20-02-2024”,
“CHECKIN”: “17-02-2024”,
“LASTNAME”: “Phone”,
“WHATSAPP”: “324841808152”,
“FIRSTNAME”: “Test”,
“STRUTTURA”: “VITTORIANO”
},
“updateEnabled”: true,
“smsBlacklisted”: false
}
]

OUTPUT BUNDLE
[
null
]

where is that? I cannot find it

Looks like Brevo :

  1. doesn’t like either the format of the SMS field 324841808152, or

  2. you need to pass the phone as a number parseNumber(324841808152)

2 Likes

Hi Sam
actually it appears it give an error message only when the number is really “invalid”
also my source already send the contacts in the right format…so that’s not the issue.
The problem (I want to solve) is when a number is flagged as invalid the process skip the contact, flagging it as a “incomplete” and doesn’t create the contact in brevo.

What I now tried is to tell him to repeat the process and remove completely the number if that is flagged as invalid…

My question was basically if there’s module that can avoid this problem and also how can I tell to the brevo module OR to brevo itself to save a number even if it is “invalid”
Thanks