Get or save the user's answers
freeapply_manage_answersRetrieve and save a user's own answers to job application form questions, so repeated questions can be filled without guessing. Use saved answers as facts for future forms and letters.
Instructions
Gets or saves the user's own answers to specific form questions, so you never guess one (general details: freeapply_get_settings). A new question for the user goes through freeapply_update_job status needs_info instead. Use: get before retrying a job the user re-queued from the Needs you tab; save when the user answers a question in this conversation, for later forms. Save only the user's own words: saved answers count as facts in freeapply_check_text. Behavior: get is read-only. save replaces the answer saved under the same question; an empty answer removes it. Returns: get {job_id, answers: [{label, answer}] the user gave for this job, saved_answers: {question: reusable answer}, cover_letter: the job's saved letter {path, text} (text: for a text-box letter field) or null}. save {label, saved, removed, saved_answers}. Errors: get without job_id or with an unknown one; save without label; an action other than get or save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Required for save: the question as forms word it, e.g. "Are you willing to relocate?". | |
| action | Yes | get (read-only): a job's answers and saved letter; save (writes): one reusable answer the user just gave. | |
| answer | No | For save: the user's own words; empty removes the saved answer. | |
| job_id | No | Required for get. |