I want to create leads in bulk in my app (ezyagent) on a single trigger. I have created an action (bulk_lead_creation) for my app on zapier which expects json data (array of objects) to create multiple records in my app through bulk_creation api. I have selected code from zapier as my trigger app while creating zap. The problem is in configuring the action app, where I am unable to select the whole json data coming from the triggering app against a single input field of action app. For example:
if data is like this
leads =
{
‘first_name’: ‘John’,
‘last_name’: ‘Doe’
},
{
‘first_name’: ‘Alina’,
‘last_name’: ‘Roy’
}
]
It does not allow all leads against a single input field rather it allows first_name or last_name.
How to resolve this?