Mandatory documents
Events: checklist.mandatory_document, talk.mandatory_document, training.mandatory_document,
evaluation.mandatory_document.
One notice is sent per user each time the user completes a document that is mandatory for them in a work center, according to the company's mandatory documentation configuration. Each notice includes the completed document and the status of every mandatory document of that user in that work center.
When it is sent
A user completes a mandatory document when both of these are true:
- The document is mandatory for the user in the work center.
- The document is finished and the user took part in it within the required period:
| Event | Finished means |
|---|---|
checklist.mandatory_document | The checklist is closed and the user signed it as receiver |
talk.mandatory_document | The talk is closed and the user signed it as receiver |
training.mandatory_document | The training is closed and the user signed it as receiver |
evaluation.mandatory_document | The user finished the evaluation, whether they passed or failed |
- Closing and signing can happen in either order. The notice is sent when the second one happens.
- A checklist that is reopened and closed again sends a new notice.
- Editing a document that was already completed sends nothing.
- The outcome travels in
validated_document.status, not in the event name. Only evaluations can befailed.
Example
{
"event": "talk.mandatory_document",
"user": {
"user_id": 1001,
"name": "Example Worker",
"email": "worker@example.com",
"position": "Example Position",
"branch_id": 10,
"branch": "Example Work Center"
},
"validated_document": {
"type": "talk",
"base_template": { "id": 200, "name": "Example Talk" },
"title": "Example Talk",
"status": "completed",
"frequency": "daily",
"completed_at": "2026-11-05T08:42:10-03:00"
},
"assigned_documents": [
{
"type": "talk",
"base_template": { "id": 200, "name": "Example Talk" },
"title": "Example Talk",
"status": "completed",
"frequency": "daily",
"completed_at": "2026-11-05T08:42:10-03:00"
},
{
"type": "checklist",
"base_template": { "id": 300, "name": "Example Checklist" },
"title": "Example Checklist",
"status": "pending",
"frequency": "weekly"
}
]
}
Fields
| Field | Description |
|---|---|
event | The event name |
user.user_id | Tazki user id |
user.name | Full name |
user.email | Email, or null |
user.position | Position name, or null |
user.branch_id, user.branch | Work center where the document was completed |
validated_document | The document that was just completed (see Document) |
assigned_documents | Every mandatory document of the user in that work center only, including validated_document |
Document
| Field | Description |
|---|---|
type | checklist, talk, training or evaluation |
base_template.id, base_template.name | The template the document is created from |
title | Name of the document: the latest completed one for a completed document, otherwise the latest one, or the template name if there is none |
status | completed, pending, or failed (evaluations only, when the latest finished attempt failed) |
frequency | How often the user must complete it: none, daily, every_two_days, every_three_days, weekly, biweekly, monthly, bimonthly, quarterly, semiannual, yearly, first_day_of_month, expired, or null when the configured value is unknown |
completed_at | When the document became complete for the user: the later of the close and the user's signature (for evaluations, when it was finished). Only present when status is completed or failed |
Handling duplicates
event, user.user_id, user.branch_id, validated_document.base_template.id and
validated_document.completed_at together identify a notice.