The mapping and configuration of your Google Sheet is setup via a JSON config file. This JSON content can be added to your Worksheet as a new sheet labeled "Config".
Our system will then pull in this configuration when processing your sheet.
Example Configuration (Basic)
{
"should_run":"Build Page",
"project_name":"Your Project Name",
"error_writer":"Errors"
"business_id":555555,
"sites":[
{
"mapping":{
"base_directory":"Page Path",
"partner_site_id":"Landing Page ID"
},
"overrides":{
"published":true,
"formatted_domain":"landingpages.yourdomain.com",
"theme_id":1234,
"noindex":true
},
"writers":{
"Preview URL":"preview_url",
"Published URL":"formatted_url"
}
}
]
}
Option
​
Required
should_run
Name of the field within your sheet that denotes that the row should be processed.
Yes
project_name
Name of your project
Yes
error_writer
Field to write any processing or validation errors into
No
Custom Fields
You can easily map custom fields on your sheet with your project, using the "custom_fields" filter.
This filter just contains a list of the field names on your sheet you would like to map