Skip to main content

I am attempting to create a Zap the when I get a new gmail email: New Downline Opportunity Available it will automatic create a new contact in KW COMMAND with tag PSM. It is saying: "Unexpected token B in JSON at position 32". I can’t figure out what’s going on or why it’s giving me an error.

Hi @waltoberry 

Good question.

We would need to see detailed screenshots with how your Zap steps are configured in the Zap EDIT mode along with the encountered error.


 


 


@waltoberry 

It’s likely due to the mapped variable for Last Name.

You may need to do email parsing or parsing of the email subject to get the desired values from the email for these fields:

  • First Name
  • Last Name
  • Email

 

Options:

  • App/Action: Mailparser - New Email Parsed
    • Parsing Rules are configured in Mailparser
  • App/Action: Formatter > Text > Split
  • App/Action: ChatGPT - Extract Structured Data
    • Requires a ChatGPT+ subscription
    • Requires an OpenAI billing payment method be conected
  • App/Action: Code - Run JavaScript

     

 

 


Can you walk me through the easiest option.

 

This is foreign to me. I want to figure it out. It will make getting leads to command a lot easier. :)


@waltoberry 

Help articles to reference:

Formatter: https://zapier.com/apps/formatter/help

Mailparser: https://help.mailparser.io/hc/en-us

AI:

Code:

 

If you are looking to hire help, then check out the directory of Certified Zapier Experts: https://zapier.com/experts


Reply