I’m using DeepL to translate documents, but some translations can take a minute or longer. DeepL provides a document translation status endpoint that you can call to check if an error occurred or if the document is still being translated: https://api-free.deepl.com/v2/document/{{document_id}}.
You could even use more than one, if you have a Make subscription (free tier max 5 minutes per scenario run).
Method 2 — difficulty level: ???
This other method allows you to check multiple times at shorter intervals, because you “throw” an error to break from the repeater and end the scenario when successful/completed.