I’m working on a VAPI webhook integration in n8n Cloud and receiving JSON data where the arguments field comes through as a JSON string rather than an object. I need to parse this string to access individual fields, but every method I’ve tried in SET node expressions returns undefined or null.
Current Setup
Platform: n8n Cloud
Workflow: VAPI voice AI webhook → n8n processing
Issue: The arguments field contains a JSON string that needs to be parsed
I can see this in the INPUT of my SET node, so I know $json.arguments exists and contains the JSON string.
Question
Is there a specific node configuration or syntax I’m missing to make JSON.parse() actually evaluate the expression rather than treating it as literal text?
I’m on n8n Cloud (latest version), and Code nodes don’t work in my environment. I need to parse this JSON string using SET nodes or another available node type.
Any guidance would be greatly appreciated! I’m so close to finishing this workflow - this is the last blocker.
Hi, I wonder what your incoming node and format is but I tried to set it up with two nodes. It has the same suggestion/syntax but maybe it helps debugging .
Need Help: JSON String Parsing in n8n Cloud + VAPI Webhook Integration (Willing to Pay)
Summary
I’m building a multi-tenant VAPI voice AI receptionist workflow in n8n Cloud that processes webhooks from VAPI.ai. I’m stuck on parsing JSON strings from the webhook payload and running into the Code node output bug. I’m willing to pay someone to walk me through this and help me fix it.
The Problem
VAPI sends function arguments as a JSON string rather than a parsed object:
Code nodes: I’ve hit the known n8n Cloud bug where Code nodes receive input but produce no output
HTTP Request node with JSONPath: Doesn’t apply here since this is about parsing within the workflow
Expression with manual parsing: Too complex and error-prone
Additional Context
Platform: n8n Cloud (not self-hosted)
Webhook source: VAPI.ai function calling system
Use case: Multi-tenant voice AI system routing calls to MySQL database operations
Current workaround: None - this is blocking my entire workflow
The workflow successfully:
Receives webhooks from VAPI ✓
Routes to different outputs based on function name ✓
Handles all database operations (when I manually provide the data) ✓
But I cannot extract the actual parameter values from the JSON string.
What I Need
I need help with the proper n8n Cloud approach to:
Parse the JSON string from function.arguments
Extract individual values (date, time, service, etc.)
Pass those values to downstream MySQL nodes
I’m willing to pay for a 1-on-1 session to walk through this issue and get my workflow working. This is for a production system and I need a reliable solution.
Question
What is the recommended approach in n8n Cloud for parsing JSON strings in webhook payloads when Code nodes aren’t reliable and standard expression methods don’t work?
If you’re experienced with n8n Cloud and VAPI/webhook integrations, please reach out. I’m happy to compensate you for your time to help resolve this. You can reply here or DM me.