document_state_changed event → with the "status": "document.draft".document_state_changed event → "status": "document.sent"document_state_changed event → "status": "document.sent"document_state_changed event → with the "status":"document.viewed"recipient_completed event → "status": "document.viewed" → this event has action_by that we should check.document_state_changed event → "status":"document.viewed"document_state_changed event is received → with the "status": "document.completed""event": "recipient_completed" → "status": "document.completed" → action_byNote: Maybe events 6 and 7 can be switched to the order.
Creation of document triggers document_state_changed event → with the "status": "document.draft"
We need to send the document after that we trigger document_state_changed event → "status": "document.sent"
When the applicant opens the document the webhook received document_state_changed event → with the "status":"document.viewed"
If the document is updated and it is not finished yet:
"event": "document_updated" → "status": "document.draft""event": "document_state_changed" → "status": "document.draft"The document is not available for the signers

Note: After of send again the document.
document_state_changed event → "status": "document.sent"recipient_completed event → "status": "document.viewed" → this event has action_by that we should check.document_state_changed event is received → with the "status": "document.completed"If the document is deleted (send to trash) "event": "document_deleted" → "status": "document.declined"
Note: but if we restore it, we don’t receive any trigger.
"event": "document_state_changed" → "status": "document.declined"

For document_state_changed event
Pending investigation and test.For document_updated event
For recipient_completed event
For document_deleted event
For document_creation_failed event
Monitoring?