What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
Title: Airtable “Invalid input” error from Set node (extra spaces / quotes issue)
Hi everyone,
I’m building a lead capture workflow in n8n:
Flow:
Form submission → Edit (Set node) → Airtable
Form fields:
- Full Name
- Email Address
- Phone Number
- Services Needed
- Budget
- How did you hear about us
- Additional Notes
Airtable fields:
- Full Name
- Phone Number
- Services Needed
- Budget (Single Select)
- Budget Category
- Client Status
- How did you hear about us
- Additional Notes
Problem:
I keep getting errors like:
- Invalid input for ‘Budget’
- Invalid input for ‘Client Status’
Even when the values look correct.
Example:
Airtable expects:
$600 and Above
But n8n sends:
" $600 and Above" (extra space)
Or:
“New Lead” (extra quotes)
What I’ve tried:
- Using .trim() in the Set node
- Cleaning values before sending
- Matching Airtable select options exactly
Question:
1. What’s the best way to normalize/clean form input before sending to Airtable?
2. How do I avoid issues with Single Select fields in Airtable?
3. What’s the best practice for ensuring consistent values across workflows?
Any help would be appreciated ![]()