Need assistance: Contact name field issue in Squarespace to GoHighLevel integration via Zapier

Hey everyone, I’m at my wit’s end with this problem. I’ve set up a lead magnet form on my blog post. It’s supposed to collect names and emails, save them to Squarespace, then send them to GoHighLevel through Zapier. But something’s not right.

The contact details are getting messed up when they reach GoHighLevel. The name fields look weird, like this:

{first=testname, Last=testsurname}

I’ve tried using Zapier’s formatting tool, but no luck. The strange thing is, when I test it in Zapier, it works fine. But in the live workflow, it’s a different story.

Has anyone run into this before? Any ideas on how to fix it? I’m open to any suggestions at this point. Thanks in advance for your help!

hey emma, i’ve run into this before. it’s a pain! have you tried using zapier’s ‘path’ feature? it lets you create different routes based on data. maybe set up a path that checks if the name is in that weird format, then use some formulas to extract just the name parts. worth a shot!

I’ve encountered a similar issue when integrating Squarespace with other CRMs through Zapier. It seems like the data is being passed as a nested object rather than plain text. Here’s what worked for me:

Try using Zapier’s ‘Formatter’ step between Squarespace and GoHighLevel. In the Formatter, use the ‘Text’ action and specifically extract the ‘first’ and ‘Last’ values from the incoming data. Then map these extracted values to the appropriate fields in GoHighLevel.

If that doesn’t work, you might need to dig into Squarespace’s form settings. Sometimes, changing the field type or adjusting the ‘Store as’ option in Squarespace can affect how the data is sent to Zapier.

Lastly, double-check your GoHighLevel field mappings. Ensure you’re not accidentally mapping to a composite field instead of individual name fields.

Hope this helps!

I’ve dealt with this exact problem before, and it can be frustrating. Here’s what worked for me:

In Zapier, add a ‘Code’ step between Squarespace and GoHighLevel. Use JavaScript to parse the name field. Something like this:

const nameObj = JSON.parse(inputData.name.replace(/=/g, ':').replace(/([a-zA-Z]+)/g, '\"$1\"'));
output = {
  firstName: nameObj.first,
  lastName: nameObj.Last
};

This code converts the weird format into a proper object, then extracts the first and last names.

After the Code step, map the ‘firstName’ and ‘lastName’ outputs to the corresponding fields in GoHighLevel.

If you’re not comfortable with code, reaching out to Zapier support might be worthwhile. They’re usually quite helpful with these tricky integrations.

Good luck sorting it out!