Say it clearly. Keep it simple.
Past events must preserve their sequence. Plusquamperfekt can mark an earlier completed event before a later event. Temporal accuracy is part of clear language.
Spot the clue
War marks the earlier completed passive event.
Nachdem das Gespräch beendet worden war, schrieb sie den Bericht.
Aha! See the common trap
Try thisNachdem das Gespräch beendet worden war, schrieb sie den Bericht.
Do not change which event happened first during sentence transformations.
More examples, less guessing
Nachdem das Gespräch beendet worden war, schrieb sie den Bericht.After the conversation had ended, she wrote the report.