How do I use CSVs for my placeholders and templates?
You can bulk import placeholders and templates to your projects using CSVs.
CSVs can be created by hand or using a spreadsheet application and will need to include the header row in following format:
Placeholders
Header Row
key,value
Fields
key The placeholder name.
value The placeholder value in plain text, markdown, or html.
Sample CSV
Templates
Header Row
name,template,template_format,output_format,max_length
Fields
name The template name.
template The template in plain text, markdown, or html.
template_format The template format as one of plain
, markdown
, or html
. Defaults to plain
.
output_format The intended format the generated copy should be in as one of plain
, markdown
, html
, or rich
. Default to plain
.
max_length The soft maximum length of the generated copy if known. This will not truncate the copy and will be used for length validation in the template editor.