Error integrating Google Sheets spreadsheet with Google Contacts for an existing contact

Olá, necessito de ajuda para resolver um erro na integração de uma planilha com Google Contact.

  1. Seleciono na planilha as linhas a serem atualizadas ou criadas no Google Contact;
  2. Utilizo a bloco “Phone Number” para obter os vários formatos do número de telefone (Padrão Brasil);
  3. Utilizo o bloco “Google Contacts - Search Contacts” para verificar se o número de telefone já existe em Google Contacts;
  4. Defino a variável “Search_Contact” com “Não Existe” caso o “Contact ID” não exista e com “Existe” caso o “Contact ID” exista;
  5. Uso o bloco “Router” e via filtro direciono para o “Create a Contact” ou “UpDate a Contact”;
  6. Aciono o cenário e a variável “Search_Contact” é carregada corretamente com “Existe”, pois o contato realmente existe;
  7. O fluxo é corretamente direcionado para “UPdate a Contact”;
  8. No bloco “UPdate a Contact” é apontado um erro e não faz o update;
  9. Erro: “ BundleValidationError | Validation failed for 1 parameter(s). | Missing value of required parameter ‘contact’. | Origin Make “;
  10. Solicito uma ajuda para encontrar a solução.

Para definir a variável, também tentei usar o “Total number of bundles = 0”, mas sempre é zero independentemente de já existir o número de telefone. Esse valor não deveria ser “1” quando o número de telefone existisse?

English >>

Hello, I need help resolving an error integrating a spreadsheet with Google Contacts.

I select the rows to be updated or created in Google Contacts from the spreadsheet;

I use the “Phone Number” block to obtain the various phone number formats (Brazilian standard);

I use the “Google Contacts - Search Contacts” block to check if the phone number already exists in Google Contacts;

I set the “Search_Contact” variable to “Does Not Exist” if the “Contact ID” does not exist and to “Exists” if the “Contact ID” does exist;

I use the “Router” block and, via filter, direct to “Create a Contact” or “Update a Contact”;

I trigger the scenario and the “Search_Contact” variable is correctly loaded with “Exists,” because the contact actually exists;

The flow is correctly directed to “Update a Contact”;

In the “UPdate a Contact” block, an error is reported and the update fails;

Error: “BundleValidationError | Validation failed for 1 parameter(s). | Missing value of required parameter ‘contact’. | Origin Make”;

I request assistance in finding a solution.

To define the variable, I also tried using “Total number of bundles = 0”, but it is always zero regardless of whether the phone number already exists. Shouldn’t this value be “1” when the phone number exists?

Hey there,

{{false}} is for boolean checks where the value can be either {{true}} or {{false}}. You are looking for {{null}} in this case.

Also, instead of setting Search_Contacts and then checking its state, change the filter with {{55.contactId}} (or however the exact name is) and set it to check if it exists.

1 Like

Obrigado, percebi o erro.