Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

157
Visualizações
JSON Parse Zapier Code Step - Stumped. Need 'Guest List' Output by Row from Jotform to Gsheets

I have been trying to get a form to output a guest list with up to 32 guest in a way that gives each guest on different rows of gsheets with their data broken down by column. I have an issue where my jotform data comes through to gsheets all in one cell, separated by line for each guest rather than placing each guest on a separate row. I need Full Name, First Name, Last Name, Email on each row. This is how the data looks that goes into the input for the code step on zapier : See Screen Grab for Input Result for Code Step

First Name: Dave, Last Name: Rush, Full Name: Dave Rush, Email: drush@rush.com

First Name: Meg, Last Name: Rush, Full Name: Meg Rush, Email: meg@rush.com

I believe the code (below) will work for my needs, but am stumped on how to do so, as I am a novice at JavaScript. Can anyone lend a hand to a total newb?? Thank you in advance!

let RE = new RegExp(/\[\"(\w{2,3})\"\]/, 'g'),
    COMPLETED_STR = inputData.COMPLETED.toString(),
    COMPLETED,
    KEYS = ["A", "B"],
    RESULT = {};

let i = 0;
while ((COMPLETED = RE.exec(COMPLETED_STR)) !== null) {
    RESULT[KEYS[i++]] = COMPLETED[1];
}

output = RESULT;

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda