JSON structure problems

why do I with this JSON format get this answer but then when wanting to put into Airtable I can only use the last tier?
{
“tiers”: {
“tier”: “Free Trial”,
“price”: “$0/M”,
“features”: [“3,000 credits (one-time)”, “3 seats”, “5,000 knowledge pages”, “AI Assistants”, “Workflows”, “Core Integrations”]
},
{
“tier”: “Starter”,
“price”: “$127/M”,
“features”: [“15,000 credits per month”, “5 seats”, “50,000 knowledge pages”, “Unlimited Assistants”, “Unlimited Workflows”, “All Integrations (Slack, Notion, Sharepoint, …)”]
},
{
“tier”: “Teams”,
“price”: “$424/M”,
“features”: [“60,000 credits per month”, “10 seats”, “150,000 knowledge pages”, “Unlimited Assistants”, “Unlimited Workflows”, “All Knowledge Base Integrations (Slack, Notion, Sharepoint, …)”, “Dedicated Slack support”, “1h AI Training Session”]
},
{
“tier”: “Enterprise”,
“price”: “Custom”,
“features”: [“Custom credits per month”, “Custom seats”, “Custom knowledge pages”, “Unlimited Assistants”, “Unlimited Workflows”, “All Knowledge Base Integrations (Slack, Notion, Sharepoint, …)”, “White glove setup and onboarding”, “Advanced permission controls”, “Single Sign-On (SSO) capability”, “Dedicated AI Implementation Expert”, “Personalized AI training sessions”, “Custom integrations”, “Live syncing with connections”, “Workflow deployments”, “Document Verification AI”, “ROI Report”]
}
},
“freeTrial”: {
“offers”: “Free tier”,
“features”: [“3,000 credits (one-time)”, “3 seats”, “5,000 knowledge pages”, “AI Assistants”, “Workflows”, “Core Integrations”]
},
“discounts”: {
“description”: “15% discount for yearly billing”
}
}


1 Like

I think your brackets might be wrong

If i post the above into Notepad++ it shows that the top bracket is paired with one in the middle

You can use one of the JSON validators to check for you eg : https://jsonlint.com/

So you have an array of tiers. You need to use an Iterator and iterate over the tier array after the parse JSON and befrore the airtable to get into each bundle. Then will be able to put them all into airtable

1 Like