Skip to content
Privacy Requests
Guides
Completion Approval

Completion approval

Completion approval holds an erasure, update, or restrict-processing privacy request after all of its work has run, so that a reviewer can check the outcome and the exact email the requester will receive before the request closes. The reviewer either approves, which sends the email and closes the request, or sends manual tasks back for rework.

Completion approval is off by default. When it is off, Astralis still asks for one confirmation: the person who saves the last manual task on a request sees the requester email and confirms it before the request closes. See confirm the email on the final manual task.

Completion approval does not apply to access requests, or to policies that combine access rules with erasure. Those requests use access package review instead. Requests created by the California DROP integration are also not held for completion approval.

Check the prerequisites

Before you turn completion approval on:

  • Upgrade every webserver and worker first. Completion approval adds the awaiting_completion_approval request status. Older versions of Astralis cannot read that status, so a deployment that mixes old and new versions must not have the feature enabled.
  • Configure an email provider. The reviewer approves an email, so Astralis needs an email messaging provider. See the email configuration guide.
  • Enable a completion template for every outcome and locale you offer. The reviewer can choose between three outcomes, and each one uses its own message template:
OutcomeTemplate used
Fully completedThe standard completion template for the request type, such as Erasure request completed.
Partially completedErasure request partially completed for erasure requests; Privacy request partially completed for update and restrict-processing requests.
Not completedPrivacy request unable to be fulfilled.

If the template for the chosen outcome is missing or disabled for the requester's locale, the review card shows an error and the reviewer cannot approve. They can still send tasks back. Property-specific messaging keeps its existing rules for which templates a property uses.

Enable completion approval

You can turn completion approval on for the whole deployment, for individual policies, or both. A policy setting always takes precedence over the deployment default.

Set the deployment default

Set completion_approval_required in the [execution] section of fides.toml:

[execution]
completion_approval_required = true

Or set the equivalent environment variable on both the webserver and the workers:

FIDES__EXECUTION__COMPLETION_APPROVAL_REQUIRED=true

The default is false.

The deployment default is read from fides.toml or the environment only. It cannot be set through PATCH /api/v1/config: the config API accepts the request but ignores this key.

Override the default for one policy

Each policy can turn completion approval on, turn it off, or follow the deployment default.

In the UI. With DSR Policies (beta) (dsrPolicyWorkflows) enabled, open the policy, go to its Configuration tab, and find Completion approval on the Decide card. The switch shows the policy's current behavior, and the label beside it shows the deployment default. Changing the switch to a value that differs from the default saves an override; changing it back to match the default returns the policy to following the default. The switch only appears on policies that completion approval can apply to. See the policy builder guide for how to enable the flag.

Through the API. Send completion_approval_required on the policy with PATCH /api/v1/dsr/policy. Use true or false to override, or null to follow the deployment default:

[
  {
    "key": "example_org_erasure_policy",
    "name": "Example Org erasure policy",
    "completion_approval_required": true
  }
]

Omitting the field leaves the policy's current setting unchanged.

Review a request

When an eligible request finishes all of its automated and manual work, it moves to the Awaiting completion approval status instead of closing. Astralis emails every user who holds the privacy-request:review permission for the request's organization to say that a request is ready for completion approval.

The request's regulatory deadline keeps running while it waits for approval.

Reviewing requires the privacy-request:review permission, which the Approver role includes. Open the request from the Request Manager. The Completion approval card appears at the top of its details page.

The Completion approval card on a privacy request, listing manual task results, an Outcome field set to Fully completed, a preview of the email addressed to the requester, and the Approve and email requester and Send back buttons

The card shows:

  • Days remaining before the regulatory deadline, or how many days the request is overdue.
  • Skipped systems: any systems the automated run skipped.
  • Task results: each manual task, whether it was completed or includes skipped work, and the value entered for each field.
  • Outcome: what Astralis determined happened, as Fully completed, Partially completed, or Not completed.
  • Email preview: the template name, the recipient address, the subject, the locale, and the rendered body of the message the requester will receive.

Change the outcome

If the outcome does not match what actually happened, select a different one in Outcome. The email preview updates to the template for the new outcome.

  • When you choose an outcome other than the one Astralis determined, a Reason field appears and is required. The original outcome, the new outcome, and your reason are recorded in the request's audit log.
  • When Astralis could not determine an outcome, the Outcome field starts empty. Once you choose one, the Reason field appears and is required here too.

Approve and email the requester

  1. Check that the recipient address and the email content are correct.
  2. Select Approve and email requester.
  3. Read the confirmation, which names the recipient and the template, and select Send email.
The confirmation dialog titled Email the requester and close this request, naming the recipient address and the message template, with a preview of the email and the Send email button

Astralis sends the email exactly as previewed and closes the request. This cannot be undone. To verify, confirm in the Request Manager that the request has moved from Awaiting completion approval to the Complete status. If the recipient, template, or content changed after the preview loaded, the approval is refused and the card reloads the preview so that you can review the current message.

There is no option to deny a request at this stage, because its work has already run. Choose the outcome that describes what happened, then approve or send the work back.

Send tasks back for rework

If a manual task was done incorrectly:

  1. Select Send back.
  2. In Tasks to reopen, select one or more completed tasks.
  3. In Note to assignee, explain what needs to be redone. A note is required.
  4. Select Send back.
The Send back for rework dialog with a completed manual task selected under Tasks to reopen and a note to the assignee explaining what to recheck

Nothing is sent to the requester. The selected tasks reopen, the request returns to Requires Input, and the assignee sees your note with the task. Only the reopened tasks are repeated; integrations do not run again. When the reopened tasks are complete, the request comes back to Awaiting completion approval.

Use with manual erasure finalization

If your deployment also requires manual finalization for erasure requests (erasure_request_finalization_required), completion approval replaces that step for requests it applies to. The request is reviewed once, not twice.

Confirm the email on the final manual task

When completion approval is not required for a request, the request closes as soon as its last manual task is saved, and the requester is emailed. To make sure someone has seen that email first, Astralis shows it to the person saving the last task and asks them to confirm.

This confirmation is always on and needs no configuration. It applies to erasure, update, and restrict-processing requests, and appears whenever saving would finish the request's manual work and send the requester an email. It appears for each of these actions:

  • Complete on the last open task.
  • Skip on the last open task.
  • Skip remaining, when it covers every task still open on the request.
The dialog titled Complete the final task and email the requester, showing the template name, the recipient address, the subject, and the body of the email, with Cancel and Confirm buttons

Select Confirm to save the task, close the request, and send the email. Select Cancel to leave the task open.

The same confirmation appears for external users who complete or skip the last task in the external task portal.

If no email would be sent, for example because no email provider is configured, the requester has no email address, or the completion message is turned off, the task saves without the extra confirmation. If Astralis cannot load the email preview, the task stays open so that you can try again.

Integrate with the API

Save the final manual task

If you complete or skip manual tasks through the API, the call that finishes a request's manual work must carry the fingerprint of the email it will send. Without it, the call returns 409 Conflict:

{
  "detail": "This finishes the request and emails the requester. Review the email before saving."
}

To save the final task:

  1. Call the preview endpoint that matches the action. The response contains the email in message and a fingerprint.
  2. Send that value as completion_email_fingerprint on the save call.
ActionPreview endpointSave endpoint
Complete or skip one fieldPOST /api/v1/plus/privacy-request/{privacy_request_id}/completion-approval/manual-task/{manual_field_id}/previewPOST /api/v1/privacy-request/{privacy_request_id}/manual-field/{manual_field_id}/complete or .../skip
Skip all remaining fieldsPOST /api/v1/privacy-request/{privacy_request_id}/manual-fields/skip-remaining/previewPOST /api/v1/privacy-request/{privacy_request_id}/manual-fields/skip-remaining

The single-field preview takes the values you are about to save:

{
  "field_value": "Deleted the billing record",
  "skipped": false,
  "comment": null
}

The preview returns null when saving would not finish the request or would not send an email. In that case, save without a fingerprint. The server checks the fingerprint again at save time, so a call is also refused with 409 if the email changed after you previewed it. Request a new preview and retry.

For the complete and skip endpoints, completion_email_fingerprint is a form field. For skip-remaining, it is a property of the JSON body. All of these endpoints require the privacy-request:manual-steps:respond permission.

Review through the API

The reviewer actions are also available as endpoints, each requiring the privacy-request:review permission:

EndpointPurpose
GET /api/v1/plus/privacy-request/{privacy_request_id}/completion-approvalReturns the task results, outcome, days remaining, email, and fingerprint. Pass outcome (full, partial, or none) as a query parameter to preview the email for a different outcome.
POST /api/v1/plus/privacy-request/{privacy_request_id}/completion-approval/approveApproves and sends the email. The body takes outcome, fingerprint, and reason, which is required whenever outcome differs from the outcome Astralis determined, including when it could not determine one.
POST /api/v1/plus/privacy-request/{privacy_request_id}/completion-approval/send-backReopens completed tasks. The body takes task_ids and note.
{
  "outcome": "partial",
  "reason": "The CRM record could not be deleted because of a legal hold.",
  "fingerprint": "<fingerprint from the preview>"
}

These endpoints return 409 Conflict when the request is not awaiting completion approval, when the fingerprint no longer matches the current email, or when the input is not valid.