generate_document
Generate branded talent documents like assessment reports, executive profiles, or shortlists from candidate text. Submit source text and template, then poll for the completed document.
Instructions
Generate a branded, personalized talent document from candidate text. Works for any document type returned by list_document_types — assessment reports, executive profiles, shortlists, proposals, etc. Returns a record_id; poll check_status until the document is ready to download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_text | Yes | The candidate's CV text, profile, or source content to format. Plain text. | |
| template_id | Yes | Template id from `list_document_types`. | |
| output_format | No | Output file format. Default docx. | docx |
| template_type | Yes | The template's type, as shown by `list_document_types`. | |
| candidate_name | No | Candidate display name used in the file/output. Optional. |