Forum Discussion
DougHenning1
3 years agoCommunity Manager
Hi Addie,
The JSON schema sample should only contain the schema for a single record structure. The purpose of the schema is to help you reference the fields for drag and drop in later steps. So in your case, you can use this for a schema:
{
"id": 0,
"first_name": "",
"last_name": "",
"email": "",
"location": "",
"employee_id": "",
"is_active": true,
"company_groups_ids": [ "", "" ]
}
The values don't have to be populated with real data, but the value defines the field type (e.g. "" for a text field, true or false for boolean, etc.)
Then you should see the fields specified in the schema in following steps to create new records:
Hope that helps!
------------------------------
Doug Henning
------------------------------
The JSON schema sample should only contain the schema for a single record structure. The purpose of the schema is to help you reference the fields for drag and drop in later steps. So in your case, you can use this for a schema:
{
"id": 0,
"first_name": "",
"last_name": "",
"email": "",
"location": "",
"employee_id": "",
"is_active": true,
"company_groups_ids": [ "", "" ]
}
The values don't have to be populated with real data, but the value defines the field type (e.g. "" for a text field, true or false for boolean, etc.)
Then you should see the fields specified in the schema in following steps to create new records:
Hope that helps!
------------------------------
Doug Henning
------------------------------
- AddieBrunson3 years agoQrew MemberHi Doug,
Thanks for the quick reply! I changed the schema with your recommendation, but still getting 1 record created that is completely blank. Below is what I'm getting when running the pipeline. The pipeline is also going idle after a few seconds...
------------------------------
Addie Brunson
------------------------------- DougHenning13 years agoCommunity ManagerForgot to mention you need to set the records path. The list of objects is in /results so put that in the JSON Records Path
------------------------------
Doug Henning
------------------------------